ianheggie-oaf / clarence_valley

Clarence Valley Council NSW Advertised DAs Scraper


Clarence Valley Council NSW Advertised DAs Scraper

approx pop 62K

  • Cookie tracking - No
  • Pagnation - maybe, but we don't have an example to code for
  • Javascript - No
  • Clearly defined data within a row - Yes
  • System - Powered by Granicus

This is a scraper that runs on Morph. To get started see the documentation

Add any issues to https://github.com/planningalerts-scrapers/issues/issues

To run the scraper

bundle exec ruby scraper.rb

Expected output

Getting advertised DAs page
Saving record DA2025/0572 - 115 River Street, Maclean 2463, NSW
...
Saving record DA2026/0004 - 208 Bacon Street, Grafton 2460, NSW
Deleting 0 applications scraped between  and 2025-12-29
  Running VACUUM to reclaim space...
Added 7 records, and skipped 0 unprocessable records.
Found pagination: Page 1 of 1
Finished!

Execution time: ~ 2 seconds

To run style and coding checks

bundle exec rubocop

To check for security updates

gem install bundler-audit
bundle-audit

Contributors ianheggie-oaf

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Getting advertised DAs page scraper.rb:62:in `run': Could not find DA list container (RuntimeError) from scraper.rb:128:in `<main>'

Data

Downloaded 6077 times by ianheggie-oaf

To download data sign in with GitHub

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

rows 2 / 2

council_reference address description info_url date_scraped
DA2024/0476
4 High Street, Yamba 2464, NSW
Amended proposal demolition of dwelling, construction of a residential flat building (9 dwelling units), swimming pool, earthworks, retaining walls and fencing and associated structures
2026-03-29
DA2026/0088
12/13-15 The Crescent, Angourie 2464, NSW
Change of use to recreation facility (indoor)
2026-04-06

Statistics

Average successful run time: less than 5 seconds

Total run time: 5 minutes

Total cpu time used: 1 minute

Total disk space used: 46.1 KB

History

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

Show complete history

Scraper code

Ruby

clarence_valley / scraper.rb