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.097s 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 4952 times by ianheggie-oaf

To download data sign in with GitHub

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

rows 8 / 8

council_reference address description info_url date_scraped on_notice_from on_notice_to
DA25/0989
301 Camberwarra Drive, Craigie, WA
Grouped dwelling (two new dwellings and modification to existing dwelling)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/301-camberwarra-drive,-craigie-–-grouped-dwelling-(two-new-dwellings-and-modification-to-existing-dw
2026-03-23
2026-03-10
2026-03-24
DA26/0043
144 Beachside Drive, Burns Beach, WA
Single house (new two storey dwelling)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/144-beachside-drive,-burns-beach-–-single-house-(new-two-storey-dwelling)
2026-03-23
2026-03-10
2026-03-24
DA25/0960
3A Baxter Way, Padbury, WA
Grouped dwelling (new single storey dwelling)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/3a-baxter-way,-padbury-–-proposed-grouped-dwelling-(new-single-storey-dwelling)
2026-03-23
2026-03-09
2026-03-23
DA26/0123
84 Marine Terrace, Sorrento, WA
Unhosted short-term accommodation (change of use)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/84-marine-terrace,-sorrento-–-unhosted-short-term-accommodation-(change-of-use)
2026-03-25
2026-03-13
2026-03-27
DA26/0030
43 Tasman Road, Beldon, WA
Single house (outbuilding addition)
2026-03-25
2026-03-13
2026-03-27
9 Flamenco Street Burns Beach Single house new tw-
9 Flamenco Street, Burns Beach, WA
Single house (new two storey dwelling)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/9-flamenco-street,-burns-beach-–-single-house-(new-two-storey-dwelling)
2026-03-25
2026-03-12
2026-03-26
DA25/0838
8A Frobisher Avenue, Sorrento, WA
Single house (new two storey dwelling)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/8a-frobisher-avenue,-sorrento-–-single-house-(new-two-storey-dwelling)
2026-03-25
2026-03-12
2026-03-26
DA26/0082
100 Lymburner Drive, Hillarys, WA
Unhosted short-term rental accommodation (change of use)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/100-lymburner-drive,-hillarys-–-unhosted-short-term-rental-accommodation-(change-of-use)
2026-03-25
2026-03-12
2026-03-26

Statistics

Average successful run time: less than 20 seconds

Total run time: less than a minute

Total cpu time used: less than 10 seconds

Total disk space used: 46.9 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 .
    5 records added, 5 records removed in the database
  • Auto ran revision de14a479 and completed successfully .
    8 records added, 8 records removed in the database
  • Manually ran revision de14a479 and completed successfully .
    8 records added, 10 records removed in the database
  • Manually ran revision de14a479 and completed successfully .
    10 records added in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

joondalup / scraper.rb