everypolitician-scrapers / russia-duma

https://morph.io/tmtmtmtm/russia-duma


This is a scraper that runs on Morph. To get started see the documentation

Contributors octopusinvitro tmtmtmtm

Last run failed with status code 255.

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.3.1 -----> 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/scraped_page_archive  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Fetching public_suffix 2.0.4  Using bundler 1.15.2  Fetching coderay 1.1.0  Fetching colorize 0.7.7  Installing colorize 0.7.7  Installing public_suffix 2.0.4  Fetching safe_yaml 1.0.4  Installing coderay 1.1.0  Fetching excon 0.45.4  Fetching execjs 2.5.2  Installing excon 0.45.4  Installing execjs 2.5.2  Fetching multipart-post 2.0.0  Installing safe_yaml 1.0.4  Fetching fuzzy_match 2.1.0  Fetching git 1.3.0  Installing multipart-post 2.0.0  Fetching hashdiff 0.3.1  Installing hashdiff 0.3.1  Installing fuzzy_match 2.1.0  Installing git 1.3.0  Fetching hashie 3.4.2  Installing hashie 3.4.2  Fetching httpclient 2.6.0.1  Fetching method_source 0.8.2  Installing method_source 0.8.2  Fetching mini_portile 0.6.2  Fetching open-uri-cached 0.0.5  Installing httpclient 2.6.0.1  Installing mini_portile 0.6.2  Installing open-uri-cached 0.0.5  Fetching slop 3.6.0  Fetching vcr 3.0.3  Installing slop 3.6.0  Fetching sqlite3 1.3.10  Installing sqlite3 1.3.10 with native extensions  Installing vcr 3.0.3  Fetching addressable 2.5.0  Installing addressable 2.5.0  Fetching crack 0.4.3  Fetching faraday 0.9.1  Installing faraday 0.9.1  Installing crack 0.4.3  Fetching nokogiri 1.6.6.2  Fetching pry 0.10.1  Installing pry 0.10.1  Fetching faraday_middleware 0.10.0  Installing faraday_middleware 0.10.0  Fetching webmock 2.0.3  Installing webmock 2.0.3  Installing nokogiri 1.6.6.2 with native extensions  Fetching wikidata-client 0.0.7  Installing wikidata-client 0.0.7  Fetching vcr-archive 0.3.0  Installing vcr-archive 0.3.0  Using scraped_page_archive 0.5.0 from https://github.com/everypolitician/scraped_page_archive (at master@28f93d7)  Fetching sqlite_magic 0.0.3  Installing sqlite_magic 0.0.3  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Bundle complete! 9 Gemfile dependencies, 31 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Post-install message from webmock:  WebMock 2.0 has some breaking changes. Please check the CHANGELOG: https://goo.gl/piDGLu  Bundle completed (17.91s)  Cleaning up the bundler cache. -----> Installing node-v6.11.1-linux-x64  Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 30 --max-time 180 https://s3pository.heroku.com/node/v6.11.1/node-v6.11.1-linux-x64.tar.gz -s -o - | tar zxf - node-v6.11.1-linux-x64/bin/node' failed on attempt 1 of 3.  Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 30 --max-time 180 https://s3pository.heroku.com/node/v6.11.1/node-v6.11.1-linux-x64.tar.gz -s -o - | tar zxf - node-v6.11.1-linux-x64/bin/node' failed on attempt 2 of 3. /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/shell_helpers.rb:58:in `block in run!': Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 30 --max-time 180 https://s3pository.heroku.com/node/v6.11.1/node-v6.11.1-linux-x64.tar.gz -s -o - | tar zxf - node-v6.11.1-linux-x64/bin/node' failed unexpectedly: (LanguagePack::Fetcher::FetchError) gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/shell_helpers.rb:52:in `times' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/shell_helpers.rb:52:in `run!' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/fetcher.rb:24:in `fetch_untar' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/node_installer.rb:24:in `block (2 levels) in install' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/node_installer.rb:23:in `chdir' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/node_installer.rb:23:in `block in install' from /tmp/tmp.LlkorwZ88Z/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/helpers/node_installer.rb:20:in `install' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:470:in `block in install_binary' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:468:in `chdir' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:468:in `install_binary' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:456:in `block (2 levels) in install_binaries' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:456:in `each' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:456:in `block in install_binaries' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:40:in `yield_with_block_depth' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:17:in `block in instrument' from /tmp/tmp.LlkorwZ88Z/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:16:in `instrument' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/base.rb:49:in `instrument' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/base.rb:45:in `instrument' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:455:in `install_binaries' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:108:in `block (2 levels) in compile' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:794:in `allow_git' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:103:in `block in compile' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:40:in `yield_with_block_depth' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:17:in `block in instrument' from /tmp/tmp.LlkorwZ88Z/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:16:in `instrument' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/base.rb:49:in `instrument' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/base.rb:45:in `instrument' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/ruby.rb:92:in `compile' from /tmp/buildpacks/01_buildpack-ruby/bin/support/ruby_compile:20:in `block (2 levels) in <main>' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/base.rb:132:in `log' from /tmp/buildpacks/01_buildpack-ruby/bin/support/ruby_compile:19:in `block in <main>' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:35:in `block in trace' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:40:in `yield_with_block_depth' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:17:in `block in instrument' from /tmp/tmp.LlkorwZ88Z/lib/ruby/2.3.0/benchmark.rb:308:in `realtime' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:16:in `instrument' from /tmp/buildpacks/01_buildpack-ruby/lib/language_pack/instrument.rb:35:in `trace' from /tmp/buildpacks/01_buildpack-ruby/bin/support/ruby_compile:15:in `<main>'   !  ! Command: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 30 --max-time 180 https://s3pository.heroku.com/node/v6.11.1/node-v6.11.1-linux-x64.tar.gz -s -o - | tar zxf - node-v6.11.1-linux-x64/bin/node' failed unexpectedly:  !  ! gzip: stdin: unexpected end of file  ! tar: Child returned status 1  ! tar: Error is not recoverable: exiting now  !

Data

Downloaded 0 times

To download data sign in with GitHub

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

rows 10 / 950

id name faction region image term source
131337
Абалаков Александр Николаевич
КПРФ
Новосибирская область
6
239916
Абасов Мамед Магарамович
«ЕДИНАЯ РОССИЯ»
Республика Дагестан
6
131273
Абрамов Иван Николаевич
ЛДПР
Республика Саха (Якутия), Камчатский край, Амурская область, Магаданская область, Чукотский автономный округ
6
131431
Абубакиров Ришат Фазлутдинович
«ЕДИНАЯ РОССИЯ»
Республика Татарстан (Татарстан)
6
131338
Авдеев Михаил Юрьевич
КПРФ
Московская область
6
131432
Агаев Бекхан Вахаевич
«ЕДИНАЯ РОССИЯ»
Удмуртская Республика
6
131339
Агаев Ваха Абуевич
КПРФ
Красноярский край
6
131221
Агеев Александр Александрович
«СПРАВЕДЛИВАЯ РОССИЯ»
Город Москва - Восточная, Город Москва - Донская, Город Москва - Люблинская
6
131222
Аксаков Анатолий Геннадьевич
«СПРАВЕДЛИВАЯ РОССИЯ»
Республика Марий Эл, Чувашская Республика - Чувашия
6
174437
Акулов Тимур Юрьевич
«ЕДИНАЯ РОССИЯ»
Республика Татарстан (Татарстан)
6

Statistics

Average successful run time: 2 minutes

Total run time: 2 days

Total cpu time used: about 1 hour

Total disk space used: 1.2 MB

History

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

Show complete history

Scraper code

Ruby

russia-duma / scraper.rb