ianheggie-oaf / wanneroo

City Of Wanneroo Open Planning Proposals


City Of Wanneroo - Planning Proposals Scraper

  • Cookie tracking - No
  • Pagnation - yes, via a flag in json data
  • Javascript - No
  • Clearly defined data within a row - No, data is in a json record, but council reference is inconsistent, sometimes you have to look in various places on detail page
  • System - socialpinpoint and Hive (v5?) - https://docs.strangebee.com/

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

Set MORPH_AUSTRALIAN_PROXY to an Australian proxy, as yoursay.wanneroo.wa.gov.au returns 403 Forbidden to morph.io

To run the scraper

bundle exec ruby scraper.rb

Expected output

Getting planning-proposals page
  Pausing 3.16s
Getting page: 0: https://yoursay.wanneroo.wa.gov.au/ccm/the_hive_projects/tools/the_hive_projects_list/load_more/2693?page=0
/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.
Saving record DA2025/1791 - 33 Ocean Falls Boulevard, Mindarie, WA
Saving record DA2025/1622 - 102 Glasshouse Drive, Banksia Grove, WA
Saving record DA2025/1795 - 111 Girrawheen Avenue, Girrawheen, WA
Saving record DA2025/1536 - 64 Caraway Loop, Two Rocks, WA
Saving record DA2025/1630 - 6 Southampton Lane, Mindarie, WA
Saving record DA2025/1835 - 19 Jamaica Lane, Clarkson, WA
Saving record DA2025/1435 - 35 Blackberry Drive, Ashby, WA
Saving record DA2025/1861 - 4 Corinda Way, Ridgewood, WA
Saving record DA2025/1670 - 23 Sierra Key, Mindarie, WA
  Pausing 0.837s
Getting page: 1: https://yoursay.wanneroo.wa.gov.au/ccm/the_hive_projects/tools/the_hive_projects_list/load_more/2693?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.
Saving record DA2025/1549 - 71 Waddington Crescent, Koondoola, WA
  Pausing 0.837s
  Fetching detail page: https://yoursay.wanneroo.wa.gov.au/jindalee-dap-10-multiple-dwelling-19-bowsprit-view
  Extracted DA2025/1820 from page h1 heading
Saving record DA2025/1820 - 19 Bowsprit View, Jindalee, WA
Saving record DA2025/1635 - 7 Agonis Place, Wanneroo, WA
Saving record DA2025/1821 - DAP - Commercial Development - 37 Amalfi Avenue Mindarie, WA
Saving record DA2025/1524 - 22 McPharlin Avenue, Quinns Rocks, WA
  Pausing 1.154s
  Fetching detail page: https://yoursay.wanneroo.wa.gov.au/draft-local-planning-policy-28-licensed-premises
  Extracted 21033 from contact line instruction
Saving record 21033 - Draft Local Planning Policy 2.8 - Licensed Premises, WA
  Pausing 1.371s
  Fetching detail page: https://yoursay.wanneroo.wa.gov.au/mindarie-amendment-no-234-district-planning-scheme-no-2
  Extracted 54343 from contact line instruction
Saving record 54343 - Mindarie - Amendment No. 234 to District Planning Scheme no. 2, WA
Deleting 0 applications scraped between  and 2025-12-28
  Running VACUUM to reclaim space...
Finished! Added 16 records, and skipped 0 unprocessable records from 2 pages.

Execution time: ~ 15 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... Using Australian proxy... Getting planning-proposals page Pausing 2.881s Getting page: 0: https://yoursay.wanneroo.wa.gov.au/ccm/the_hive_projects/tools/the_hive_projects_list/load_more/2693?page=0 Saving record DA2026/1501 - Proposed Multiple Dwellings - 8 Leach Road, Wanneroo, WA Saving record DA2026/1401 - Proposed Amendment - 24 Midsummer Avenue, Jindalee, WA Saving record DA2026/1316 - Proposed Single House Addition - 65 Conductor Retreat, Mariginiup, WA Saving record DA2026/1515 - Proposed Home Business - 9 Rogart Bend, Butler, WA Saving record DA2026/1422 - Proposed Tavern Addition - 2 Innesvale Way, Carramar, WA Saving record DA2026/1205 - Proposed Change of Use - 17 Trafalgar Gardens, Marangaroo, WA Saving record DA2026/1269 - Proposed Medical Centre & Pharmacy - 2 Pollino Gardens, Landsdale, WA Saving record DA2026/1241 - Proposed Single House Addition - 28 Arduaine St, Landsdale, WA Saving record DA2026/1067 - Temporary Stockpiling - 300 & 216 Neaves Rd, Mariginiup, WA Pausing 1.178s Getting page: 1: https://yoursay.wanneroo.wa.gov.au/ccm/the_hive_projects/tools/the_hive_projects_list/load_more/2693?page=1 Saving record DA2026/1425 - Proposed Additions and Alterations - 34 & 36 Baltimore Prde, Merriwa, WA Saving record DA2026/1347 - Proposed Change of Use - 1 Newmarket Parade, Butler, WA Saving record DA2026/1082 - Proposed Single House - 10 Seahorse Cove, Jindalee, WA Saving record DA2026/1299 - Amendment to Child Care Premises - 3 Shiraz Blvd, Pearsall, WA Saving record DA2026/1122 - Proposed Addition & Home Business - 24 Mindarie Drive, Quinns Rocks, WA Saving record DA2026/1313 - Proposed Change of Use - 3 Earl Court, Merriwa, WA Saving record DA2026/992 - Proposed Tourist & Visitor Accommodation - 198 Mary Street, Wanneroo, WA Finished! Added 16 records, and skipped 0 unprocessable records from 2 pages.

Data

Downloaded 276 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 / 16

council_reference address description info_url date_scraped
DA2026/1501
Proposed Multiple Dwellings - 8 Leach Road, Wanneroo, WA
Wanneroo - Proposed Multiple Dwellings - 8 Leach Road (DA2026/1501)
2026-10-31
DA2026/1401
Proposed Amendment - 24 Midsummer Avenue, Jindalee, WA
Jindalee - Proposed Amendment - 24 Midsummer Avenue (DA2026/1401)
2026-10-31
DA2026/1316
Proposed Single House Addition - 65 Conductor Retreat, Mariginiup, WA
Mariginiup - Proposed Single House Addition - 65 Conductor Retreat
2026-10-31
DA2026/1515
Proposed Home Business - 9 Rogart Bend, Butler, WA
Butler - Proposed Home Business - 9 Rogart Bend (DA2026/1515)
2026-10-31
DA2026/1422
Proposed Tavern Addition - 2 Innesvale Way, Carramar, WA
Carramar - Proposed Tavern Addition - 2 Innesvale Way (DA2026/1422)
2026-10-31
DA2026/1205
Proposed Change of Use - 17 Trafalgar Gardens, Marangaroo, WA
Marangaroo - Proposed Change of Use - 17 Trafalgar Gardens DA2026/1205
2026-10-31
DA2026/1269
Proposed Medical Centre & Pharmacy - 2 Pollino Gardens, Landsdale, WA
Landsdale - Proposed Medical Centre & Pharmacy - 2 Pollino Gardens
2026-10-31
DA2026/1241
Proposed Single House Addition - 28 Arduaine St, Landsdale, WA
Landsdale -Proposed Single House Addition - 28 Arduaine St DA2026/1241
2026-10-31
DA2026/1067
Temporary Stockpiling - 300 & 216 Neaves Rd, Mariginiup, WA
Mariginiup - Temporary Stockpiling - 300 & 216 Neaves Rd - DA2026/1067
2026-10-31
DA2026/1425
Proposed Additions and Alterations - 34 & 36 Baltimore Prde, Merriwa, WA
Merriwa - Proposed Additions and Alterations - 34 & 36 Baltimore Prde
2026-10-31

Statistics

Average successful run time: less than 20 seconds

Total run time: half a minute

Total cpu time used: less than 5 seconds

Total disk space used: 84.6 KB

History

  • Manually ran revision 1e11301b and completed successfully .
    16 records added, 16 records removed in the database
  • Manually ran revision 6fa5ad2e and completed successfully .
    16 records added in the database
  • Manually ran and failed .
  • Created on morph.io

Scraper code

Ruby

wanneroo / scraper.rb