Skip to content

Commit

Permalink
Add some debugging
Browse files Browse the repository at this point in the history
Morph is failing to find people, so let's see what's going on
  • Loading branch information
tmtmtmtm committed May 23, 2017
1 parent 5a086b5 commit c24a338
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scraper.rb
Expand Up @@ -28,5 +28,7 @@
EOS
p39s = EveryPolitician::Wikidata.sparql(query)

warn p39s

names = pages.map { |c| WikiData::Category.new(c, 'es').member_titles }.flatten.uniq
EveryPolitician::Wikidata.scrape_wikidata(p39s: p39s, names: { es: names })

0 comments on commit c24a338

Please sign in to comment.