Contributors tmtmtmtm

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.3.3 -----> Installing dependencies using bundler 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Fetching gem metadata from https://rubygems.org/.........  Fetching version metadata from https://rubygems.org/..  Fetching dependency metadata from https://rubygems.org/.  Fetching https://github.com/everypolitician/everypolitician-ruby.git  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Fetching https://github.com/everypolitician/wikidata-area.git  Fetching https://github.com/everypolitician/wikidata-fetcher.git  Fetching https://github.com/everypolitician/wikisnakker.git  Fetching rake 12.0.0  Fetching ast 2.3.0  Using bundler 1.15.2  Fetching coderay 1.1.0  Installing rake 12.0.0  Installing ast 2.3.0  Installing coderay 1.1.0  Fetching colorize 0.8.1  Fetching diskcached 1.1.2  Fetching unf_ext 0.0.7.2  Installing colorize 0.8.1  Fetching everypolitician-popolo 0.6.1  Installing everypolitician-popolo 0.6.1  Fetching excon 0.54.0  Installing diskcached 1.1.2  Fetching multipart-post 2.0.0  Installing excon 0.54.0  Installing multipart-post 2.0.0  Fetching hashie 3.4.6  Installing unf_ext 0.0.7.2 with native extensions  Installing hashie 3.4.6  Fetching httpclient 2.6.0.1  Fetching json 2.0.2  Installing httpclient 2.6.0.1  Installing json 2.0.2 with native extensions  Fetching method_source 0.8.2  Installing method_source 0.8.2  Fetching mime-types-data 3.2016.0521  Installing mime-types-data 3.2016.0521  Fetching mini_portile2 2.1.0  Installing mini_portile2 2.1.0  Fetching netrc 0.11.0  Installing netrc 0.11.0  Fetching powerpack 0.1.1  Installing powerpack 0.1.1  Fetching slop 3.6.0  Installing slop 3.6.0  Fetching rainbow 2.1.0  Installing rainbow 2.1.0  Fetching require_all 1.3.3  Installing require_all 1.3.3  Fetching ruby-progressbar 1.8.1  Installing ruby-progressbar 1.8.1  Fetching unicode-display_width 1.1.2  Installing unicode-display_width 1.1.2  Fetching sqlite3 1.3.10  Installing sqlite3 1.3.10 with native extensions  Using wikidata-area 0.1.0 from https://github.com/everypolitician/wikidata-area.git (at master@bc24d54)  Using wikisnakker 0.7.0 from https://github.com/everypolitician/wikisnakker.git (at master@cc55a4f)  Fetching parser 2.3.3.1  Using everypolitician 0.18.0 from https://github.com/everypolitician/everypolitician-ruby.git (at master@fca557a)  Fetching faraday 0.10.0  Fetching mime-types 3.1  Installing faraday 0.10.0  Installing mime-types 3.1  Fetching nokogiri 1.6.8.1  Fetching pry 0.10.1  Installing parser 2.3.3.1  Installing pry 0.10.1  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching sqlite_magic 0.0.3  Fetching faraday_middleware 0.10.1  Installing faraday_middleware 0.10.1  Fetching domain_name 0.5.20161129  Installing sqlite_magic 0.0.3  Fetching rubocop 0.46.0  Installing domain_name 0.5.20161129  Installing rubocop 0.46.0  Fetching wikidata-client 0.0.10  Installing nokogiri 1.6.8.1 with native extensions  Installing wikidata-client 0.0.10  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Fetching http-cookie 1.0.3  Installing http-cookie 1.0.3  Fetching faraday-cookie_jar 0.0.6  Installing faraday-cookie_jar 0.0.6  Fetching rest-client 2.0.0  Fetching mediawiki_api 0.7.0  Installing rest-client 2.0.0  Installing mediawiki_api 0.7.0  Using wikidata-fetcher 0.19.0 from https://github.com/everypolitician/wikidata-fetcher.git (at master@c637425)  Bundle complete! 8 Gemfile dependencies, 44 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (30.63s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikidata-fetcher-c637425ac878/lib/wikidata.rb:51:in `rescue in sparql': Wikidata query SELECT DISTINCT ?item (RuntimeError) WHERE { ?item wdt:P31/wdt:P279* wd:Q192611 . ?item wdt:P17 wd:Q191 . } failed: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed from /app/vendor/bundle/ruby/2.3.0/bundler/gems/wikidata-fetcher-c637425ac878/lib/wikidata.rb:47:in `sparql' from scraper.rb:19:in `<main>'

Data

Downloaded 1427 times by everypolitician

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (10 KB) Use the API

rows 10 / 23

id type name__fr name__et name__en start_date name__ur name__de name__fi name__sv name__de_ch name__en_ca name__en_gb name__es name__uk name__be_tarask name__ru name__be name__it name__nl name__zh name__lv name__ast name__hu name__ca name__ja name__ro name__mt
Q2301260
abbey
abbaye Sainte-Brigitte
Pirita klooster
Pirita Convent
Piritan luostari
Birgittaklostret
Convento de Pirita
Кляштар сьвятой Біргіты
Монастырь Святой Биргитты
Кляштар Святой Брыгіты
convento di Santa Brigida
Piritaklooster
皮里塔修道院
Piritas klosteris
Q1435315
abbey
abbaye de Padis
Padise klooster
Padise Abbey
Kloster Padise
Padisten luostari
Padis kloster
Kloster Padise
Padise Abbey
Padise Abbey
abadía de Padise
Монастир Падізе
Padizes klosteris
Q3025278
electoral district
Deuxième circonscription législative d'Estonie
Valimisringkond nr 2
Electoral District 2 (Kesklinn, Lasnamäe and Pirita)
Q3032626
electoral district
Dixième circonscription législative d'Estonie
Valimisringkond nr 10
Electoral District 10 (Tartu)
circumscripció 10
Q3038253
electoral district
Douzième circonscription législative d'Estonie
Valimisringkond nr 12
Electoral District 12 (Pärnumaa)
Q3142965
electoral district
Huitième circonscription législative d'Estonie
Valimisringkond nr 8
Electoral District 8 (Järva- and Viljandimaa)
vuitè districte electoral del Riigikogu
Q3338787
electoral district
Neuvième circonscription législative d'Estonie
Valimisringkond nr 9
Electoral District 9 (Jõgeva- and Tartumaa)
Q3352911
electoral district
Onzième circonscription législative d'Estonie
Valimisringkond nr 11
Electoral District 11 (Võru-, Valga- and Põlvamaa)
circumscripția electorală nr. 11 (Võru-, Valga- și Põlvamaa)
Distrett Elettorali 11 (Võru-, Valga- u Põlvamaa)
Q3402163
electoral district
Première circonscription législative d'Estonie
Valimisringkond nr 1
Electoral District 1 (Haabersti, Põhja-Tallinn and Kristiine)
Q3413626
electoral district
Quatrième circonscription législative d'Estonie
Valimisringkond nr 4
Electoral District 4 (Harju- and Raplamaa)
distritu eleutoral 4

Statistics

Average successful run time: 1 minute

Total run time: 1 day

Total cpu time used: 44 minutes

Total disk space used: 38.3 KB

History

  • Auto ran revision 9be054f4 and failed .
    nothing changed in the database
  • Auto ran revision 9be054f4 and failed .
    nothing changed in the database
  • Auto ran revision 9be054f4 and failed .
    nothing changed in the database
  • Auto ran revision 9be054f4 and failed .
    nothing changed in the database
  • Auto ran revision 9be054f4 and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

estonia-constituencies / scraper.rb