Skip to content

Commit

Permalink
Initial scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed Mar 3, 2017
1 parent 92284cb commit 92e02e8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scraper.rb
@@ -0,0 +1,13 @@
#!/bin/env ruby
# encoding: utf-8

require 'wikidata/fetcher'

en = WikiData::Category.new('Category:Omani politicians', 'en').member_titles |
WikiData::Category.new('Category:Omani women in politics', 'en').member_titles |
WikiData::Category.new('Category:Government ministers of Oman', 'en').member_titles |
WikiData::Category.new('Category:Foreign ministers of Oman', 'en').member_titles |
WikiData::Category.new('Category:Members of the Consultative Assembly of Oman', 'en').member_titles

EveryPolitician::Wikidata.scrape_wikidata(names: { en: en })

0 comments on commit 92e02e8

Please sign in to comment.