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.393s 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/13-armytage-way,-hillarys-single-house-(new-dwelling) Extracted DA26/0520 from detail page Saving record DA26/0520 - 13 Armytage Way, Hillarys, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/4-hibernia-rise,-sorrento-%E2%80%93-single-house-(new-two-storey-dwelling) Extracted DA26/0539 from detail page Saving record DA26/0539 - 4 Hibernia Rise, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/7-manyarra-turn,-joondalup-%E2%80%93-grouped-dwelling-(new-dwelling) Extracted DA26/0333 from detail page Saving record DA26/0333 - 7 Manyarra Turn, Joondalup, WA 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/lot-519-(no-9)-and-strata-lot-3-(unit-3,-no-1)-gunter-grove,-beldon-(alterations-and-additions-to Extracted DA26/0443 from detail page Warning - Unable to parse address and description from: Lot 519 (No. 9) and Strata Lot 3 (Unit 3, No. 1) Gunter Grove, Beldon (alterations and additions to Beldon Shopping Centre) (skipped) Finished! Added 10 applications, and skipped 1 unprocessable applications from 1 pages.

Data

Downloaded 17984 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 / 30

council_reference address description info_url date_scraped on_notice_from on_notice_to
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
DA26/0374
3 Norlup Place, Heathridge, WA
Unhosted Short Term Rental Accommodation (Change of Use)
2026-07-29
2026-07-16
2026-07-30
DA26/0404
162 Glengarry Drive, Duncraig, WA
Grouped Dwelling (Two New Dwellings)
2026-07-31
2026-07-17
2026-07-31
DA26/0433
18 Seger Street, Burns Beach, WA
Single House (New Two Storey Dwelling)
2026-08-02
2026-07-20
2026-08-03
DA26/0221
10 Castleroy Place, Connolly, WA
Unhosted Short Term Rental Accommodation (Change of Use)
2026-08-06
2026-07-24
2026-08-07
DA26/0375
7 St Patricks Road, Sorrento, WA
Single House (New Two Storey Dwelling)
2026-08-06
2026-07-24
2026-08-07
DA26/0090 
51A Kempenfeldt Avenue, Sorrento, WA
Single House (New Three Storey Dwelling)
2026-08-07
2026-07-24
2026-08-07
DA26/0288
20A Kutcharo Crescent, Joondalup, WA
Grouped Dwelling (One New Single-Storey Dwelling)
2026-08-07
2026-07-24
2026-08-07

Statistics

Average successful run time: less than 20 seconds

Total run time: 33 minutes

Total cpu time used: 3 minutes

Total disk space used: 233 KB

History

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

Show complete history

Scraper code

Ruby

joondalup / scraper.rb