ianheggie-oaf / 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.153s 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/184-craigie-drive,-beldon-%E2%80%93-grouped-dwelling-(three-new-dwellings) Extracted DA26/0553 from detail page Saving record DA26/0553 - 184 Craigie Drive, Beldon, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/549-beach-road,-duncraig-%E2%80%93-grouped-dwelling-(four-new-two-storey-dwellings) Extracted DA26/0354 from detail page Saving record DA26/0354 - 549 Beach Road, Duncraig, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/64-high-street,-sorrento-single-house-(new-dwelling) Extracted DA26/0549 from detail page Saving record DA26/0549 - 64 High Street, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/20-winton-road,-joondalup-warehouse-storage-(7-new-warehouses) Extracted DA26/0597 from detail page Saving record DA26/0597 - 20 Winton Road, Joondalup, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/lot-929-(no-1244)-marmion-avenue,-currambine-%E2%80%93-mixed-use-development-(new-swim-school-and-child-car Extracted DA26/0546 from detail page Saving record DA26/0546 - Lot 929 (No. 1244) Marmion Avenue, Currambine, WA Deleting 1 applications scraped between 2026-08-19 and 2026-08-20 Finished! Added 5 applications, and skipped 0 unprocessable applications from 1 pages.

Data

Downloaded 20419 times by ianheggie-oaf tkrikke

To download data sign in with GitHub

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

rows 10 / 29

council_reference address description info_url date_scraped on_notice_from on_notice_to
DA26/0519
111 Oxley Avenue, Padbury, WA
Grouped Dwelling (Three New Two Storey Dwellings)
2026-08-20
2026-08-07
2026-08-21
DA26/0419
551 Beach Road, Duncraig, WA
Grouped Dwelling (Three New Two Storey Dwellings)
2026-08-20
2026-08-07
2026-08-21
DA26/0446
514 Burns Beach Road, Burns Beach, WA
Single House (Patio Addition)
2026-08-20
2026-08-07
2026-08-21
DA26/0500
4A Dorchester Court, Mullaloo, WA
Unhosted Short Term Rental Accommodation (Change of Use)
2026-08-23
2026-08-10
2026-08-24
DA25/0273.01
2/12 Twickenham Drive, Kingsley, WA
Unhosted Short Term Rental Accommodation (Change of Use - Extension of Time for Previous Approved DA25/0273)
2026-08-25
2026-08-11
2026-08-25
DA26/0522
154 Beachside Drive, Burns Beach, WA
Single House (New Two Storey Dwelling)
2026-08-25
2026-08-11
2026-08-25
DA26/0545
41 Horseshoe Road, Burns Beach, WA
Single House (Additions)
2026-08-25
2026-08-11
2026-08-25
DA26/0540
56 Oceanside Promenade, Mullaloo, WA
Single House (New Two Storey Dwelling with Undercroft)
2026-08-26
2026-08-12
2026-08-26
DA26/0513
47/165 Grand Boulevard, Joondalup, WA
Unhosted Short Term Rental Accommodation (Change of Use)
2026-08-27
2026-08-13
2026-08-27
DA26/0348
45A Ellendale Drive, Heathridge, WA
Grouped Dwelling (New Dwelling)
2026-09-01
2026-08-18
2026-09-01

Statistics

Average successful run time: less than 20 seconds

Total run time: 39 minutes

Total cpu time used: 4 minutes

Total disk space used: 233 KB

History

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

Show complete history

Scraper code

Ruby

joondalup / scraper.rb