From a55016fb568ab2e645dfae9c68c95af5b3d2fa85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20St=C3=A4hlin?= Date: Sat, 4 Apr 2020 20:58:29 +0200 Subject: [PATCH] We're in term 51 now --- scraper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper.rb b/scraper.rb index 381086a..8defc5e 100644 --- a/scraper.rb +++ b/scraper.rb @@ -47,7 +47,7 @@ def gender_from(str) end def scrape_term(t) - return if t[:id] > 50 # or if the term start date is in the future + return if t[:id] > 51 # or if the term start date is in the future base = "http://ws-old.parlament.ch/councillors/historic?legislativePeriodFromFilter=#{t[:id]}&format=json&pageNumber=%d" page = 0