LoveMyData / wollondilly

Wollondilly Shire Council Development Applications


Wollondilly Shire Council Scraper

Wollondilly Shire Council involves the followings * Server - .NET but Java backend * Cookie tracking - Yes - JSESSION * Pagnation - No - However, query is based on 'date' submit via POST * Javascript - No * Clearly defined data within a row - No * iFrame - Why??

Setup MORPH_PERIOD for data recovery, available options are * thisweek (default, today -7 days) * thismonth * lastmonth

Enjoy

Contributors LoveMyData

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.0.0 -----> Installing dependencies using bundler 1.11.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Warning: the running version of Bundler is older than the version that created the lockfile. 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  Rubygems 2.0.14.1 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.  Installing unf_ext 0.0.7.2 with native extensions  Installing httpclient 2.8.2.4  Installing mime-types-data 3.2016.0521  Installing net-http-digest_auth 1.4  Installing net-http-persistent 2.9.4  Installing mini_portile2 2.1.0  Installing pkg-config 1.1.7  Installing ntlm-http 0.1.1  Installing webrobots 0.1.2  Installing sqlite3 1.3.11 with native extensions  Using bundler 1.11.2  Installing unf 0.1.4  Installing mime-types 3.1  Installing nokogiri 1.6.8 with native extensions  Installing sqlite_magic 0.0.6  Installing domain_name 0.5.20160826  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Installing http-cookie 1.0.2  Installing mechanize 2.7.5  Bundle complete! 2 Gemfile dependencies, 19 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (24.36s)  Cleaning up the bundler cache.  Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Scraping from 01/10/2016 to 31/10/2016, changable via MORPH_PERIOD variable /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:921:in `connect': SSL_connect returned=1 errno=0 state=unknown state: unknown protocol (OpenSSL::SSL::SSLError) from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:921:in `block in connect' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/timeout.rb:52:in `timeout' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:921:in `connect' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:862:in `do_start' from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:857:in `start' from /app/vendor/bundle/ruby/2.0.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:700:in `start' from /app/vendor/bundle/ruby/2.0.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:631:in `connection_for' from /app/vendor/bundle/ruby/2.0.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:994:in `request' from /app/vendor/bundle/ruby/2.0.0/gems/mechanize-2.7.5/lib/mechanize/http/agent.rb:274:in `fetch' from /app/vendor/bundle/ruby/2.0.0/gems/mechanize-2.7.5/lib/mechanize.rb:464:in `get' from scraper.rb:26:in `<main>'

Statistics

Total run time: 4 minutes

Total cpu time used: less than 20 seconds

Total disk space used: 350 KB

History

  • Manually ran revision ba961f2e and failed .
    nothing changed in the database
  • Manually ran revision ba961f2e and failed .
    nothing changed in the database
  • Manually ran revision 0685b9cb and failed .
    nothing changed in the database
  • Manually ran revision 303a1d92 and failed .
    nothing changed in the database
  • Manually ran revision 656ac2e8 and failed .
    nothing changed in the database
    1 page scraped
  • Manually ran revision 9b3347e9 and failed .
    nothing changed in the database
  • Manually ran revision 6e35abfa and failed .
    nothing changed in the database
  • Manually ran revision abaaacd3 and failed .
    nothing changed in the database
  • Manually ran revision c725d972 and failed .
    nothing changed in the database
    1 page scraped
  • Manually ran revision 71bcd238 and failed .
    nothing changed in the database
  • Manually ran revision cf382e88 and failed .
    nothing changed in the database
  • Manually ran revision cb924fce and failed .
    nothing changed in the database
  • Manually ran revision f94d5b16 and failed .
    nothing changed in the database
  • Manually ran revision f94d5b16 and failed .
    nothing changed in the database
  • Manually ran revision 7493951a and failed .
  • Manually ran revision bf7c03bc and failed .
    nothing changed in the database
  • Created on morph.io

Scraper code

Ruby

wollondilly / scraper.rb