Skip to content

Commit

Permalink
Initial scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed Mar 28, 2016
1 parent 326887e commit 73555c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scraper.rb
@@ -0,0 +1,8 @@
#!/bin/env ruby
# encoding: utf-8

require 'wikidata/fetcher'

en_names = WikiData::Category.new( 'Category:Members of the Chamber of Deputies of Uruguay', 'en').member_titles
es_names = WikiData::Category.new( 'Categoría:Diputados de Uruguay', 'es').member_titles
EveryPolitician::Wikidata.scrape_wikidata(names: { es: es_name, en: en_names }, output: false)

0 comments on commit 73555c2

Please sign in to comment.