planningalerts-scrapers / bawbaw

Baw Baw Shire Council Planning Applications


Baw Baw Shire Council Planning Applications Scraper

  • Cookie tracking - No
  • Pagnation - No
  • Javascript - No
  • Clearly defined data within a row - Yes

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

Injecting configuration and compiling...
Injecting scraper and running...
Scraping page...
Saving application: PLA0146/25
Scraping complete!

Execution time: ~ 5 seconds

To run style and coding checks

bundle exec rubocop

To check for security updates

gem install bundler-audit
bundle-audit

Contributors flying-feline mlandauer MichaelBone benrfairless ianheggie-oaf

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... [1G [1G-----> Ruby app detected [1G-----> Installing bundler 2.3.10 [1G-----> Removing BUNDLED WITH version in the Gemfile.lock [1G-----> Compiling Ruby [1G-----> Using Ruby version: ruby-3.2.2 [1G-----> Installing dependencies using bundler 2.3.10 [1G Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4 [1G Fetching gem metadata from https://rubygems.org/......... [1G Fetching https://github.com/openaustralia/scraperwiki-ruby.git [1G Using bundler 2.4.10 [1G Fetching public_suffix 7.1.0 [1G Fetching base64 0.3.0 [1G Fetching connection_pool 3.0.2 [1G Fetching domain_name 0.7.20261007 [1G Installing connection_pool 3.0.2 [1G Installing base64 0.3.0 [1G Installing public_suffix 7.1.0 [1G Fetching mutex_m 0.3.0 [1G Installing domain_name 0.7.20261007 [1G Fetching logger 1.7.0 [1G Installing mutex_m 0.3.0 [1G Installing logger 1.7.0 [1G Fetching mime-types-data 3.2026.1006 [1G Fetching net-http-digest_auth 1.4.1 [1G Fetching nkf 0.3.0 [1G Installing net-http-digest_auth 1.4.1 [1G Installing mime-types-data 3.2026.1006 [1G Fetching racc 1.8.1 [1G Fetching webrick 1.9.2 [1G Installing nkf 0.3.0 with native extensions [1G Installing webrick 1.9.2 [1G Installing racc 1.8.1 with native extensions [1G Fetching webrobots 0.1.2 [1G Installing webrobots 0.1.2 [1G Fetching sqlite3 2.2.0 (x86_64-linux-gnu) [1G Fetching rubyntlm 0.6.8 [1G Installing rubyntlm 0.6.8 [1G Fetching net-http-persistent 4.0.8 [1G Installing net-http-persistent 4.0.8 [1G Fetching httpclient 2.9.0 [1G Installing httpclient 2.9.0 [1G Fetching addressable 2.10.0 [1G Installing sqlite3 2.2.0 (x86_64-linux-gnu) [1G Installing addressable 2.10.0 [1G Fetching http-cookie 1.1.6 [1G Installing http-cookie 1.1.6 [1G Fetching mime-types 3.7.0 [1G Installing mime-types 3.7.0 [1G Fetching sqlite_magic 0.0.6 [1G Installing sqlite_magic 0.0.6 [1G Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176) [1G Fetching nokogiri 1.17.2 (x86_64-linux) [1G Installing nokogiri 1.17.2 (x86_64-linux) [1G Fetching mechanize 2.14.1 [1G Installing mechanize 2.14.1 [1G Bundle complete! 9 Gemfile dependencies, 24 gems now installed. [1G Gems in the groups 'development' and 'test' were not installed. [1G Bundled gems are installed into `./vendor/bundle` [1G Bundle completed (6.02s) [1G Cleaning up the bundler cache. [1G Removing bundler (2.3.10) [1G-----> Detecting rake tasks [1G [1G [1G [1G-----> Discovering process types [1G Procfile declares types -> scraper Injecting scraper and running... Scraping page... Saving application: PLA0167/26 Saving application: PLA0187/26 Saving application: PLA0193/26 Saving application: PLA0149/26 Saving application: PLA0173/26 Saving application: PLA0122/26 Saving application: PLA0188/26 Saving application: PLA0123/26 Saving application: PLA0191/26 Saving application: PLA0069/25 Saving application: PLA0145/26 Saving application: PLA0103/26 Saving application: PLA0157/26 Saving application: PLA0085/26 Scraping complete!

Data

Downloaded 9664 times by dcalde openaustralia LoveMyData mlandauer jesse-a-reilly tkrikke repose-lecture DevAppProject TheZepto dyakhnov benrfairless 538digital davidyu37 Shawnyu0217 MikeRalphson TornMarketing Jedwards157 AhmadBinKhalil

To download data sign in with GitHub

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

rows 10 / 1470

info_url comment_url council_reference address description date_scraped
PLA0083/15
77 Allambee Childers Road, Yarragon, VIC
Development of the Land with a Dwelling
2015-06-21
PLA0105/15
19 Main Neerim Road, Drouin, VIC
Development of the Land with Three (3) Dwellings
2015-06-21
PLA0342/14
281 Armours Road, Warragul, VIC
2 lot Subdivision
2015-06-21
PLA0130/15
10 Bella Vista Drive, warragul, VIC
2 Lot Subdivision
2015-06-21
PLA0066/15
23 Affleck Street, Warragul, VIC
2 Lot Subdivision
2015-06-21
PLA0134/15
1750 Westernport Road, Heath Hill, VIC
Use Land for Retail Sales in Association with Existing Wholesale Nursery
2015-06-21
PLA0076/12 D
44 Palmerston Street, Warragul, VIC
Amend permit to increase patron numbers and change hours of operation
2015-06-21
PLA0338/14
15 Gloucester Place, Warragul, VIC
Development of the Land with a Second Dwelling
2015-06-21
PLA0133/15
20 Newell Road, Longwarry, VIC
Development of an Outbuilding 
2015-06-21
PLA0284/13.A
67 Princes Highway, Yarragon, VIC
Application to Amend a Planning Permit:  Use of Land as a Cafe and Waiver of Car Parking (8 spaces) - Amendment to include Waiver of additional Car Parking (4 spaces), Liquor Licence and Display Illuminated Signage
2015-06-21

Statistics

Average successful run time: half a minute

Total run time: 2 days

Total cpu time used: about 1 hour

Total disk space used: 1.07 MB

History

  • Auto ran revision d0f68e51 and completed successfully .
    14 records added, 9 records removed in the database
  • Auto ran revision c0ec0e46 and completed successfully .
    10 records added, 10 records removed in the database
  • Auto ran revision c0ec0e46 and completed successfully .
    11 records added, 11 records removed in the database
  • Auto ran revision c0ec0e46 and completed successfully .
    11 records added, 11 records removed in the database
  • Auto ran revision c0ec0e46 and completed successfully .
    12 records added, 12 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

bawbaw / scraper.rb