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.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/45a-ellendale-drive,-heathridge-%E2%80%93-grouped-dwelling-(new-dwelling) Extracted DA26/0348 from detail page Saving record DA26/0348 - 45A Ellendale Drive, Heathridge, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/9-gilbert-road,-duncraig-%E2%80%93-grouped-dwelling-(two-new-dwellings) Extracted DA26/0448 from detail page Saving record DA26/0448 - 9 Gilbert Road, Duncraig, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/47-165-grand-boulevard,-joondalup-%E2%80%93-unhosted-short-term-rental-accommodation-(change-of-use) Extracted DA26/0513 from detail page Saving record DA26/0513 - 47/165 Grand Boulevard, Joondalup, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/56-oceanside-promenade,-mullaloo-%E2%80%93-single-house-(new-two-storey-dwelling-with-undercroft) Extracted DA26/0540 from detail page Saving record DA26/0540 - 56 Oceanside Promenade, Mullaloo, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/2-12-twickenham-drive,-kingsley-%E2%80%93-unhosted-short-term-rental-accommodation-(change-of-use-extensio Extracted DA25/0273.01 from detail page Saving record DA25/0273.01 - 2/12 Twickenham Drive, Kingsley, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/154-beachside-drive,-burns-beach-%E2%80%93-single-house-(new-two-storey-dwelling) Extracted DA26/0522 from detail page Saving record DA26/0522 - 154 Beachside Drive, Burns Beach, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/41-horseshoe-road,-burns-beach-%E2%80%93-single-house-(additions) Extracted DA26/0545 from detail page Saving record DA26/0545 - 41 Horseshoe Road, Burns Beach, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/4a-dorchester-court,-mullaloo-%E2%80%93-change-of-use-(unhosted-short-term-rental-accommodation) Extracted DA26/0500 from detail page Saving record DA26/0500 - 4A Dorchester Court, Mullaloo, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/111-oxley-avenue,-padbury-%E2%80%93-grouped-dwelling-(three-new-two-storey-dwellings) Extracted DA26/0519 from detail page Saving record DA26/0519 - 111 Oxley Avenue, Padbury, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/551-beach-road,-duncraig-%E2%80%93-grouped-dwelling-(three-new-two-storey-dwellings)-72a0430147cd7b2d8b445260a8d35b4d Extracted DA26/0419 from detail page Saving record DA26/0419 - 551 Beach Road, Duncraig, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/514-burns-beach-road,-burns-beach-%E2%80%93-single-house-(patio-addition) Extracted DA26/0446 from detail page Saving record DA26/0446 - 514 Burns Beach Road, Burns Beach, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/19a-mabena-place,-ocean-reef-%E2%80%93-grouped-dwelling-(new-two-storey-dwelling) Extracted DA26/0438 from detail page Saving record DA26/0438 - 19A Mabena Place, Ocean Reef, WA Finished! Added 12 applications, and skipped 0 unprocessable applications from 1 pages.

Data

Downloaded 17343 times by ianheggie-oaf

To download data sign in with GitHub

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

rows 10 / 34

council_reference address description info_url date_scraped on_notice_from on_notice_to
DA26/0358
63 Regents Park Road, Joondalup, WA
Restaurant/Café (Alfresco Addition)
2026-07-19
2026-07-07
2026-07-21
DA26/0251
50 Forest Hill Drive, Kingsley, WA
Grouped Dwelling (Two New Single Storey Dwellings)
2026-07-22
2026-07-08
2026-07-22
DA26/0382
25 Fernlea Street, Warwick, WA
Grouped Dwelling (Three New Dwellings)
2026-07-22
2026-07-08
2026-07-22
DA26/0402
284 Beachside Drive, Burns Beach, WA
Single House (New Two Storey Dwelling)
2026-07-23
2026-07-10
2026-07-24
DA26/0204
9 Furl Court, Ocean Reef, WA
Home Business (Wellness Hub [Traditional Sauna & Ice Bath])
2026-07-23
2026-07-10
2026-07-24
DA26/0381
4 Lomond Road, Greenwood, WA
Single House (New Two Storey Dwelling)
2026-07-24
2026-07-10
2026-07-24
DA26/0321
180 Lilburne Road, Duncraig, WA
Single House (Additions)
2026-07-24
2026-07-10
2026-07-24
DA26/0384
15 Delage Street, Joondalup, WA
Warehouse/Storage (10 New Warehouses)
2026-07-27
2026-07-13
2026-07-27
DA26/0428
50 Korella Street, Mullaloo, WA
Grouped Dwelling (Two New Two Storey Dwellings)
2026-07-27
2026-07-13
2026-07-27
DA26/0454
27 Cardiff Gate, Iluka, WA
Home Business (Dog Grooming)
2026-07-27
2026-07-13
2026-07-27

Statistics

Average successful run time: less than 20 seconds

Total run time: 32 minutes

Total cpu time used: 3 minutes

Total disk space used: 233 KB

History

  • Auto ran revision 89126ea2 and completed successfully .
    12 records added, 10 records removed in the database
  • Auto ran revision 89126ea2 and completed successfully .
    11 records added, 11 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, 13 records removed in the database
  • Auto ran revision 89126ea2 and completed successfully .
    12 records added, 11 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

joondalup / scraper.rb