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 field_serializer 0.3.0  Installing ast 2.4.0  Fetching httpclient 2.8.3  Fetching jaro_winkler 1.5.2  Installing jaro_winkler 1.5.2 with native extensions  Installing unf_ext 0.0.7.5 with native extensions  Installing httpclient 2.8.3  Fetching mime-types-data 3.2018.0812  Installing mime-types-data 3.2018.0812  Fetching mini_portile2 2.4.0  Installing mini_portile2 2.4.0  Fetching netrc 0.11.0  Installing netrc 0.11.0  Fetching parallel 1.14.0  Installing parallel 1.14.0  Fetching powerpack 0.1.2  Installing powerpack 0.1.2  Fetching psych 3.1.0  Installing psych 3.1.0 with native extensions  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.1  Installing unicode-display_width 1.4.1  Fetching sqlite3 1.4.0  Installing sqlite3 1.4.0 with native extensions  Fetching parser 2.6.0.0  Installing parser 2.6.0.0  Fetching mime-types 3.2.2  Installing mime-types 3.2.2  Fetching nokogiri 1.10.1  Installing nokogiri 1.10.1 with native extensions  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching rubocop 0.65.0  Installing rubocop 0.65.0  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, 28 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (28.73s)  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/open-uri.rb:363:in `open_http': 403 Forbidden (OpenURI::HTTPError) 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 1428 times by everypolitician

To download data sign in with GitHub

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

rows 10 / 70

id name position_id position label start_date end_date ordinal
Q629702
Leonid Kuchma
Q629702-a10e4e62-4b36-bd40-def9-2ba94aa6a6ec
Q1145714
Prime Minister of Ukraine
1992-10-13
1993-09-22
2
Q4245525
Oleksandr Kuzmuk
Q4245525-6433284B-ACDE-4580-894B-E5BEF5F4DBEB
Q33006385
Minister of Defence
0
Q4525616
Valeriy Shmarov
Q4525616-E3B45D2F-85EB-4590-9F7D-950965752A24
Q33006385
Minister of Defence
0
Q2589861
Stepan Kubiv
Q2589861-87327f4d-4251-7eb3-4aa9-743b4a1831e3
Q16147568
First Deputy Prime Minister of Ukraine
2016-04-14
0
Q4352142
Hennadiy Zubko
Q4352142-d65739cf-46a6-1ae3-8ab0-0fc3c30a1fa0
Q53675481
Minister of Regional Development
2016-04-14
0
Q3527712
Liliia Hrynevych
Q3527712-9a2d2504-4c9e-a260-fd75-a0a46d06b2ec
Q53678183
Minister of Education and Science
2016-04-14
0
Q1000061
Valentyn Symonenko
Q1000061-3E309F35-1F20-4354-9BC2-DC1BF5568FBA
Q16147568
First Deputy Prime Minister of Ukraine
1992-07
1992-10
0
Q1000061
Valentyn Symonenko
Q1000061-c74bd42a-4a63-3a12-14aa-2c3aa4f81fef
Q1145714
Prime Minister of Ukraine
1992-10-02
1992-10-13
0
Q894312
Borys Tarasyuk
Q894312-ab639870-42ec-9986-5456-bfb1fd76a7a1
Q6866156
Minister of Foreign Affairs
2005-02-04
2007-01-30
0
Q488211
Anatoliy Hrytsenko
Q488211-419B34E0-BDD2-42EB-A680-52B52DFE12ED
Q33006385
Minister of Defence
0

Statistics

Average successful run time: less than a minute

Total run time: about 15 hours

Total cpu time used: about 1 hour

Total disk space used: 161 KB

History

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

Show complete history

Scraper code

Ruby

ukraine-positions / scraper.rb