Skip to content

Commit

Permalink
also scrape Arabic categories
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed Mar 3, 2017
1 parent 92e02e8 commit 7adb672
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scraper.rb
Expand Up @@ -9,5 +9,8 @@
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 })
ar = WikiData::Category.new('تصنيف:سياسيون عمانيون', 'ar').member_titles |
WikiData::Category.new('تصنيف:وزراء عمانيون', 'ar').member_titles

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

0 comments on commit 7adb672

Please sign in to comment.