everypolitician-scrapers / russia-duma

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

Scrapes github.com, www.duma.gov.ru, duma.gov.ru, and 1 other domain

Build software better, together.


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

Contributors octopusinvitro 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.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  Fetching safe_yaml 1.0.4  Installing public_suffix 2.0.4  Installing coderay 1.1.0  Installing safe_yaml 1.0.4  Fetching excon 0.45.4  Fetching execjs 2.5.2  Fetching multipart-post 2.0.0  Installing execjs 2.5.2  Installing multipart-post 2.0.0  Fetching fuzzy_match 2.1.0  Fetching git 1.3.0  Installing excon 0.45.4  Installing git 1.3.0  Installing fuzzy_match 2.1.0  Fetching hashdiff 0.3.1  Installing hashdiff 0.3.1  Fetching hashie 3.4.2  Fetching httpclient 2.6.0.1  Installing hashie 3.4.2  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 mini_portile 0.6.2  Fetching slop 3.6.0  Installing httpclient 2.6.0.1  Installing open-uri-cached 0.0.5  Installing slop 3.6.0  Fetching vcr 3.0.3  Fetching sqlite3 1.3.10  Installing sqlite3 1.3.10 with native extensions  Installing vcr 3.0.3  Fetching crack 0.4.3  Fetching addressable 2.5.0  Installing crack 0.4.3  Installing addressable 2.5.0  Fetching faraday 0.9.1  Fetching nokogiri 1.6.6.2  Installing faraday 0.9.1  Fetching pry 0.10.1  Installing pry 0.10.1  Fetching webmock 2.0.3  Installing webmock 2.0.3  Fetching faraday_middleware 0.10.0  Installing faraday_middleware 0.10.0  Fetching vcr-archive 0.3.0  Installing vcr-archive 0.3.0  Fetching wikidata-client 0.0.7  Installing wikidata-client 0.0.7  Using scraped_page_archive 0.5.0 from https://github.com/everypolitician/scraped_page_archive (at master@28f93d7)  Installing nokogiri 1.6.6.2 with native extensions  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 (21.17s)  Cleaning up the bundler cache. -----> Installing node-v6.11.1-linux-x64 -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... /app/vendor/ruby-2.3.1/lib/ruby/2.3.0/open-uri.rb:359:in `open_http': 404 Not Found (OpenURI::HTTPError) from /app/vendor/ruby-2.3.1/lib/ruby/2.3.0/open-uri.rb:737:in `buffer_open' from /app/vendor/ruby-2.3.1/lib/ruby/2.3.0/open-uri.rb:212:in `block in open_loop' from /app/vendor/ruby-2.3.1/lib/ruby/2.3.0/open-uri.rb:210:in `catch' from /app/vendor/ruby-2.3.1/lib/ruby/2.3.0/open-uri.rb:210:in `open_loop' from /app/vendor/ruby-2.3.1/lib/ruby/2.3.0/open-uri.rb:151:in `open_uri' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped_page_archive-28f93d74b1c1/lib/scraped_page_archive/open-uri.rb:9:in `block in open_uri' from /app/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block' from /app/vendor/bundle/ruby/2.3.0/gems/vcr-3.0.3/lib/vcr.rb:189:in `use_cassette' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped_page_archive-28f93d74b1c1/lib/scraped_page_archive.rb:36:in `record' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraped_page_archive-28f93d74b1c1/lib/scraped_page_archive/open-uri.rb:9:in `open_uri' from /app/vendor/ruby-2.3.1/lib/ruby/2.3.0/open-uri.rb:717:in `open' from /app/vendor/ruby-2.3.1/lib/ruby/2.3.0/open-uri.rb:35:in `open' from scraper.rb:19:in `noko_for' from scraper.rb:23:in `scrape_list' from scraper.rb:45:in `<main>'

Data

Downloaded 0 times

To download data sign in with GitHub

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

rows 10 / 912

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: less than a minute

Total run time: about 9 hours

Total cpu time used: 23 minutes

Total disk space used: 6.16 MB

History

  • Auto ran revision 5ff24717 and failed .
    nothing changed in the database
    5 pages scraped
  • Auto ran revision 5ff24717 and failed .
    nothing changed in the database
    4 pages scraped
  • Auto ran revision 5ff24717 and failed .
    nothing changed in the database
  • Auto ran revision 5ff24717 and failed .
    nothing changed in the database
    4 pages scraped
  • Auto ran revision 5ff24717 and failed .
    nothing changed in the database
    4 pages scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

russia-duma / scraper.rb