Closed octopusinvitro closed 7 years ago
@tmtmtmtm what's the error, could you copy paste it please. Sounds like it could potentially be an easy fix
sqlite3-1.3.11/lib/sqlite3/database.rb:91:in `initialize': near "world": syntax error (SQLite3::SQLException)
(you can test this by running that scraper yourself locally with the Gemfile changed to point at this branch)
This version failed quite nastily when the site name was something like My World@Mail.Ru
. Superseded by https://github.com/everypolitician/wikidata-fetcher/pull/51
This PR allows website user names (like those for services like Facebook, Flickr, YouTube, etc.) that are read from a person's Wikidata page to be stored in the Popolo file as identifiers.
In our way there, we also refactored some smelly code and simplified complex methods
Notes to reviewer:
rescue
just in case.Closes https://github.com/everypolitician/everypolitician/issues/519