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

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Getting initial page Pausing 1.997s 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-scott-place,-hillarys-%E2%80%93-single-house-(additions) Extracted DA26/0283 from detail page Saving record DA26/0283 - 5 Scott Place, Hillarys, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/20-castella-way,-mullaloo-%E2%80%93-single-house-(additions) Extracted DA26/0184 from detail page Saving record DA26/0184 - 20 Castella Way, Mullaloo, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/11-kintyre-place,-kingsley-%E2%80%93-single-house-(additions) Extracted DA26/0223 from detail page Saving record DA26/0223 - 11 Kintyre Place, Kingsley, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/64-high-street,-sorrento-%E2%80%93-grouped-dwelling-(new-two-storey-dwelling) Extracted DA26/0245 from detail page Saving record DA26/0245 - 64 High Street, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/93-burleigh-drive,-burns-beach-%E2%80%93-single-house-(new-two-storey-dwelling) Extracted DA26/0209 from detail page Saving record DA26/0209 - 93 Burleigh Drive, Burns Beach, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/57-shenton-avenue,-joondalup-(shenton-house)-%E2%80%93-educational-establishment-(change-of-use) Extracted DA26/0156 from detail page Saving record DA26/0156 - 57 Shenton Avenue, Joondalup (Shenton House), WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/45b-arkwell-way,-marmion-%E2%80%93-single-house-(new-dwelling) Extracted DA26/0270  from detail page Saving record DA26/0270  - 45B Arkwell Way, Marmion, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/14-casilda-road,-duncraig-%E2%80%93-single-house-(additions) Extracted DA26/0216 from detail page Saving record DA26/0216 - 14 Casilda Road, Duncraig, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/58-bernard-manning-drive,-duncraig-%E2%80%93-grouped-dwelling-(two-new-dwellings) Extracted DA26/0214 from detail page Saving record DA26/0214 - 58 Bernard Manning Drive, Duncraig, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/8-laurel-street,-mullaloo-%E2%80%93-single-house-(additions) Extracted DA26/0171 from detail page Saving record DA26/0171 - 8 Laurel Street, Mullaloo, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/1-beach-road,-marmion-%E2%80%93-single-house-(additions) Extracted DA26/0287 from detail page Saving record DA26/0287 - 1 Beach Road, Marmion, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/25c-glenmere-road,-warwick-%E2%80%93-unhosted-short-term-accommodation-(change-of-use) Extracted DA26/0351 from detail page Saving record DA26/0351 - 25C Glenmere Road, Warwick, WA Finished! Added 12 applications, and skipped 0 unprocessable applications from 1 pages.

Data

Downloaded 306 times by dcalde mlandauer Manasaanand qs4v8thvrq-boop 538digital AthleticoPrawn ianheggie-oaf

To download data sign in with GitHub

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

rows 10 / 12

council_reference address description info_url date_scraped on_notice_from on_notice_to
DA26/0283
5 Scott Place, Hillarys, WA
Single House (Additions)
2026-06-16
2026-06-16
2026-06-30
DA26/0184
20 Castella Way, Mullaloo, WA
Single House (Additions)
2026-06-16
2026-06-16
2026-06-30
DA26/0223
11 Kintyre Place, Kingsley, WA
Single House (Additions)
2026-06-16
2026-06-15
2026-06-29
DA26/0245
64 High Street, Sorrento, WA
Grouped Dwelling (New Two Storey Dwelling)
2026-06-16
2026-06-12
2026-06-26
DA26/0209
93 Burleigh Drive, Burns Beach, WA
Single House (New Two Storey Dwelling)
2026-06-16
2026-06-12
2026-06-26
DA26/0156
57 Shenton Avenue, Joondalup (Shenton House), WA
Educational Establishment (Change of Use)
2026-06-16
2026-06-08
2026-06-22
DA26/0270 
45B Arkwell Way, Marmion, WA
Single House (New Dwelling)
2026-06-16
2026-06-08
2026-06-22
DA26/0216
14 Casilda Road, Duncraig, WA
Single House (Additions)
2026-06-16
2026-06-08
2026-06-22
DA26/0214
58 Bernard Manning Drive, Duncraig, WA
Grouped Dwelling (Two New Dwellings)
2026-06-16
2026-06-03
2026-06-17
DA26/0171
8 Laurel Street, Mullaloo, WA
Single House (Additions)
2026-06-16
2026-06-02
2026-06-16

Statistics

Average successful run time: less than 20 seconds

Total run time: 23 minutes

Total cpu time used: 2 minutes

Total disk space used: 52.5 KB

History

  • Manually ran revision 89126ea2 and completed successfully .
    12 records added, 37 records removed in the database
  • Manually ran revision 89126ea2 and completed successfully .
    12 records added, 12 records removed in the database
  • Auto ran revision 6ed96851 and completed successfully .
    12 records added, 10 records removed in the database
  • Manually ran and failed .
  • Auto ran revision de14a479 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