LoveMyData / warrumbungle

Warrumbungle Development Applications


Warrumbungle Shire Council scraper

  • System - myhorizon from solorient
  • Cookie tracking - Yes
  • Clearly defined data within a row - Yes
  • XML - Yes
  • User-Agent - Yes
  • Anti-bot - Yes

Setup MORPH_PERIOD for data recovery, available options are

  • thisweek (default)
  • thismonth
  • lastmonth
  • year (eg: 2017, minimum is 2014)

Enjoy

Contributors CloCkWeRX 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.4.1 -----> 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/LoveMyData/horizon_xml.git  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Using bundler 1.15.2  Fetching unf_ext 0.0.7.4  Fetching mime-types-data 3.2016.0521  Fetching net-http-digest_auth 1.4.1  Installing net-http-digest_auth 1.4.1  Fetching net-http-persistent 2.9.4  Installing mime-types-data 3.2016.0521  Installing net-http-persistent 2.9.4  Fetching mini_portile2 2.3.0  Fetching ntlm-http 0.1.1  Installing unf_ext 0.0.7.4 with native extensions  Installing ntlm-http 0.1.1  Installing mini_portile2 2.3.0  Fetching webrobots 0.1.2  Installing webrobots 0.1.2  Fetching httpclient 2.8.3  Fetching sqlite3 1.3.13  Installing sqlite3 1.3.13 with native extensions  Installing httpclient 2.8.3  Fetching mime-types 3.1  Installing mime-types 3.1  Fetching nokogiri 1.8.1  Installing nokogiri 1.8.1 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)  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching domain_name 0.5.20170404  Installing domain_name 0.5.20170404  Fetching http-cookie 1.0.3  Installing http-cookie 1.0.3  Fetching mechanize 2.7.5  Installing mechanize 2.7.5  Using horizon_xml 1.1.1 from https://github.com/LoveMyData/horizon_xml.git (at 1.1-stable@55cf6df)  Bundle complete! 3 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 (23.68s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:904:in `initialize': execution expired (Net::OpenTimeout) from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:904:in `open' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:904:in `block in connect' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/timeout.rb:103:in `timeout' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:902:in `connect' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:887:in `do_start' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:882:in `start' from /app/vendor/bundle/ruby/2.4.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:700:in `start' from /app/vendor/bundle/ruby/2.4.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:631:in `connection_for' from /app/vendor/bundle/ruby/2.4.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:994:in `request' from /app/vendor/bundle/ruby/2.4.0/gems/mechanize-2.7.5/lib/mechanize/http/agent.rb:274:in `fetch' from /app/vendor/bundle/ruby/2.4.0/gems/mechanize-2.7.5/lib/mechanize.rb:464:in `get' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/horizon_xml-55cf6df5f910/lib/horizon_xml.rb:88:in `_execute' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/horizon_xml-55cf6df5f910/lib/horizon_xml.rb:139:in `getRecords' from scraper.rb:18:in `<main>'

Data

Downloaded 1345 times by LoveMyData dcalde

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (264 KB) Use the API

rows 10 / 881

council_reference address description info_url comment_url date_scraped date_received
DA2017/54.1
188 River Road COONABARABRAN 2357 NSW
New Patio
mailto:info@warrumbungle.nsw.gov.au
2017-10-24
2017-10-19
DA2017/53.1
9 Hill Street COONABARABRAN 2357 NSW
New Garages/Sheds - Residential
mailto:info@warrumbungle.nsw.gov.au
2017-10-24
2017-10-19
DA2017/52.1
21 Caigan Street DUNEDOO 2844 NSW
Refurbishment of Service Station
mailto:info@warrumbungle.nsw.gov.au
2017-10-24
2017-10-16
DA2017/51.1
141 Bolaro Street DUNEDOO 2844 NSW
Refurbishment of Change of Use - Other and New Screen Enclosure
mailto:info@warrumbungle.nsw.gov.au
2017-10-24
2017-10-16
CC2017/41.1
24 Napier Street MENDOORAN 2842 NSW
New Garages/Sheds - Residential
mailto:info@warrumbungle.nsw.gov.au
2017-10-24
2017-10-16
DA2017/50.1
40-44 John Street COONABARABRAN 2357 NSW
New Change of Use - Other
mailto:info@warrumbungle.nsw.gov.au
2017-10-24
2017-10-11
DA2017/49.1
365 Gardener Street COONABARABRAN 2357 NSW
New Garages/Sheds - Commercial
mailto:info@warrumbungle.nsw.gov.au
2017-10-24
2017-10-09
DA2017/48.1
30 Narren Street BARADINE 2396 NSW
New Garages/Sheds - Residential
mailto:info@warrumbungle.nsw.gov.au
2017-10-24
2017-10-06
DA2017/47.1
Black Stump Way TAMBAR SPRINGS 2381 NSW
Alterations and Additions to Subdivision
mailto:info@warrumbungle.nsw.gov.au
2017-10-24
2017-10-06
DA2017/46.1
1040 Timor Road COONABARABRAN 2357 NSW
New Garages/Sheds - Commercial
mailto:info@warrumbungle.nsw.gov.au
2017-10-24
2017-10-05

Statistics

Average successful run time: 1 minute

Total run time: 2 days

Total cpu time used: 24 minutes

Total disk space used: 293 KB

History

  • Auto ran revision 40f7edec and failed .
    nothing changed in the database
  • Auto ran revision 40f7edec and failed .
    nothing changed in the database
  • Auto ran revision 40f7edec and failed .
    nothing changed in the database
  • Auto ran revision 40f7edec and failed .
    nothing changed in the database
  • Auto ran revision 40f7edec and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

warrumbungle / scraper.rb