Skip to content

Commit

Permalink
Fix URL of previous term
Browse files Browse the repository at this point in the history
This was renamed when the new term started
  • Loading branch information
tmtmtmtm committed May 1, 2017
1 parent c24ba79 commit 19ad786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
)

en_2015 = EveryPolitician::Wikidata.wikipedia_xpath(
url: 'https://en.wikipedia.org/wiki/List_of_members_of_Croatian_Parliament,_2015–',
url: 'https://en.wikipedia.org/wiki/List_of_members_of_Croatian_Parliament,_2015–16',
after: '//span[@id="MPs_by_party"]',
xpath: '//table[.//th[.="Name"]]//td[position() = last() - 1]//a[not(@class="new")]/@title'
)
Expand Down

0 comments on commit 19ad786

Please sign in to comment.