Uralla Shire Council scraper

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

Setup MORPH_PERIOD for data recovery, available options are

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

Enjoy

Contributors henare LoveMyData 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.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 mime-types-data 3.2016.0521  Installing net-http-digest_auth 1.4.1  Fetching net-http-persistent 2.9.4  Installing net-http-persistent 2.9.4  Fetching mini_portile2 2.3.0  Installing unf_ext 0.0.7.4 with native extensions  Fetching ntlm-http 0.1.1  Installing mini_portile2 2.3.0  Installing ntlm-http 0.1.1  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! 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 (23.74s)  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:906:in `rescue in block in connect': Failed to open TCP connection to myhorizon.solorient.com.au:80 (No route to host - connect(2) for "myhorizon.solorient.com.au" port 80) (Errno::EHOSTUNREACH) from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/net/http.rb:903:in `block in connect' from /app/vendor/ruby-2.4.1/lib/ruby/2.4.0/timeout.rb:93:in `block in timeout' 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:10:in `<main>'

Data

Downloaded 1584 times by LoveMyData dcalde

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (1.08 MB) Use the API

rows 10 / 3681

council_reference address description info_url comment_url date_scraped date_received
DA2017/56.1
154 Bridge Street URALLA 2358 NSW
2 Lot Subdivision
mailto:council@uralla.nsw.gov.au
2017-10-20
2017-10-13
DA2017/55.1
103 Bridge Street URALLA 2358 NSW
Boundary Adjustment
mailto:council@uralla.nsw.gov.au
2017-10-20
2017-10-10
OC2014/45.1
Bakers Lane KENTUCKY 2354 NSW
Modification - Dwelling & Carport
mailto:council@uralla.nsw.gov.au
2017-10-20
2017-10-10
DA2017/58.1
282 Pinegrove Road INVERGOWRIE 2350 NSW
Dwelling Alterations & Additions
mailto:council@uralla.nsw.gov.au
2017-10-20
2017-10-18
S682017/58.1
282 Pinegrove Road INVERGOWRIE 2350 NSW
Connection to Existing Onsite Sewage Treatment System for
mailto:council@uralla.nsw.gov.au
2017-10-20
2017-10-18
DA2017/54.1
55 Bridge Street URALLA 2358 NSW
Sign
mailto:council@uralla.nsw.gov.au
2017-10-20
2017-09-28
DA2017/53.1
22 East Street URALLA 2358 NSW
Dwelling Alterations & Additions
mailto:council@uralla.nsw.gov.au
2017-10-20
2017-09-28
DA2017/52.1
9 Lawson Road SAUMAREZ PONDS 2350 NSW
Swimming Pool
mailto:council@uralla.nsw.gov.au
2017-10-20
2017-09-28
S682017/52.1
9 Lawson Road SAUMAREZ PONDS 2350 NSW
Install Trench for Swimming Pool Wastewater
mailto:council@uralla.nsw.gov.au
2017-10-20
2017-09-28
OC2017/8.1
26 John Street URALLA 2358 NSW
Staged - Dual Occupancy, Two Sheds & Strata Subdivision
mailto:council@uralla.nsw.gov.au
2017-10-20
2017-09-26

Statistics

Average successful run time: less than a minute

Total run time: 1 day

Total cpu time used: 25 minutes

Total disk space used: 1.12 MB

History

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

Show complete history

Scraper code

Ruby

uralla / scraper.rb