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 2.093s 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/84-marine-terrace,-sorrento-–-unhosted-short-term-accommodation-(change-of-use) Extracted DA26/0123 from detail page Saving record DA26/0123 - 84 Marine Terrace, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/43-tasman-road,-beldon-single-house-(outbuilding-addition) Extracted DA26/0030 from detail page Saving record DA26/0030 - 43 Tasman Road, Beldon, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/9-flamenco-street,-burns-beach-–-single-house-(new-two-storey-dwelling) Unable to extract reference from: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/9-flamenco-street,-burns-beach-–-single-house-(new-two-storey-dwelling) Saving record 9 Flamenco Street Burns Beach Single house new tw- - 9 Flamenco Street, Burns Beach, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/8a-frobisher-avenue,-sorrento-–-single-house-(new-two-storey-dwelling) Extracted DA25/0838 from detail page Saving record DA25/0838 - 8A Frobisher Avenue, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/100-lymburner-drive,-hillarys-–-unhosted-short-term-rental-accommodation-(change-of-use) Extracted DA26/0082 from detail page Saving record DA26/0082 - 100 Lymburner Drive, Hillarys, WA Finished! Added 5 applications, and skipped 0 unprocessable applications from 1 pages.

Data

Downloaded 129 times by dcalde mlandauer Manasaanand

To download data sign in with GitHub

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

rows 10 / 23

council_reference address description info_url date_scraped on_notice_from on_notice_to
21 Injune Way Joondalup Educational Establishment-
21 Injune Way, Joondalup, WA
Educational Establishment (new training facility)
2026-03-03
2026-02-17
2026-03-03
DA25/0845
12 Aspendale Place, Hillarys, WA
Un-hosted short term rental accommodation (change of use)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/12-aspendale-place,-hillarys-–-un-hosted-short-term-rental-accommodation-(change-of-use)
2026-03-04
2026-02-18
2026-03-04
DA26/0008
24A Kingsley Drive, Kingsley, WA
Grouped dwelling (new dwelling)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/24a-kingsley-drive,-kingsley-–-grouped-dwelling-(new-dwelling)
2026-03-05
2026-02-20
2026-03-06
DA26/0093
6 Cockpit Way, Ocean Reef, WA
Single house (outbuilding addition)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/6-cockpit-way,-ocean-reef-–-single-house-(outbuilding-addition)
2026-03-05
2026-02-20
2026-03-06
3 Caprice Place Heathridge Grouped dwelling new s-
3 Caprice Place, Heathridge, WA
Grouped dwelling (new single-storey dwelling)
2026-03-09
2026-02-23
2026-03-09
DA25/0908
110 Gradient Way, Beldon, WA
Single House (Outbuilding)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/110-gradient-way,-beldon-–-single-house-(outbuilding)
2026-03-10
2026-02-26
2026-03-12
DA26/0095
10 Reacher Place, Ocean Reef, WA
Single house (garage addition)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/10-reacher-place,-ocean-reef-–-single-house-(garage-addition)
2026-03-11
2026-02-27
2026-03-13
DA25/0996
3 Weldwood Road, Ocean Reef, WA
Single house (patio addition)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/3-weldwood-road,-ocean-reef-–-single-house-(patio-addition)
2026-03-11
2026-02-26
2026-03-12
DA25/0866
16A St Ives Loop, Kallaroo, WA
Single house (two storey new dwelling)
2026-03-11
2026-02-26
2026-03-12
DA26/0031
29 Korella Street, Mullaloo, WA
Unhosted short term rental accommodation (change of use)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/29-korella-street,-mullaloo-–-unhosted-short-term-rental-accommodation-(change-of-use)
2026-03-12
2026-02-27
2026-03-13

Statistics

Average successful run time: less than 20 seconds

Total run time: 5 minutes

Total cpu time used: half a minute

Total disk space used: 55.8 KB

History

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

Show complete history

Scraper code

Ruby

joondalup / scraper.rb