Skip to content

Commit

Permalink
Also scrape Premiers and Speakers
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed Jan 16, 2017
1 parent 4a9b65f commit 403f30f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scraper.rb
Expand Up @@ -4,5 +4,8 @@

require 'wikidata/fetcher'

names = WikiData::Category.new('Category:Members of the House of Assembly of Bermuda', 'en').member_titles
EveryPolitician::Wikidata.scrape_wikidata(names: { en: names })
members = WikiData::Category.new('Category:Members of the House of Assembly of Bermuda', 'en').member_titles
premiers = WikiData::Category.new('Category:Premiers of Bermuda', 'en').member_titles
speakers = WikiData::Category.new('Category:Speakers of the House of Assembly of Bermuda', 'en').member_titles

EveryPolitician::Wikidata.scrape_wikidata(names: { en: members | premiers | speakers })

0 comments on commit 403f30f

Please sign in to comment.