muzza1976 / greater_geelong

City of Greater Geelong Development Applications


Development applications for PlanningAlerts.

Contributors muzza1976 mlandauer henare CloCkWeRX

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.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.17.3). 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 https://github.com/openaustralia/scraperwiki-ruby.git  Using bundler 1.15.2  Fetching httpclient 2.8.3  Fetching mini_portile2 2.4.0  Fetching sqlite3 1.4.2  Installing mini_portile2 2.4.0  Installing sqlite3 1.4.2 with native extensions  Fetching nokogiri 1.10.7  Installing httpclient 2.8.3  Installing nokogiri 1.10.7 with native extensions  Fetching sqlite_magic 0.0.6  Installing sqlite_magic 0.0.6  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Bundle complete! 2 Gemfile dependencies, 7 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (17.58s)  Cleaning up the bundler cache. -----> Detecting rake tasks   ###### WARNING:  You have not declared a Ruby version in your Gemfile.  To set your Ruby version add this line to your Gemfile:  ruby '2.3.4'  # See https://devcenter.heroku.com/articles/ruby-versions for more information.   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Unknown key: SameSite = Lax /app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.3/lib/httpclient.rb:1127:in `success_content': unexpected response: #<HTTP::Message::Headers:0x0056468048a810 @http_version="1.1", @body_size=0, @chunked=false, @request_method="GET", @request_uri=#<URI::HTTPS https://www.geelongaustralia.com.au/advertisedplanning/default.aspx>, @request_query=nil, @request_absolute_uri=nil, @status_code=403, @reason_phrase="Forbidden", @body_type=nil, @body_charset=nil, @body_date=nil, @body_encoding=#<Encoding:UTF-8>, @is_request=false, @header_item=[["Date", "Tue, 23 Jun 2020 10:49:08 GMT"], ["Content-Type", "text/html; charset=UTF-8"], ["Transfer-Encoding", "chunked"], ["Connection", "close"], ["CF-Chl-Bypass", "1"], ["Cache-Control", "private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0"], ["Expires", "Thu, 01 Jan 1970 00:00:01 GMT"], ["X-Frame-Options", "SAMEORIGIN"], ["cf-request-id", "038264d7ee000002abcf27d200000001"], ["Expect-CT", "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""], ["Server", "cloudflare"], ["CF-RAY", "5a7da406488d02ab-SJC"]], @dumped=false> (HTTPClient::BadResponseError) from /app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.3/lib/httpclient.rb:655:in `get_content' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraperwiki-ruby-fc5017681250/lib/scraperwiki.rb:35:in `scrape' from scraper.rb:7:in `<main>'

Statistics

Total run time: 2 minutes

Total cpu time used: less than 5 seconds

Total disk space used: 30.5 KB

History

  • Manually ran revision 3d961c34 and failed .
  • Manually ran revision 3d961c34 and failed .
  • Created on morph.io

Scraper code

Ruby

greater_geelong / scraper.rb