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.121s 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/5-alycon-place,-kallaroo-unhosted-short-term-rental-accommodation-(change-of-use) Extracted DA26/0565 from detail page Saving record DA26/0565 - 5 Alycon Place, Kallaroo, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/109-marine-terrace,-sorrento-%E2%80%93-grouped-dwelling-(two-new-two-storey-dwellings) Extracted DA26/0525 from detail page Saving record DA26/0525 - 109 Marine Terrace, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/2-craigie-drive,-craigie-%E2%80%93-grouped-dwelling-(two-new-dwellings) Extracted DA26/0509 from detail page Saving record DA26/0509 - 2 Craigie Drive, Craigie, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/10-sweeny-way,-padbury-single-house-(additions) Extracted DA26/0572 from detail page Saving record DA26/0572 - 10 Sweeney Way, Padbury, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/15-glenunga-way,-craigie-%E2%80%93-home-business-(consulting-rooms) Extracted DA26/0608 from detail page Saving record DA26/0608 - 15 Glenunga Way, Craigie, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/3-marine-terrace-sorrento-%E2%80%93-unhosted-short-term-rental-accommodation-(change-of-use) Extracted DA26/0506 from detail page Saving record DA26/0506 - 3 Marine Terrace Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/24-(lot-60)-hawkins-avenue,-sorrento-grouped-dwellings-(two-new-two-storey-dwellings-with-an-underc Extracted DA26/0267 from detail page Warning - Unable to parse address and description from: 24 Hawkins Avenue, Sorrento: Grouped Dwellings (Two New Two-Storey Dwellings with an Undercroft) (skipped) Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/38a-peppermint-drive,-greenwood-single-house-(new-two-storey-dwelling) Extracted DA26/0434 from detail page Saving record DA26/0434 - 38A Peppermint Drive, Greenwood, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/st-marks-anglican-community-school,-20-st-marks-drive-hillarys-educational-establishment-(proposed Extracted DA26/0409 from detail page Saving record DA26/0409 - St Marks Anglican Community School, 20 St Marks Drive Hillarys, WA 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/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 Finished! Added 11 applications, and skipped 1 unprocessable applications from 1 pages.

Data

Downloaded 21183 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 / 28

council_reference address description info_url date_scraped on_notice_from on_notice_to
DA26/0348
45A Ellendale Drive, Heathridge, WA
Grouped Dwelling (New Dwelling)
2026-09-01
2026-08-18
2026-09-01
DA26/0448
9 Gilbert Road, Duncraig, WA
Grouped Dwelling (Two New Dwellings)
2026-09-01
2026-08-18
2026-09-01
DA26/0333
7 Manyarra Turn, Joondalup, WA
Grouped Dwelling (New Dwelling)
2026-09-02
2026-08-20
2026-09-03
DA26/0539
4 Hibernia Rise, Sorrento, WA
Single House (New Two Storey Dwelling)
2026-09-03
2026-08-21
2026-09-04
DA26/0520
13 Armytage Way, Hillarys, WA
Single House (New Dwelling)
2026-09-06
2026-08-24
2026-09-07
DA26/0464
23 Elderslie Way, Duncraig, WA
Home Business (Hair Salon)
2026-09-10
2026-08-27
2026-09-10
DA26/0372
14A West Coast Drive, Marmion, WA
Single House (New Two Storey Dwelling)
2026-09-10
2026-08-27
2026-09-10
DA26/0547
36 Sheppard Way, Marmion, WA
Single House (New Dwelling)
2026-09-10
2026-08-27
2026-09-10
DA26/0456
40 Korella Street Mullaloo, WA
Single House (New Two Storey Dwelling)
2026-09-10
2026-08-27
2026-09-10
DA26/0469
19 Traverse Road, Mullaloo, WA
Single House (Additions and Alterations)
2026-09-10
2026-08-27
2026-09-10

Statistics

Average successful run time: less than 20 seconds

Total run time: 41 minutes

Total cpu time used: 4 minutes

Total disk space used: 233 KB

History

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

Show complete history

Scraper code

Ruby

joondalup / scraper.rb