planningalerts-scrapers / maitland

Maitland Development Applications

Scrapes myhorizon.maitland.nsw.gov.au

Horizon - Simplifying Solutions for Local Government - SolOrient


Maitland City Council Scraper

This council involves the followings

  • Server - nginx/1.8.0
  • Cookie tracking - Yes
  • Pagnation - No - However, modified query to pull max 100 records
  • XML - Yes
  • Horizon system

Setup MORPH_PERIOD for data recovery, available options are

  • thisweek (default, today -7 days)
  • thismonth
  • lastmonth

Enjoy

Contributors CloCkWeRX LoveMyData equivalentideas

Last run completed successfully .

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/openaustralia/scraperwiki-ruby.git  Using bundler 1.15.2  Fetching connection_pool 2.2.2  Fetching unf_ext 0.0.7.5  Fetching httpclient 2.8.3  Installing connection_pool 2.2.2  Fetching mime-types-data 3.2018.0812  Installing httpclient 2.8.3  Installing mime-types-data 3.2018.0812  Installing unf_ext 0.0.7.5 with native extensions  Fetching net-http-digest_auth 1.4.1  Installing net-http-digest_auth 1.4.1  Fetching mini_portile2 2.3.0  Fetching ntlm-http 0.1.1  Installing mini_portile2 2.3.0  Installing ntlm-http 0.1.1  Fetching webrobots 0.1.2  Fetching sqlite3 1.3.13  Installing sqlite3 1.3.13 with native extensions  Installing webrobots 0.1.2  Fetching net-http-persistent 3.0.0  Installing net-http-persistent 3.0.0  Fetching mime-types 3.2.2  Installing mime-types 3.2.2  Fetching nokogiri 1.8.5  Installing nokogiri 1.8.5 with native extensions  Fetching unf 0.1.4  Installing unf 0.1.4  Fetching domain_name 0.5.20180417  Installing domain_name 0.5.20180417  Fetching http-cookie 1.0.3  Installing http-cookie 1.0.3  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 mechanize 2.7.6  Installing mechanize 2.7.6  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 (26.88s)  Cleaning up the bundler cache. -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Scraping from 08/12/2018 to 15/12/2018, changable via MORPH_PERIOD variable

Data

Downloaded 1169 times by openaustralia LoveMyData jesse-a-reilly gdmhunter TheZepto MikeRalphson JPHePlanning

To download data sign in with GitHub

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

rows 10 / 5169

council_reference address description info_url comment_url date_scraped date_received on_notice_from on_notice_to
DA-2016-0589
27 Hunter Street, LARGS, NSW 2320
Garage and Carport and Demolition
2016-03-21
2016-03-21
DA-2016-0608
18 The Avenue, LORN, NSW 2320
Tree Application
2016-03-21
2016-03-21
DA-2016-0604
83 Victoria Street, EAST MAITLAND, NSW 2323
Dwelling alteration/addition (Cl 33)
2016-03-21
2016-03-21
DA-2016-0600
5 Holland Circuit, GILLIESTON HEIGHTS, NSW 2321
Dwelling House
2016-03-21
2016-03-21
DA-2016-0597
41 Tournament Street, RUTHERFORD, NSW 2320
Dwelling House
2016-03-21
2016-03-21
DA-2016-0593
18 Wolfe Street, MAITLAND, NSW 2320
Tree Application
2016-03-21
2016-03-21
DA-2016-0588
29 Heritage Drive, CHISHOLM, NSW 2322
Exhibition Home and SIGN APPLICATION and Subdivision - boundary adjustment
2016-03-21
2016-03-18
DA-2016-0585
243 Newcastle Street, EAST MAITLAND, NSW 2323
Change of Use
2016-03-21
2016-03-18
DA-2016-0586
27 Hillcrest Drive, GILLIESTON HEIGHTS, NSW 2321
Dwelling House
2016-03-21
2016-03-18
DA-2016-0583
8 Railway Avenue, THORNTON, NSW 2322
Dwelling alteration/addition (Cl 33)
2016-03-21
2016-03-18

Statistics

Average successful run time: 3 minutes

Total run time: 2 days

Total cpu time used: 19 minutes

Total disk space used: 1.62 MB

History

  • Auto ran revision 2131aeb4 and completed successfully .
    nothing changed in the database
    2 pages scraped
  • Auto ran revision 2131aeb4 and completed successfully .
    20 records added in the database
  • Auto ran revision 2131aeb4 and completed successfully .
    13 records added in the database
    2 pages scraped
  • Auto ran revision 2131aeb4 and completed successfully .
    11 records added in the database
    2 pages scraped
  • Auto ran revision 2131aeb4 and completed successfully .
    11 records added in the database
    2 pages scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

maitland / scraper.rb