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.064s 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/34-naval-parade,-ocean-reef-grouped-dwelling-(new-two-storey-dwelling) Unable to extract reference from: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/34-naval-parade,-ocean-reef-grouped-dwelling-(new-two-storey-dwelling) Saving record 34 Naval Parade Ocean Reef Grouped Dwelling new t- - 34 Naval Parade, Ocean Reef, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/15-hocking-parade,-sorrento-(sacred-heart-college)-community-purpose-educational-establishment-( Extracted DA20/0613.01 from detail page Saving record DA20/0613.01 - 15 Hocking Parade, Sorrento (Sacred Heart College), WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/28-high-street,-sorrento Extracted DA26/0096 from detail page Saving record DA26/0096 - 28 High Street, Sorrento, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/2-young-place,-padbury-%E2%80%93-grouped-dwelling-(two-new-dwellings) Extracted DA26/0246 from detail page Saving record DA26/0246 - 2 Young Place, Padbury, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/16-tristania-rise,-duncraig-%E2%80%93-grouped-dwelling-(two-new-two-storey-dwellings) Extracted DA26/0314 from detail page Saving record DA26/0314 - 16 Tristania Rise, Duncraig, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/26-blackfriars-road,-joondalup-%E2%80%93-unhosted-short-term-rental-accommodation-(change-of-use) Extracted DA26/0278 from detail page Saving record DA26/0278 - 26 Blackfriars Road, Joondalup, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/71-prince-regent-drive,-heathridge-%E2%80%93-single-house-(additions) Extracted DA26/0240 from detail page Saving record DA26/0240 - 71 Prince Regent Drive, Heathridge, WA Fetching detail page: https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/48-gilbert-road-duncraig-%E2%80%93-single-house-(street-fencing-and-siteworks) Extracted DA26/0080 from detail page Saving record DA26/0080 - 48 Gilbert Road Duncraig, WA 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 Deleting 1 applications scraped between 2026-05-26 and 2026-05-27 Finished! Added 12 applications, and skipped 0 unprocessable applications from 1 pages.

Data

Downloaded 12273 times by ianheggie-oaf

To download data sign in with GitHub

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

rows 10 / 36

council_reference address description info_url date_scraped on_notice_from on_notice_to
DA26/0188
7B Gloriana View, Ocean Reef, WA
Single House (New Two Storey Dwelling)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/7b-gloriana-view,-ocean-reef-–-single-house-(new-two-storey-dwelling)-b78ed12477e5b260645a1aa1dac28554
2026-05-28
2026-05-18
2026-06-01
DA26/0111
4 Rosette Close, Craigie, WA
Grouped Dwelling (Four New Dwellings)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/4-rosette-close,-craigie-–-grouped-dwelling-(four-new-dwellings)
2026-05-28
2026-05-18
2026-06-01
DA26/0173
91A Clontarf Street, Sorrento, WA
Proposed Single House (New Two Storey Dwelling)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/91a-clontarf-street,-sorrento-–-proposed-single-house-(new-two-storey-dwelling)
2026-05-28
2026-05-18
2026-06-01
DA26/0057
8 Third Avenue, Burns Beach, WA
Un-Hosted Short-Term Accommodation (Change of Use)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/8-third-avenue,-burns-beach-–-un-hosted-short-term-accommodation-(change-of-use)
2026-05-28
2026-05-18
2026-06-01
DA26/0309
12 Volute Place, Mullaloo, WA
Single House (Outbuilding [Shed] Addition)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/12-volute-place,-mullaloo-–-single-house-(outbuilding-shed-addition)
2026-06-01
2026-05-21
2026-06-04
DA26/0306
13A Beach Road, Marmion, WA
Grouped Dwelling (New Two Storey Dwelling)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/13a-beach-road,-marmion-–-grouped-dwelling-(new-two-storey-dwelling)
2026-06-01
2026-05-21
2026-06-04
DA25/0320.01
81 Naval Parade, Ocean Reef, WA
Grouped Dwelling (Two New Two Storey Dwellings - Modification to Previous Approved DA23/0320)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/81-naval-parade,-ocean-reef-–-grouped-dwelling-(two-new-two-storey-dwellings-modification-to-previ
2026-06-01
2026-05-20
2026-06-03
DA26/0177
429 Warwick Road, Greenwood, WA
Single House (Ancillary Dwelling {Granny Flat})
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/429-warwick-road,-greenwood-–-single-house-(ancillary-dwelling-{granny-flat})
2026-06-02
2026-05-22
2026-06-05
DA26/0167
2 Drysdale Road, Craigie, WA
Grouped Dwelling (Three New Two Storey Dwellings)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/2-drysdale-road,-craigie-–-grouped-dwelling-(three-new-two-storey-dwellings)
2026-06-07
2026-05-27
2026-06-10
DA26/0365
6 Gregory Avenue, Padbury, WA
Grouped Dwelling (New Two Storey Dwelling)
https://www.joondalup.wa.gov.au/community-and-spaces/community-consultation/6-gregory-ave,-padbury-–-grouped-dwelling-(new-two-storey-dwelling)
2026-06-07
2026-05-27
2026-06-10

Statistics

Average successful run time: less than 20 seconds

Total run time: 20 minutes

Total cpu time used: 2 minutes

Total disk space used: 65.2 KB

History

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

Show complete history

Scraper code

Ruby

joondalup / scraper.rb