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 dependency 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 https://github.com/everypolitician/wikidata-fetcher.git  Fetching rake 12.3.1  Fetching ast 2.4.0  Using bundler 1.15.2  Fetching coderay 1.1.2  Installing ast 2.4.0  Installing coderay 1.1.2  Fetching colorize 0.8.1  Installing rake 12.3.1  Installing colorize 0.8.1  Fetching diskcached 1.1.3  Installing diskcached 1.1.3  Fetching unf_ext 0.0.7.5  Fetching excon 0.62.0  Fetching multipart-post 2.0.0  Installing multipart-post 2.0.0  Fetching field_serializer 0.3.0  Installing excon 0.62.0  Installing field_serializer 0.3.0  Installing unf_ext 0.0.7.5 with native extensions  Fetching hashie 3.6.0  Installing hashie 3.6.0  Fetching httpclient 2.8.3  Fetching jaro_winkler 1.5.1  Installing jaro_winkler 1.5.1 with native extensions  Installing httpclient 2.8.3  Fetching json 2.1.0  Installing json 2.1.0 with native extensions  Fetching method_source 0.9.0  Installing method_source 0.9.0  Fetching mime-types-data 3.2018.0812  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 yajl-ruby 1.4.1  Installing yajl-ruby 1.4.1 with native extensions  Fetching parser 2.5.1.2  Installing parser 2.5.1.2  Fetching faraday 0.15.3  Installing faraday 0.15.3  Fetching pry 0.11.3  Installing pry 0.11.3  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  Using sqlite_magic 0.0.6 from https://github.com/openc/sqlite_magic.git (at master@4df975e)  Fetching rubocop 0.59.2  Fetching faraday_middleware 0.12.2  Installing faraday_middleware 0.12.2  Fetching wikisnakker 0.9.1  Installing rubocop 0.59.2  Installing wikisnakker 0.9.1  Fetching domain_name 0.5.20180417  Installing domain_name 0.5.20180417  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Fetching wikidata-client 0.0.12  Installing wikidata-client 0.0.12  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.2  Installing rest-client 2.0.2  Fetching mediawiki_api 0.7.1  Installing mediawiki_api 0.7.1  Using scraped 0.6.2 from https://github.com/everypolitician/scraped.git (at master@7fd4391)  Using wikidata-fetcher 0.22.0 from https://github.com/everypolitician/wikidata-fetcher.git (at master@9427382)  Bundle complete! 9 Gemfile dependencies, 45 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (35.22s)  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-7fd43913456a/lib/scraped/request/strategy/live_request.rb:10:in `response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-7fd43913456a/lib/scraped/request.rb:29:in `block in first_successful_response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-7fd43913456a/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-7fd43913456a/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-7fd43913456a/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-7fd43913456a/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-7fd43913456a/lib/scraped/request.rb:30:in `first' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-7fd43913456a/lib/scraped/request.rb:30:in `first_successful_response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-7fd43913456a/lib/scraped/request.rb:13:in `response' from scraper.rb:74:in `<main>'

Data

Downloaded 139 times by everypolitician

To download data sign in with GitHub

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

rows 10 / 64

statement id name constituency_id constituency party_id party start_date end_date term
Q6915896-33746262-FC34-471B-B376-E72E481B511E
Q6915896
Moses Nagamootoo
Q16824207
A Partnership for National Unity
11
Q20983252-ab36c979-4f9f-12ff-2f8a-b6001ff467da
Q20983252
Indranie Chandarpal
Q1972521
People's Progressive Party
11
Q53848199-0d1dd4f3-5796-42d3-849c-afbb621d9f1e
Q53848199
Carl Barrington Greenidge
Q16824207
A Partnership for National Unity
11
Q25046178-CE583A02-BB7F-46CC-AE3C-77444920B524
Q25046178
Barton Scotland
Q1758037
speaker
11
Q62733292-A20ABC71-52E8-4F86-9719-A8EB4982B21D
Q62733292
David Patterson
Q16824207
A Partnership for National Unity
11
Q62733325-7BF232AF-68B0-428F-A804-1DEA7EDB2834
Q62733325
George Norton
Q16824207
A Partnership for National Unity
11
Q62733333-C3044CCD-CC2B-42F4-B926-E3A84937A3D6
Q62733333
Rupert Roopnarine
Q16824207
A Partnership for National Unity
11
Q62733342-E08E5A08-456E-43F7-A0C9-9F7C3A3CF3EB
Q62733342
Joseph Harmon
Q16824207
A Partnership for National Unity
11
Q62733361-AA540C43-7069-4D5D-A1B0-8EE4A983F919
Q62733361
Noel Holder
Q16824207
A Partnership for National Unity
11
Q62733387-1121E277-D536-4269-BF62-B28A92FFF28D
Q62733387
Basil Williams
Q1185362
Demerara-Mahaica
Q16824207
A Partnership for National Unity
11

Statistics

Average successful run time: 1 minute

Total run time: about 5 hours

Total cpu time used: 4 minutes

Total disk space used: 49.6 KB

History

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

Show complete history

Scraper code

Ruby

guyana-assembly-p39s / scraper.rb