planningalerts-scrapers / 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 benrfairless

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Getting initial page Getting page 1 Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/17-gascoyne-avenue%2C-woodvale-%E2%80%93-single-house-%28front-fence-addition%29 Extracted DA26/0668 from detail page Saving record DA26/0668 - 17 Gascoyne Avenue, Woodvale, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/10-tabard-street%2C-greenwood-%E2%80%93-grouped-dwelling-%28one-new-dwelling-and-one-new-two-storey-dwelling%29 Extracted DA26/0747 from detail page Saving record DA26/0747 - 10 Tabard Street, Greenwood, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/30-solander-road%2C-hillarys-grouped-dwelling-%28two-new-two-storey-dwellings%29-643f89d1d9ac36b6793ef56611b754d7 Extracted DA26/0717 from detail page Saving record DA26/0717 - 30 Solander Road, Hillarys, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/40b-forest-hill-drive%2C-kingsley-home-business-%28dog-grooming%29 Extracted DA26/0606 from detail page Saving record DA26/0606 - 40B Forest Hill Drive, Kingsley, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/7-highfield-rise-hillarys%2C-single-house-%28additions%29 Extracted DA26/0705 from detail page Warning - Unable to parse address and description from: 7 Highfield Rise Hillarys, single house (additions) (skipped) Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/8a-bowstring-place%2C-joondalup-grouped-dwelling-%28new-dwelling%29 Extracted DA26/0731 from detail page Saving record DA26/0731 - 8A Bowstring Place, Joondalup, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/9-lawson-way%2C-padbury-%28new-dwelling-and-additions-to-existing-dwelling%29 Extracted DA26/0687 from detail page Warning - Unable to parse address and description from: 9 Lawson Way, Padbury (new dwelling and additions to existing dwelling) (skipped) Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/156-beachside-drive%2C-burns-beach-%28new-two-storey-dwelling-modifications-to-previous-approved-da25 Extracted DA25/0711.01 from detail page Saving record DA25/0711.01 - 156 Beachside Drive, Burns Beach (new two storey dwelling, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/106-west-coast-drive%2C-sorrento Extracted DA26/0659 from detail page Warning - Unable to parse address and description from: 106 West Coast Drive, Sorrento (single house additions) (skipped) Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/4-martinique-mews-hillarys-un-hosted-short-term-rental-accommodation Extracted DA25/0673.01 from detail page Saving record DA25/0673.01 - 4 Martinique Mews Hillarys, WA Finished! Added 7 applications, and skipped 3 unprocessable applications from 1 pages.

Data

Downloaded 556 times by mlandauer dcalde tkrikke Manasaanand qs4v8thvrq-boop 538digital AthleticoPrawn ianheggie-oaf Joel-Tan_valocity

To download data sign in with GitHub

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

rows 10 / 27

council_reference address description info_url date_scraped on_notice_from on_notice_to
DA26/0481
601 Burns Beach Road, Iluka, WA
Single House (Additions)
2026-10-11
2026-09-29
2026-10-13
DA26/0492
44A Fortescue Loop, Heathridge, WA
Grouped Dwelling (New Dwelling)
2026-10-11
2026-09-29
2026-10-13
DA26/0503
3 Curacao Lane, Hillarys, WA
Single House (New Dwelling)
2026-10-12
2026-10-05
2026-10-19
DA26/0472
5A Hawkins Avenue, Sorrento, WA
Grouped dwelling (new two storey dwelling)
2026-10-12
2026-10-05
2026-10-19
DA26/0462
110A Oxley Avenue, Padbury, WA
grouped dwelling (new dwelling)
2026-10-16
2026-10-06
2026-10-20
DA26/0491
33 Barradine Way, Craigie, WA
Grouped Dwelling (New Dwelling)
2026-10-20
2026-10-06
2026-10-20
35 Forrest Road Padbury Grouped dwelling new two -
35 Forrest Road, Padbury, WA
Grouped dwelling (new two storey dwelling)
2026-10-20
2026-10-06
2026-10-20
DA26/0633
6 Sewell Place, Hillarys, WA
unhosted short term rental accommodation (change of use)
2026-10-20
2026-10-06
2026-10-20
DA26/0647
4 Lawson Way, Padbury, WA
grouped dwelling (three new dwellings)
2026-10-20
2026-10-06
2026-10-20
DA26/0593
15 Newcombe Way, Padbury, WA
grouped dwelling (three new dwellings)
2026-10-22
2026-10-08
2026-10-22

Statistics

Average successful run time: less than 20 seconds

Total run time: about 1 hour

Total cpu time used: 5 minutes

Total disk space used: 2.18 MB

History

  • Auto ran revision c56eb95c and completed successfully .
    7 records added, 6 records removed in the database
  • Auto ran revision c56eb95c and completed successfully .
    6 records added, 7 records removed in the database
  • Auto ran revision c56eb95c and completed successfully .
    6 records added, 7 records removed in the database
  • Auto ran revision c56eb95c and completed successfully .
    6 records added, 3 records removed in the database
  • Auto ran revision c56eb95c and completed successfully .
    3 records added, 8 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

joondalup / scraper.rb