ianheggie-oaf / BurdekinShire_DAs

Burdekin Shire Current Development Applications


Introduction

Welcome to the Burdekin, sugar capital of Australia and one of the most prosperous rural communities in the country. It's also one of the prettiest districts along the Queensland coast and boasts a stable population of warm, friendly and down-to-earth residents.

It scrapes data from: https://www.burdekin.qld.gov.au/Planning-building-and-development/Planning-and-Development/Development-applications/Current-development-applications

Install

bundle install

To run the scraper

bundle exec ruby scraper.rb

You can, but don't need to, set MORPH_AUSTRALIAN_PROXY to the url for an Australian proxy

Set MORPH_DEBUG to '1' to see debug output

Expected output

Fetching page: https://www.burdekin.qld.gov.au/Planning-building-and-development/Planning-and-Development/Development-applications/Current-development-applications
found 23 applications on page
Storing MCU25/0014 - Mitchell Road, Clare QLD 4807: Decided

Storing RAL25/0019 - 151 and 157 Burstall Road Airdmillan: In Progress

(etc)

Storing MCU23/0003 - 8-16 Eighth Avenue Home Hill: Decided

Storing MCU25/0013 - 94 Macmillan Street, Ayr QLD 4807: Decided

Scraping complete. Total records saved: 23

Execution time ~ 10 seconds.

To run style and coding checks

bundle exec rubocop

To check for security updates

gem install bundler-audit
bundle-audit

Contributors PuZZleDucK mlandauer ianheggie-oaf equivalentideas benrfairless henare

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Fetching page: https://www.burdekin.qld.gov.au/Planning-building-and-development/Planning-and-Development/Development-applications/Current-development-applications found 23 applications on page Storing MCU25/0014 - Mitchell Road, Clare QLD 4807: Decided Storing RAL25/0019 - 151 and 157 Burstall Road Airdmillan: In Progress Storing RAL25/0017 - 190 Marshall Road Osborne: In Progress Storing RAL25/0018 - 374 and 384 George Road Clare: In Progress Storing RAL25/0013 - 1/2 Wilmington Street and 2/19 Chippendale Street, Ayr QLD 4807: In Progress Storing RAL25/0023 - 10 and 20 Milburn Road, Home Hill: In Progress Storing RAL25/0022 - 110 and 122 Georgees Road Home Hill: In Progress Storing RAL25/0021 - 168 and 190 Klaka Road, Fredericksfield: In Progress Storing RAL25/0020 - 354 and 308 Darveniza Road, Inkerman: In Progress Storing MCU24/0014 - 60 Railway Street, Ayr: Decided Storing RAL25/0017 - 260 and 276 Hoey Road, Barratta: In Progress Storing RAL25/0008 - 613 Home Hil Kirknie Road, Osborne: Decided Storing MCU24/0013 - 171-185 Queen Street, Ayr: Decided Storing RAL25/0006 - 101 Anabranch Road, Jarvisfield: Decided Storing MCU24/0016 - 125 Edwards Street, Ayr: Decided Storing RAL25/0009 - 18 and 72 Tobruk Road, Mona Park: Decided Storing MCU24/0017 - 194 Phillips Camp Road, Jarvisfield: Decided Storing RAL25/0010 - 20 Queen Street, Ayr: In Progress Storing RAL25/0012 - 20, 38, 60 and 90 Colevale Road, Brandon: Decided Storing RAL25/0014 - 205 Sarri Road, Mount Surround QLD 4807: Decided Storing RAL25/0011 - 280 Ruddy Road & 32 McNeil Road, Jarvisfield: Decided Storing MCU23/0003 - 8-16 Eighth Avenue Home Hill: Decided Storing MCU25/0013 - 94 Macmillan Street, Ayr QLD 4807: Decided Scraping complete. Total records saved: 23

Statistics

Average successful run time: half a minute

Total run time: 3 minutes

Total cpu time used: less than 10 seconds

Total disk space used: 78.8 KB

History

  • Manually ran revision bd3b831c and completed successfully .
    22 records added, 22 records removed in the database
  • Manually ran revision bd3b831c and completed successfully .
    22 records added, 22 records removed in the database
  • Manually ran revision 8dd77f0d and completed successfully .
    22 records added, 18 records removed in the database
  • Manually ran revision a36c3d0e and completed successfully .
    19 records added, 19 records removed in the database
  • Manually ran revision 3ab57b00 and completed successfully .
    19 records added in the database
  • Created on morph.io

Scraper code

Ruby

BurdekinShire_DAs / scraper.rb