Skip to content

Commit

Permalink
Initial scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed Apr 11, 2017
1 parent 539f5fb commit e8225e8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scraper.rb
@@ -0,0 +1,9 @@
require 'everypolitician'
require 'wikidata/fetcher'

en = WikiData::Category.new( "Category:Members of the People's Council of Syria", 'en').member_titles |
WikiData::Category.new( "Category:Speakers of the People's Council of Syria", 'en').member_titles
ar = WikiData::Category.new( 'مساعدة تصنيف:أعضاء مجلس الشعب السوري', 'ar').member_titles

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

0 comments on commit e8225e8

Please sign in to comment.