davewhiteland / aberdeen-city

EveryPolitician-style scraper for Aberdeen City Council


Contributors davewhiteland

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/net/http.rb:923:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/net/http.rb:923:in `block in connect' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/timeout.rb:73:in `timeout' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/net/http.rb:923:in `connect' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/net/http.rb:863:in `do_start' from /app/vendor/bundle/ruby/2.2.0/gems/webmock-2.0.3/lib/webmock/http_lib_adapters/net_http.rb:136:in `start_with_connect_without_finish' from /app/vendor/bundle/ruby/2.2.0/gems/webmock-2.0.3/lib/webmock/http_lib_adapters/net_http.rb:104:in `request' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/open-uri.rb:324:in `block in open_http' from /app/vendor/bundle/ruby/2.2.0/gems/webmock-2.0.3/lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect' from /app/vendor/bundle/ruby/2.2.0/gems/webmock-2.0.3/lib/webmock/http_lib_adapters/net_http.rb:150:in `start' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/open-uri.rb:318:in `open_http' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/open-uri.rb:736:in `buffer_open' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/open-uri.rb:211:in `block in open_loop' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/open-uri.rb:209:in `catch' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/open-uri.rb:209:in `open_loop' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/open-uri.rb:150:in `open_uri' from /app/vendor/bundle/ruby/2.2.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.2.0/gems/vcr-3.0.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call' from /app/vendor/bundle/ruby/2.2.0/gems/vcr-3.0.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block' from /app/vendor/bundle/ruby/2.2.0/gems/vcr-3.0.3/lib/vcr.rb:189:in `use_cassette' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped_page_archive-28f93d74b1c1/lib/scraped_page_archive.rb:36:in `record' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped_page_archive-28f93d74b1c1/lib/scraped_page_archive/open-uri.rb:9:in `open_uri' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/open-uri.rb:716:in `open' from /app/vendor/ruby-2.2.6/lib/ruby/2.2.0/open-uri.rb:34:in `open' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request/strategy/live_request.rb:10:in `response' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request.rb:28:in `block in first_successful_response' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request.rb:29:in `each' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request.rb:29:in `each' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request.rb:29:in `each' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request.rb:29:in `each' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request.rb:29:in `each' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request.rb:29:in `each' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request.rb:29:in `first' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request.rb:29:in `first_successful_response' from /app/vendor/bundle/ruby/2.2.0/bundler/gems/scraped-c2e9db21e292/lib/scraped/request.rb:12:in `response' from scraper.rb:19:in `scrape' from scraper.rb:24:in `<main>'

Statistics

Total run time: 1 minute

Total cpu time used: less than 10 seconds

Total disk space used: 138 KB

History

  • Manually ran revision 25f86c04 and failed .
    nothing changed in the database
  • Manually ran revision e1e86b08 and failed .
    nothing changed in the database
  • Manually ran revision f7723f76 and failed .
    nothing changed in the database
  • Manually ran revision f7723f76 and failed .
    nothing changed in the database
  • Created on morph.io

Scraper code

Ruby

aberdeen-city / scraper.rb