jamezpolley / newcastle_atdis_test

Newcastle Development (ATDIS) (TEST ONLY)


Newcastle ATDIS scraper

  • Server - Technology One
  • ATDIS feed. Very simple to scrape. Thank you Newcastle Council!
  • JSON - Yes - Yay....

For simple local testing, simply run make on a machine with docker and docker-compose installed. A docker image which (roughly) matches what morph.io will run in production will be created and executed.

If the scraper run was successful, the resulting data.sqlite will be extracted from the container and left in the current directory. The next time make is run, this will be moved to prev-data.sqlite

Enjoy

Contributors henare LoveMyData jamezpolley equivalentideas JasonThomasData mercuryfrost nik3daz CloCkWeRX

Last run failed with status code 255.

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Installing bundler 1.17.3 -----> Removing BUNDLED WITH version in the Gemfile.lock -----> Compiling Ruby -----> Using Ruby version: ruby-3.0.3 -----> Installing dependencies using bundler 1.17.3  Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 BUNDLE_GLOBAL_PATH_APPENDS_RUBY_SCOPE=1 bundle install -j4  You are trying to install in deployment mode after changing  your Gemfile. Run `bundle install` elsewhere and add the  updated Gemfile.lock to version control.   If this is a development machine, remove the /tmp/build/Gemfile freeze  by running ``.   The list of sources changed   You have added to the Gemfile:  * source: https://github.com/planningalerts-scrapers/atdisplanningalertsfeed.git   You have deleted from the Gemfile:  * source: git://github.com/planningalerts-scrapers/atdisplanningalertsfeed.git  Bundler Output: You are trying to install in deployment mode after changing  your Gemfile. Run `bundle install` elsewhere and add the  updated Gemfile.lock to version control.   If this is a development machine, remove the /tmp/build/Gemfile freeze  by running ``.   The list of sources changed   You have added to the Gemfile:  * source: https://github.com/planningalerts-scrapers/atdisplanningalertsfeed.git   You have deleted from the Gemfile:  * source: git://github.com/planningalerts-scrapers/atdisplanningalertsfeed.git    !  ! Failed to install gems via Bundler.  !

Data

Downloaded 7 times by jamezpolley

To download data sign in with GitHub

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

rows 10 / 395

council_reference address description info_url comment_url date_scraped date_received on_notice_from on_notice_to
DA2019/00513
26 Meya Crescent, Fletcher, NSW 2287
Dwelling house and associated retaining walls
2019-07-05
2019-05-08
DA2019/00261
2 Lloyd Street, Merewether, NSW 2291
Demolition of dwelling and erection of two storey dwelling
2019-07-05
2019-03-14
DA2019/00578
11 Mackie Avenue, New Lambton, NSW 2305
Swimming pool
2019-07-05
2019-05-29
DA2019/00547
346 Maitland Road, Mayfield, NSW 2304
Demolition of outbuilding erection of garage
2019-07-05
2019-05-20
DA2019/00393
163 Christo Road, Waratah, NSW 2298
Alterations and additions to dwelling
2019-07-05
2019-04-11
DA2019/00581
4 Gavey Street, Mayfield, NSW 2304
Demolition of outbuilding erection of garage
2019-07-05
2019-05-24
DA2019/00118
119 Bruce Street, Cooks Hill, NSW 2300
Dwelling, alterations and additions to
2019-07-05
2019-02-08
DA2019/00400
9 Pembroke Street, Stockton, NSW 2295
Demolition of outbuilding erection of garage and storage area
2019-07-05
2019-04-12
DA2019/00468
116 Young Road, Lambton, NSW 2299
Dwelling house, alterations and additions to
2019-07-05
2019-05-06
DA2019/00360
3 Karoola Road, Lambton, NSW 2299
Single storey dwelling
2019-07-05
2019-04-03

Statistics

Average successful run time: 3 minutes

Total run time: about 12 hours

Total cpu time used: 16 minutes

Total disk space used: 236 KB

History

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

Show complete history

Scraper code

Ruby

newcastle_atdis_test / scraper.rb