planningalerts-scrapers / joondalup

City of Joondalup Open Development Applications


City of Joondalup - Open Development Applications Scraper

  • Cookie tracking - No
  • Pagnation - yes, via a flag in the HTML returned in the JSON data
  • JavaScript - Yes, but we don't need to execute it, instead call the api directly
  • Clearly defined data within a row - No, data is in HTML in a JSON record, and reference in the details page
  • System - custom

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 initial page
  Pausing 1.023s
Getting page 1
/home/ianh/.local/share/mise/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/mechanize-2.8.5/lib/mechanize/pluggable_parsers.rb:107:in `new': MIME::Type.MIME::Type.new when called with a String is deprecated.
  Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/31b-strathyre-drive,-duncraig-–-single-house-(additions)
  Extracted DA25/0869 from detail page
Saving record DA25/0869 - 31B Strathyre Drive, Duncraig, WA
...
  Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/51a-conidae-drive,-heathridge-–-grouped-dwelling-(new-dwelling)
  Extracted DA25/0774 from detail page
Saving record DA25/0774 - 51A Conidae Drive, Heathridge, WA
Deleting 0 applications scraped between  and 2025-12-28
  Running VACUUM to reclaim space...
Finished! Added 12 applications, and skipped 0 unprocessable applications from 1 pages.

Execution time: ~ 11 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 completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Getting initial page Pausing 2.018s Getting page 1 /app/vendor/bundle/ruby/3.2.0/gems/mechanize-2.8.5/lib/mechanize/pluggable_parsers.rb:107:in `new': MIME::Type.MIME::Type.new when called with a String is deprecated. Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/63-regents-park-road,-joondalup-%E2%80%93-restaurant-cafe-(alfresco-addition) Extracted DA26/0358 from detail page Saving record DA26/0358 - 63 Regents Park Road, Joondalup, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/4-absolon-way,-hillarys-%E2%80%93-unhosted-short-term-rental-accommodation-(change-of-use) Extracted DA26/0390 from detail page Saving record DA26/0390 - 4 Absolon Way, Hillarys, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/108-high-street,-sorrento-%E2%80%93-single-house-(additions) Extracted DA26/0417 from detail page Saving record DA26/0417 - 108 High Street, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/8-glenmere-road,-warwick-%E2%80%93-single-house-(additions) Extracted DA26/0432 from detail page Saving record DA26/0432 - 8 Glenmere Road, Warwick, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/236-camberwarra-drive,-craigie-%E2%80%93-grouped-dwelling-(new-dwelling)-471e603a2f83dc987859df8cca132ecf Extracted DA26/0305 from detail page Saving record DA26/0305 - 236 Camberwarra Drive, Craigie, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/16-iroquois-gardens,-joondalup-%E2%80%93-single-house-(additions) Extracted DA26/0286 from detail page Saving record DA26/0286 - 16 Iroquois Gardens, Joondalup, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/30a-ackworth-crescent-warwick-grouped-dwelling-(new-two-storey-dwelling) Extracted DA26/0403 from detail page Saving record DA26/0403 - 30A Ackworth Crescent Warwick, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/34-naval-parade,-ocean-reef-grouped-dwelling-(new-two-storey-dwelling) Unable to extract reference from: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/34-naval-parade,-ocean-reef-grouped-dwelling-(new-two-storey-dwelling) Saving record 34 Naval Parade Ocean Reef Grouped Dwelling new t- - 34 Naval Parade, Ocean Reef, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/146-coolibah-drive,-greenwood-%E2%80%93-single-house-(outbuilding-shed-) Extracted DA26/0296 from detail page Saving record DA26/0296 - 146 Coolibah Drive, Greenwood, WA Finished! Added 9 applications, and skipped 0 unprocessable applications from 1 pages.

Data

Downloaded 348 times by dcalde mlandauer Manasaanand qs4v8thvrq-boop 538digital AthleticoPrawn ianheggie-oaf

To download data sign in with GitHub

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

rows 10 / 28

council_reference address description info_url date_scraped on_notice_from on_notice_to
DA26/0214
58 Bernard Manning Drive, Duncraig, WA
Grouped Dwelling (Two New Dwellings)
2026-06-16
2026-06-03
2026-06-17
DA26/0171
8 Laurel Street, Mullaloo, WA
Single House (Additions)
2026-06-16
2026-06-02
2026-06-16
DA26/0287
1 Beach Road, Marmion, WA
Single House (Additions)
2026-06-16
2026-06-02
2026-06-16
DA26/0351
25C Glenmere Road, Warwick, WA
UnHosted Short-Term Accommodation (Change of Use)
2026-06-16
2026-06-02
2026-06-16
DA26/0156
57 Shenton Avenue, Joondalup (Shenton House), WA
Educational Establishment (Change of Use)
2026-06-21
2026-06-08
2026-06-22
DA26/0270 
45B Arkwell Way, Marmion, WA
Single House (New Dwelling)
2026-06-21
2026-06-08
2026-06-22
DA26/0216
14 Casilda Road, Duncraig, WA
Single House (Additions)
2026-06-21
2026-06-08
2026-06-22
DA26/0209
93 Burleigh Drive, Burns Beach, WA
Single House (New Two Storey Dwelling)
2026-06-25
2026-06-12
2026-06-26
DA26/0245
64 High Street, Sorrento, WA
Grouped Dwelling (New Two Storey Dwelling)
2026-06-26
2026-06-12
2026-06-26
DA26/0223
11 Kintyre Place, Kingsley, WA
Single House (Additions)
2026-06-29
2026-06-15
2026-06-29

Statistics

Average successful run time: less than 20 seconds

Total run time: 27 minutes

Total cpu time used: 2 minutes

Total disk space used: 64.5 KB

History

  • Auto ran revision 89126ea2 and completed successfully .
    9 records added, 4 records removed in the database
  • Auto ran revision 89126ea2 and completed successfully .
    9 records added, 9 records removed in the database
  • Auto ran revision 89126ea2 and completed successfully .
    9 records added, 9 records removed in the database
  • Auto ran revision 89126ea2 and completed successfully .
    9 records added, 6 records removed in the database
  • Auto ran revision 89126ea2 and completed successfully .
    6 records added, 6 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

joondalup / scraper.rb