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 1.998s 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/15-newcombe-way,-padbury-%E2%80%93-grouped-dwelling-(three-new-dwellings) Extracted DA26/0593 from detail page Saving record DA26/0593 - 15 Newcombe Way, Padbury, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/70a-talbot-drive,-kingsley-%E2%80%93-grouped-dwelling-(new-dwelling) Extracted DA26/0470 from detail page Saving record DA26/0470 - 70A Talbot Drive, Kingsley, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/33-barradine-way,-craigie-%E2%80%93-grouped-dwelling-(new-dwelling) Extracted DA26/0491 from detail page Saving record DA26/0491 - 33 Barradine Way, Craigie, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/35-forrest-road,-padbury-%E2%80%93-grouped-dwelling-(new-two-storey-dwelling Unable to extract reference from: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/35-forrest-road,-padbury-%E2%80%93-grouped-dwelling-(new-two-storey-dwelling Saving record 35 Forrest Road Padbury Grouped dwelling new two - - 35 Forrest Road, Padbury, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/6-sewell-place,-hillarys-unhosted-short-term-rental-accommodation-(change-of-use) Extracted DA26/0633 from detail page Saving record DA26/0633 - 6 Sewell Place, Hillarys, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/4-lawson-way,-padbury-%E2%80%93-grouped-dwelling-(three-new-dwellings) Extracted DA26/0647 from detail page Saving record DA26/0647 - 4 Lawson Way, Padbury, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/110a-oxley-avenue,-padbury-%E2%80%93-grouped-dwelling-(new-dwelling) Extracted DA26/0462 from detail page Saving record DA26/0462 - 110A Oxley Avenue, Padbury, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/94-caridean-street,-heathridge-%E2%80%93-multiple-dwellings-(8-new-dwellings) Extracted DA26/0603 from detail page Saving record DA26/0603 - 94 Caridean Street, Heathridge, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/3-curacao-lane,-hillarys-%E2%80%93-single-house-(new-dwelling) Extracted DA26/0503 from detail page Saving record DA26/0503 - 3 Curacao Lane, Hillarys, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/5a-hawkins-avenue,-sorrento-%E2%80%93-grouped-dwelling-(new-two-storey-dwelling) Extracted DA26/0472 from detail page Saving record DA26/0472 - 5A Hawkins Avenue, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/601-burns-beach-road,-iluka-%E2%80%93-single-house-(additions) Extracted DA26/0481 from detail page Saving record DA26/0481 - 601 Burns Beach Road, Iluka, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/44a-fortescue-loop,-heathridge-%E2%80%93-grouped-dwelling-(new-dwelling) Extracted DA26/0492 from detail page Saving record DA26/0492 - 44A Fortescue Loop, Heathridge, WA Finished! Added 12 applications, and skipped 0 unprocessable applications from 1 pages.

Data

Downloaded 22379 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 / 37

council_reference address description info_url date_scraped on_notice_from on_notice_to
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
DA26/0562
8 Gwedue Court, Mullaloo, WA
Single House (Outbuilding Addition – Retrospective)
2026-09-10
2026-08-27
2026-09-10
DA26/0479
5 Melo Court, Heathridge, WA
Grouped Dwelling (Two New Dwellings)
2026-09-13
2026-08-31
2026-09-14
DA26/0326
2 Ibis Court, Kingsley, WA
Home Business (Office – Retrospective)
2026-09-18
2026-09-04
2026-09-18
DA26/0457
45 Justin Drive, Sorrento, WA
Grouped Dwelling (Two New Dwellings)
2026-09-18
2026-09-04
2026-09-18
DA26/0523
Joondalup Gate, 57 Joondalup Drive, Edgewater, WA
Fast Food Outlet (Guzman Y Gomez - GYG)
2026-09-18
2026-09-04
2026-09-18

Statistics

Average successful run time: less than 20 seconds

Total run time: 44 minutes

Total cpu time used: 4 minutes

Total disk space used: 233 KB

History

  • Auto ran revision 89126ea2 and completed successfully .
    12 records added, 12 records removed in the database
  • Auto ran revision 89126ea2 and completed successfully .
    12 records added, 12 records removed in the database
  • Auto ran revision 89126ea2 and completed successfully .
    12 records added, 10 records removed in the database
  • Auto ran revision 89126ea2 and completed successfully .
    12 records added, 13 records removed in the database
  • Auto ran revision 89126ea2 and completed successfully .
    12 records added, 7 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

joondalup / scraper.rb