everypolitician-scrapers / singapore-current

Scrapes github.com and www.parliament.gov.sg

Build software better, together.


Contributors tmtmtmtm chrismytton

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:225:in `open_loop': redirection forbidden: http://www.parliament.gov.sg/list-constituencies -> https://www.parliament.gov.sg/list-constituencies (RuntimeError) from /app/vendor/ruby-2.3.3/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.3/lib/ruby/2.3.0/open-uri.rb:717:in `open' from /app/vendor/ruby-2.3.3/lib/ruby/2.3.0/open-uri.rb:35:in `open' from scraper.rb:32:in `noko' from scraper.rb:23:in `data' from scraper.rb:64:in `<main>'

Statistics

Average successful run time: 24 minutes

Total run time: 9 days

Total cpu time used: 2 days

Total disk space used: 40 MB

History

  • Auto ran revision 1b9eddbc and failed .
    nothing changed in the database
    3 pages scraped
  • Auto ran revision 1b9eddbc and failed .
    nothing changed in the database
    3 pages scraped
  • Auto ran revision 1b9eddbc and failed .
    nothing changed in the database
    3 pages scraped
  • Auto ran revision 1b9eddbc and failed .
    nothing changed in the database
    3 pages scraped
  • Auto ran revision 1b9eddbc and failed .
    nothing changed in the database
    3 pages scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

singapore-current / scraper.rb