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 2.924s Getting page: 0: https://yoursay.wanneroo.wa.gov.au/ccm/the_hive_projects/tools/the_hive_projects_list/load_more/2693?page=0 Pausing 0.955s /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://yoursay.wanneroo.wa.gov.au/alkimos-proposed-change-use-holiday-house-27-stencil-street Extracted DA2025/1827 from contact line Saving record DA2025/1827 - Alkimos - Proposed Change of Use (Holiday House) - 27 Stencil Street, WA Saving record DA2025/1825 - DAP - 2570K Marmion Avenue, Alkimos, WA Saving record DA2025/1574 - Two Rocks - Bulk Earthworks and Clearing - 77k Lisford Ave, WA Saving record DA2026/170 - Mindarie - Change of Use to Small Bar - 15 Boston Quays, WA Pausing 1.149s Fetching detail page: https://yoursay.wanneroo.wa.gov.au/mindarie-proposed-single-house-36-portus-crescent Extracted DA2026/79 from page h1 heading Saving record DA2026/79 - Mindarie - Proposed Single House - 36 Portus Crescent, WA Saving record DA2025/1763 - Banksia Grove - Change of Use (Church) - Unit 1 1 Fairywren Street, WA Saving record DA2025/1819 - – Stockpiling - 191, 207, 215, 223, & 220 Elliot Road, Wanneroo, WA Saving record DA2026/29 - 12 Mcpherson Avenue, Clarkson, WA Pausing 1.289s Fetching detail page: https://yoursay.wanneroo.wa.gov.au/draft-local-planning-policy-43-public-open-space Extracted 3443 from contact line instruction Saving record 3443 - Draft Local Planning Policy 4.3 - Public Open Space, WA Finished! Added 9 records, and skipped 0 unprocessable records from 1 pages.

Data

Downloaded 101 times by dcalde mlandauer Manasaanand benrfairless

To download data sign in with GitHub

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

rows 10 / 13

council_reference address description info_url date_scraped
DA2025/689
Yanchep - Single House Addition (Patio) - 70 Beachside Parade, WA
Yanchep - Single House Addition (Patio) - 70 Beachside Parade
2026-03-02
DA2025/1737
Pearsall - Single House Addition - 71 Archer Street -, WA
Pearsall - Single House Addition - 71 Archer Street - DA2025/1737
2026-03-02
DA2025/1254
Single House Addition - 108 Via Vista -, Mariginiup, WA
Mariginiup - Single House Addition - 108 Via Vista - (DA2025/1254)
2026-03-02
DA2026/133
Two Rocks - Change of Use (Holiday House) - 52 Weatherley Drive, WA
Two Rocks - Change of Use (Holiday House) - 52 Weatherley Drive
2026-03-03
DA2025/1827
Alkimos - Proposed Change of Use (Holiday House) - 27 Stencil Street, WA
Alkimos - Proposed Change of Use (Holiday House) - 27 Stencil Street
2026-03-05
DA2025/1825
DAP - 2570K Marmion Avenue, Alkimos, WA
Alkimos - DAP - 2570K Marmion Avenue (DA2025/1825)
2026-03-05
DA2025/1574
Two Rocks - Bulk Earthworks and Clearing - 77k Lisford Ave, WA
Two Rocks - Bulk Earthworks and Clearing - 77k Lisford Ave
2026-03-05
DA2026/170
Mindarie - Change of Use to Small Bar - 15 Boston Quays, WA
Mindarie - Change of Use to Small Bar - 15 Boston Quays (DA2026/170)
2026-03-05
DA2026/79
Mindarie - Proposed Single House - 36 Portus Crescent, WA
Mindarie - Proposed Single House - 36 Portus Crescent
2026-03-05
DA2025/1763
Banksia Grove - Change of Use (Church) - Unit 1 1 Fairywren Street, WA
Banksia Grove - Change of Use (Church) - Unit 1 1 Fairywren Street
2026-03-05

Statistics

Average successful run time: less than 20 seconds

Total run time: 2 minutes

Total cpu time used: less than 20 seconds

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 .
    9 records added, 20 records removed in the database
  • Auto ran revision 197f3abc and completed successfully .
    10 records added, 9 records removed in the database
  • Auto ran revision 197f3abc and completed successfully .
    11 records added, 11 records removed in the database
  • Auto ran revision 197f3abc and completed successfully .
    11 records added, 11 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

wanneroo / scraper.rb