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.4.4 -----> Installing dependencies using bundler 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.5). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.  Fetching gem metadata from https://rubygems.org/.........  Fetching version metadata from https://rubygems.org/.  Fetching https://github.com/everypolitician/scraped.git  Fetching https://github.com/openc/sqlite_magic.git  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Fetching ast 2.4.0  Using bundler 1.15.2  Fetching unf_ext 0.0.7.5  Fetching field_serializer 0.3.0  Installing ast 2.4.0  Installing field_serializer 0.3.0  Fetching httpclient 2.8.3  Fetching jaro_winkler 1.5.1  Installing unf_ext 0.0.7.5 with native extensions  Installing httpclient 2.8.3  Fetching mime-types-data 3.2018.0812  Installing jaro_winkler 1.5.1 with native extensions  Installing mime-types-data 3.2018.0812  Fetching mini_portile2 2.3.0  Installing mini_portile2 2.3.0  Fetching netrc 0.11.0  Installing netrc 0.11.0  Fetching parallel 1.12.1  Installing parallel 1.12.1  Fetching powerpack 0.1.2  Installing powerpack 0.1.2  Fetching rainbow 3.0.0  Installing rainbow 3.0.0  Fetching require_all 2.0.0  Installing require_all 2.0.0  Fetching ruby-progressbar 1.10.0  Installing ruby-progressbar 1.10.0  Fetching unicode-display_width 1.4.0  Installing unicode-display_width 1.4.0  Fetching sqlite3 1.3.13  Installing sqlite3 1.3.13 with native extensions  Fetching parser 2.5.1.2  Installing parser 2.5.1.2  Fetching mime-types 3.2.2  Installing mime-types 3.2.2  Fetching nokogiri 1.8.5  Installing nokogiri 1.8.5 with native extensions  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching rubocop 0.59.2  Installing rubocop 0.59.2  Fetching domain_name 0.5.20180417  Installing domain_name 0.5.20180417  Fetching http-cookie 1.0.3  Installing http-cookie 1.0.3  Fetching rest-client 2.0.2  Installing rest-client 2.0.2  Using sqlite_magic 0.0.6 from https://github.com/openc/sqlite_magic.git (at master@4df975e)  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Using scraped 0.6.2 from https://github.com/everypolitician/scraped.git (at scraper-class@ecb23ad)  Bundle complete! 6 Gemfile dependencies, 27 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (27.62s)  Cleaning up the bundler cache.  Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.5). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/net/protocol.rb:44:in `connect_nonblock': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/net/protocol.rb:44:in `ssl_socket_connect' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/net/http.rb:948:in `connect' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/net/http.rb:887:in `do_start' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/net/http.rb:876:in `start' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:323:in `open_http' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:741:in `buffer_open' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:212:in `block in open_loop' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:210:in `catch' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:210:in `open_loop' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:151:in `open_uri' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:721:in `open' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:35:in `open' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request/strategy/live_request.rb:10:in `response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:29:in `block in first_successful_response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `first' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `first_successful_response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:13:in `response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/scraper.rb:15:in `scraper' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/scraper.rb:8:in `store' from scraper.rb:8:in `<main>'

Data

Downloaded 1371 times by everypolitician ibenskar

To download data sign in with GitHub

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

rows 10 / 163

id name position_id position label start_date end_date ordinal
Q19003460
Sorin Grindeanu
Q19003460-187dc1da-4ae8-f58b-a07a-94a13cf35fad
Q15304810
Prime Minister of Romania
2017-01-04
2017-06-29
0
Q1119350
Petre S. Aurelian
Q1119350-7E34531B-4A6F-468F-8FC7-D3D5D3B4AF7C
Q15304810
Prime Minister of Romania
0
Q539251
Lascăr Catargiu
Q539251-59E84E4D-6753-4E4B-BBF7-1AB7A9BA47EA
Q15304810
Prime Minister of Romania
0
Q342564
Titu Maiorescu
Q342564-F57838CD-0B3F-429A-9192-92766496578A
Q15304810
Prime Minister of Romania
1912-01-01
1913-01-01
0
Q2138565
Nicolae Crețulescu
Q2138565-FFA46BF2-7884-4C32-8B9B-81ABCCC19323
Q15304810
Prime Minister of Romania
0
Q1827000
Dimitrie Brătianu
Q1827000-5CA94680-D19A-4C52-992E-CE7DAE9D3C10
Q15304810
Prime Minister of Romania
1881-01-01
1881-01-01
0
Q1243658
Take Ionescu
Q1243658-FCBDACEF-1F44-4D0F-831C-A3FD8ABF862D
Q15304810
Prime Minister of Romania
0
Q927758
Gheorghe Mironescu
Q927758-596F9870-8966-4B36-A790-D32629550360
Q15304810
Prime Minister of Romania
1930-01-01
1930-01-01
0
Q711113
Ion Emanuel Florescu
Q711113-A68FD40C-D996-462F-BF53-E3C93F2CDCCA
Q15304810
Prime Minister of Romania
0
Q153047
Ion C. Brătianu
Q153047-AC584E05-B8A7-4699-A1C4-5D4AC6387C67
Q15304810
Prime Minister of Romania
0

Statistics

Average successful run time: less than a minute

Total run time: 1 day

Total cpu time used: about 1 hour

Total disk space used: 189 KB

History

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

Show complete history

Scraper code

Ruby

romania-positions / scraper.rb