planningalerts-scrapers / 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

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 failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Getting planning-proposals page /app/vendor/bundle/ruby/3.2.0/gems/mechanize-2.8.5/lib/mechanize/http/agent.rb:333:in `fetch': 403 => Net::HTTPForbidden for https://yoursay.wanneroo.wa.gov.au/planning-proposals -- unhandled response (Mechanize::ResponseCodeError) from /app/vendor/bundle/ruby/3.2.0/gems/mechanize-2.8.5/lib/mechanize.rb:465:in `get' from scraper.rb:78:in `block in run' from scraper.rb:26:in `throttle_block' from scraper.rb:76:in `run' from scraper.rb:229:in `<main>'

Data

Downloaded 369 times by dcalde mlandauer Manasaanand qs4v8thvrq-boop 538digital AthleticoPrawn benrfairless

To download data sign in with GitHub

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

rows 10 / 23

council_reference address description info_url date_scraped
DA2026/342
Proposed Change of Use - 118 The Broadview, Landsdale, WA
Landsdale - Proposed Change of Use - 118 The Broadview (DA2026/342)
2026-06-01
DA2026/359
Retrospective Additions - 88 Colonial Circle, Gnangara, WA
Gnangara - Retrospective Additions - 88 Colonial Circle (DA2026/359)
2026-06-01
DA2026/510
Proposed Change of Use - 4 Daniel Way, Wanneroo, WA
Wanneroo - Proposed Change of Use - 4 Daniel Way (DA2026/510)
2026-06-01
DA2026/526
Proposed Ancillary Dwelling - 21 Stockholm Road, Wanneroo, WA
Wanneroo - Proposed Ancillary Dwelling - 21 Stockholm Road(DA2026/526)
2026-06-04
DA2026/580
DAP - Warehouse, Service Station and Motor Vehicle Repair, Wangara, WA
Wangara - DAP - Warehouse, Service Station and Motor Vehicle Repair
2026-06-04
47856
Proposed East Wanneroo Precinct 6: Edgar Griffiths Park Structure Plan, WA
Proposed East Wanneroo Precinct 6: Edgar Griffiths Park Structure Plan
2026-06-05
DA2026/503
Retrospective Single House Addition - 149 Tapping Way, Quinns Rocks, WA
Quinns Rocks - Retrospective Single House Addition - 149 Tapping Way
2026-06-08
DA2025/1805
Proposed Single House - 90 Ocean Drive, Quinns Rocks, WA
Quinns Rocks - Proposed Single House - 90 Ocean Drive (DA2025/1805)
2026-06-16
DA2026/512
Proposed Change of Use - 7 Glennon View, Clarkson, WA
Clarkson - Proposed Change of Use - 7 Glennon View (DA2026/512)
2026-06-22
DA2026/504
Proposed Single House - 27 Cashmere Chase, Alkimos, WA
Alkimos - Proposed Single House - 27 Cashmere Chase (DA2026/504)
2026-06-22

Statistics

Average successful run time: less than 20 seconds

Total run time: 25 minutes

Total cpu time used: 2 minutes

Total disk space used: 61.4 KB

History

  • Auto ran revision 197f3abc and failed .
    nothing changed in the database
  • Auto ran revision 197f3abc and failed .
    nothing changed in the database
  • Auto ran revision 197f3abc and failed .
    nothing changed in the database
  • Auto ran revision 197f3abc and failed .
    nothing changed in the database
  • Auto ran revision 197f3abc and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

wanneroo / scraper.rb