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 benrfairless

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Getting initial page Getting page 1 Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/51a-kempenfeldt-avenue%2C-sorrento-%E2%80%93-single-house-%28new-three-storey-dwelling%29 Extracted DA26/0090  from detail page Saving record DA26/0090  - 51A Kempenfeldt Avenue, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/20a-kutcharo-crescent%2C-joondalup-grouped-dwelling-%28one-new-single-storey-dwelling%29 Extracted DA26/0288 from detail page Saving record DA26/0288 - 20A Kutcharo Crescent, Joondalup, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/10-castleroy-place%2C-connolly-unhosted-short-term-rental-accommodation-%28change-of-use%29 Extracted DA26/0221 from detail page Saving record DA26/0221 - 10 Castleroy Place, Connolly, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/7-st-patricks-road%2C-sorrento-%E2%80%93-single-house-%28new-two-storey-dwelling%29 Extracted DA26/0375 from detail page Saving record DA26/0375 - 7 St Patricks Road, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/18-seger-street%2C-burns-beach-%E2%80%93-single-house-%28new-two-storey-dwelling%29 Extracted DA26/0433 from detail page Saving record DA26/0433 - 18 Seger Street, Burns Beach, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/162-glengarry-drive%2C-duncraig-%E2%80%93-grouped-dwelling-%28two-new-dwellings%29 Extracted DA26/0404 from detail page Saving record DA26/0404 - 162 Glengarry Drive, Duncraig, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/3-norlup-place%2C-heathridge-unhosted-short-term-rental-accommodation-%28change-of-use%29 Extracted DA26/0374 from detail page Saving record DA26/0374 - 3 Norlup Place, Heathridge, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/15-delage-street%2C-joondalup-warehouse-storage-%2810-new-warehouses%29 Extracted DA26/0384 from detail page Saving record DA26/0384 - 15 Delage Street, Joondalup, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/50-korella-street%2C-mullaloo-%E2%80%93-grouped-dwelling-%28two-new-two-storey-dwellings%29 Extracted DA26/0428 from detail page Saving record DA26/0428 - 50 Korella Street, Mullaloo, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/27-cardiff-gate%2C-iluka-%E2%80%93-home-business-%28dog-grooming%29 Extracted DA26/0454 from detail page Saving record DA26/0454 - 27 Cardiff Gate, Iluka, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/1-boronia-court%2C-greenwood-%E2%80%93-grouped-dwelling-%28three-new-dwellings%29 Extracted DA26/0421 from detail page Saving record DA26/0421 - 1 Boronia Court, Greenwood, WA Deleting 1 applications scraped between 2026-06-26 and 2026-06-27 Finished! Added 11 applications, and skipped 0 unprocessable applications from 1 pages.

Data

Downloaded 388 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 (32 KB) Use the API

rows 10 / 36

council_reference address description info_url date_scraped on_notice_from on_notice_to
DA26/0223
11 Kintyre Place, Kingsley, WA
Single House (Additions)
2026-06-29
2026-06-15
2026-06-29
DA26/0283
5 Scott Place, Hillarys, WA
Single House (Additions)
2026-06-30
2026-06-16
2026-06-30
DA26/0184
20 Castella Way, Mullaloo, WA
Single House (Additions)
2026-06-30
2026-06-16
2026-06-30
DA26/0240
71 Prince Regent Drive, Heathridge, WA
Single House (Additions)
2026-07-01
2026-06-18
2026-07-02
DA26/0080
48 Gilbert Road Duncraig, WA
Single House (Street Fencing and Siteworks)
2026-07-01
2026-06-18
2026-07-02
DA20/0613.01
15 Hocking Parade, Sorrento (Sacred Heart College), WA
Community Purpose & Educational Establishment (Modifications to Previously Approved Events Management Plan)
2026-07-06
2026-06-22
2026-07-06
DA26/0096
28 High Street, Sorrento, WA
Single House (New Two Storey Dwelling with Undercroft)
2026-07-06
2026-06-22
2026-07-06
DA26/0246
2 Young Place, Padbury, WA
Grouped Dwelling (Two New Dwellings)
2026-07-06
2026-06-22
2026-07-06
DA26/0314
16 Tristania Rise, Duncraig, WA
Grouped Dwelling (Two New Two Storey Dwellings)
2026-07-06
2026-06-22
2026-07-06
DA26/0278
26 Blackfriars Road, Joondalup, WA
Unhosted Short Term Rental Accommodation (Change of Use)
2026-07-06
2026-06-22
2026-07-06

Statistics

Average successful run time: less than 20 seconds

Total run time: 32 minutes

Total cpu time used: 3 minutes

Total disk space used: 2.17 MB

History

  • Auto ran revision 1b5d98b3 and completed successfully .
    11 records added, 11 records removed in the database
  • Auto ran revision 1b5d98b3 and completed successfully .
    10 records added, 11 records removed in the database
  • Auto ran revision 1b5d98b3 and completed successfully .
    10 records added, 10 records removed in the database
  • Auto ran revision 1b5d98b3 and completed successfully .
    12 records added, 8 records removed in the database
  • Auto ran revision 1b5d98b3 and completed successfully .
    10 records added, 10 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

joondalup / scraper.rb