Skip to content

Commit

Permalink
Initial scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed Apr 29, 2017
1 parent ec98515 commit 949775d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scraper.rb
@@ -0,0 +1,10 @@
#!/bin/env ruby
# encoding: utf-8

require 'wikidata/fetcher'

en = WikiData::Category.new( 'Category:Libyan politicians', 'en').member_titles
fr = WikiData::Category.new( 'Catégorie:Personnalité politique libyenne', 'fr').member_titles
ar = WikiData::Category.new( 'مساعدة تصنيف:سياسيون ليبيون', 'ar').member_titles

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

0 comments on commit 949775d

Please sign in to comment.