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 9597f26 commit 9d626e6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scraper.rb
@@ -0,0 +1,11 @@
#!/bin/env ruby
# encoding: utf-8

require 'wikidata/fetcher'

en = WikiData::Category.new('Category:Somalian politicians', 'en').member_titles |
WikiData::Category.new('Category:Members of the Parliament of Somalia', 'en').member_titles |
WikiData::Category.new('Category:Somalian politician stubs', 'en').member_titles

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

0 comments on commit 9d626e6

Please sign in to comment.