Skip to content

Commit

Permalink
Process in batches of 250
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed Dec 17, 2016
1 parent f72e981 commit 7e51d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -6,4 +6,4 @@

# existing = EveryPolitician::Index.new.country("Germany").lower_house.popolo.persons.map(&:wikidata).compact
names = EveryPolitician::Wikidata.morph_wikinames(source: 'tmtmtmtm/germany-bundestag-members-wikipedia', column: 'wikiname')
EveryPolitician::Wikidata.scrape_wikidata(names: { de: names }, batch_size: 500)
EveryPolitician::Wikidata.scrape_wikidata(names: { de: names }, batch_size: 250)

0 comments on commit 7e51d54

Please sign in to comment.