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 completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Getting planning-proposals page Pausing 3.374s 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/469 - 4 Warnford Street, Butler, WA /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. Saving record DA2026/381 - Change of Use - 12 Haga Parkway, Landsdale, WA Saving record DA2026/478 - Proposed Single House Addition - 19 Danja Rise, Hocking, WA Saving record DA2026/373 - Proposed Single House Addition - 32 Apsley Bend, Tapping, WA Saving record DA2026/323 - Single House Addition - 38 Barquentine Avenue, Jindalee, WA Saving record DA2026/214 - Proposed Single House - 78 Driver Road, Darch, WA Saving record DA2026/382 - Single House Addition - 16 Featherstone Gardens, Butler, WA Saving record DA2025/1209 - Single House Addition - 37 Heathfield Drive, Landsdale, WA Pausing 0.835s Fetching detail page: https://yoursay.wanneroo.wa.gov.au/proposed-east-wanneroo-precinct-6-edgar-griffiths-park-structure-plan Extracted 47856 from contact line instruction Saving record 47856 - Proposed East Wanneroo Precinct 6: Edgar Griffiths Park Structure Plan, WA Finished! Added 9 records, and skipped 0 unprocessable records from 1 pages.

Data

Downloaded 249 times by dcalde mlandauer Manasaanand qs4v8thvrq-boop benrfairless

To download data sign in with GitHub

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

rows 10 / 17

council_reference address description info_url date_scraped
DA2026/23
Proposed Ancillary Accommodation - 84 Mindarie Drive, Quinns Rocks, WA
Quinns Rocks - Proposed Ancillary Accommodation - 84 Mindarie Drive
2026-04-07
DA2026/137
Proposed Additions - 61 Charnwood Avenue, Two Rocks, WA
Two Rocks - Proposed Additions - 61 Charnwood Avenue (DA2026/137)
2026-04-09
DA2026/231
Proposed Addition - 3 Jeddah Court, Mindarie, WA
Mindarie - Proposed Addition - 3 Jeddah Court (DA2026/231)
2026-04-10
DA2026/130
Proposed Single House - 2 St Malo Court, Mindarie, WA
Mindarie - Proposed Single House - 2 St Malo Court (DA2026/130)
2026-04-13
DA2026/159
Proposed Single House - 22 Caricature Street, Alkimos, WA
Alkimos - Proposed Single House - 22 Caricature Street (DA2026/159)
2026-04-20
DA2026/280
54 Driver Road, Darch, WA
Darch – Proposed Single House – 54 Driver Road (DA2026/280)
2026-04-24
DA2026/386
64 Benson Loop, Alkimos, WA
Alkimos – Single House Addition - Skillion Roof Patio – 64 Benson Loop
2026-04-27
40148
Draft Local Planning Policy 4.26: Exemptions from Development Approval, WA
Draft Local Planning Policy 4.26: Exemptions from Development Approval
2026-04-30
DA2026/469
4 Warnford Street, Butler, WA
Butler - 4 Warnford Street (DA2026/469)
2026-05-06
DA2026/381
Change of Use - 12 Haga Parkway, Landsdale, WA
Landsdale - Change of Use - 12 Haga Parkway (DA2026/381)
2026-05-06

Statistics

Average successful run time: less than 20 seconds

Total run time: 13 minutes

Total cpu time used: 1 minute

Total disk space used: 57.4 KB

History

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

Show complete history

Scraper code

Ruby

wanneroo / scraper.rb