planningalerts-scrapers / cardinia

Cardinia Shire Council Planning Applications


Cardinia Council Scraper

  • Server - Unknown
  • Cookie tracking - No
  • Pagnation - No
  • Javascript - No
  • Clearly defined data within a row - Yes
  • System - Unknown

Enjoy

Contributors flying-feline LoveMyData henare equivalentideas mlandauer

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  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 unf_ext 0.0.7.1  Fetching httpclient 2.6.0.1  Fetching mime-types 2.5  Installing mime-types 2.5  Installing httpclient 2.6.0.1  Installing unf_ext 0.0.7.1 with native extensions  Fetching net-http-digest_auth 1.4  Fetching net-http-persistent 2.9.4  Installing net-http-digest_auth 1.4  Fetching mini_portile 0.6.2  Installing net-http-persistent 2.9.4  Fetching ntlm-http 0.1.1  Installing ntlm-http 0.1.1  Installing mini_portile 0.6.2  Fetching webrobots 0.1.1  Fetching sqlite3 1.3.10  Installing webrobots 0.1.1  Installing sqlite3 1.3.10 with native extensions  Fetching nokogiri 1.6.6.2  Installing nokogiri 1.6.6.2 with native extensions  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching domain_name 0.5.24  Installing domain_name 0.5.24  Fetching http-cookie 1.0.2  Installing http-cookie 1.0.2  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)  Fetching mechanize 2.7.3  Installing mechanize 2.7.3  Bundle complete! 2 Gemfile dependencies, 17 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (27.50s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Scraping page... Saving record T190449, Bowman Road, Beaconsfield, VIC /app/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:91:in `initialize': database disk image is malformed (SQLite3::CorruptException) from /app/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:91:in `new' from /app/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:91:in `prepare' from /app/vendor/bundle/ruby/2.3.0/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:134:in `execute' from /app/vendor/bundle/ruby/2.3.0/gems/sqlite_magic-0.0.3/lib/sqlite_magic.rb:93:in `block in save_data' from /app/vendor/bundle/ruby/2.3.0/gems/sqlite_magic-0.0.3/lib/sqlite_magic.rb:88:in `each' from /app/vendor/bundle/ruby/2.3.0/gems/sqlite_magic-0.0.3/lib/sqlite_magic.rb:88:in `save_data' from /app/vendor/bundle/ruby/2.3.0/bundler/gems/scraperwiki-ruby-fc5017681250/lib/scraperwiki.rb:89:in `save_sqlite' from scraper.rb:25:in `block in scrape_page' from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:187:in `block in each' from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `upto' from /app/vendor/bundle/ruby/2.3.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `each' from scraper.rb:9:in `scrape_page' from scraper.rb:33:in `<main>'

Statistics

Average successful run time: less than a minute

Total run time: 4 days

Total cpu time used: 28 minutes

Total disk space used: 239 KB

History

  • Auto ran revision fe679977 and failed .
  • Auto ran revision fe679977 and failed .
  • Auto ran revision fe679977 and failed .
  • Auto ran revision fe679977 and failed .
  • Auto ran revision fe679977 and failed .
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

cardinia / scraper.rb