markdon / KingboroughCouncilDA

Kingborough Council Development Applications


Kingborough Council Scraper

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

Local Development

Prerequisites

  • Node 16 - BEWARE the old version, this is what's supported on morph.io. See nvm if you need to be able to switch between versions.
    • OPTIONAL: The ./devcontainer directory contains config for running a Node 16 Dev Container. See https://code.visualstudio.com/docs/devcontainers/containers
  • Visual Studio Code - Highly recommended as your editor for build in type checking.

Getting Started

In a terminal, run the following commands: npm install npm run dev This will run the scraper whenever you save a change to a file.

Edit the .ts files in the src directory to make changes. These are TypeScript files that are "compiled" to JavaScript files in the build directory.

Commiting

Ensure you have run npm run dev or npm run tsc before commiting and include the contents of ./build.

morph.io runs the built javascript, not typescript files.

Contributors henare markdon 43South jamezpolley LoveMyData mlandauer

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... createQuery: CREATE TABLE IF NOT EXISTS data (council_reference TEXT PRIMARY KEY, address TEXT, description TEXT, info_url TEXT, comment_url TEXT, date_scraped TEXT, on_notice_from TEXT, on_notice_to TEXT, documents TEXT) (node:17) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification. (Use `node --trace-warnings ...` to show where the warning was created) [ { council_reference: 'DA-2024-20', address: '39 Hollyhock Drive, Kingston, Tasmania', description: 'Dwelling, ancillary dwelling and two (2) shipping containers', info_url: 'https://www.kingborough.tas.gov.au/development/planning-notices/', comment_url: 'mailto:kc@kingborough.tas.gov.au', date_scraped: '2024-05-15', on_notice_from: '2024-05-15', on_notice_to: '2024-05-28', documents: '["https://www.kingborough.tas.gov.au/wp-content/uploads/2024/05/DA-2024-20-39-Hollyhock-Drive-Kingston.pdf"]' }, { council_reference: 'DA-2024-64', address: '183 Kregors Road, Gordon, Tasmania', description: 'Dwelling and associated works', info_url: 'https://www.kingborough.tas.gov.au/development/planning-notices/', comment_url: 'mailto:kc@kingborough.tas.gov.au', date_scraped: '2024-05-15', on_notice_from: '2024-05-15', on_notice_to: '2024-05-28', documents: '["https://www.kingborough.tas.gov.au/wp-content/uploads/2024/05/DA-2024-64-183-Kregors-Road-Gordon.pdf","https://www.kingborough.tas.gov.au/wp-content/uploads/2024/05/DA-2024-64-01-Bushfire-Hazard-Assessment.pdf"]' }, { council_reference: 'DA-2024-115', address: "'Calvin Christian School', 32 Maranoa Road, Kingston, Tasmania", description: 'Two new classrooms and locker area', info_url: 'https://www.kingborough.tas.gov.au/development/planning-notices/', comment_url: 'mailto:kc@kingborough.tas.gov.au', date_scraped: '2024-05-15', on_notice_from: '2024-05-11', on_notice_to: '2024-05-24', documents: '["https://www.kingborough.tas.gov.au/wp-content/uploads/2024/05/DA-2024-115-Calvin-Christian-School-32-Maranoa-Road-Kingston.pdf","https://www.kingborough.tas.gov.au/wp-content/uploads/2024/05/DA-2024-115-Traffic-Impact-Statement.pdf","https://www.kingborough.tas.gov.au/wp-content/uploads/2024/05/DA-2024-115-Bushfire-Hazard-Assessement.pdf"]' }, { council_reference: 'DA-2024-94', address: '32A Nolan Crescent, Kingston, Tasmania', description: 'Dwelling and associated works', info_url: 'https://www.kingborough.tas.gov.au/development/planning-notices/', comment_url: 'mailto:kc@kingborough.tas.gov.au', date_scraped: '2024-05-15', on_notice_from: '2024-05-11', on_notice_to: '2024-05-24', documents: '["https://www.kingborough.tas.gov.au/wp-content/uploads/2024/05/DA-2024-94-32A-Nolan-Crescent-Kingston.pdf"]' }, { council_reference: 'DA-2024-93', address: '1680, 1708 & 1712 Channel Highway, Margate, Tasmania', description: 'Signage (2 ground based panel signs)', info_url: 'https://www.kingborough.tas.gov.au/development/planning-notices/', comment_url: 'mailto:kc@kingborough.tas.gov.au', date_scraped: '2024-05-15', on_notice_from: '2024-05-11', on_notice_to: '2024-05-24', documents: '["https://www.kingborough.tas.gov.au/wp-content/uploads/2024/05/DA-2024-93-1680-1708-1712-Channel-Highway-Margate.pdf"]' }, { council_reference: 'DA-2024-77', address: '86 Pullens Road, Woodbridge, Tasmania', description: 'Extension to dwelling', info_url: 'https://www.kingborough.tas.gov.au/development/planning-notices/', comment_url: 'mailto:kc@kingborough.tas.gov.au', date_scraped: '2024-05-15', on_notice_from: '2024-05-11', on_notice_to: '2024-05-24', documents: '["https://www.kingborough.tas.gov.au/wp-content/uploads/2024/05/DA-2024-77-86-Pullens-Road-Woodbridge.pdf","https://www.kingborough.tas.gov.au/wp-content/uploads/2024/05/DA-2024-77-Bushfire-Hazard-Asessment.pdf"]' } ] insertQuery: INSERT OR REPLACE INTO data (council_reference, address, description, info_url, comment_url, date_scraped, on_notice_from, on_notice_to, documents) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) Inserted/updated 6 records

Data

Downloaded 512 times by dcalde markdon

To download data sign in with GitHub

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

rows 10 / 129

council_reference address description info_url comment_url date_scraped on_notice_from on_notice_to documents
DA-2023-282
36 & 42 Roslyn Avenue and 20 Beach Road, Kingston Beach, subdivision road (CT 174783/1) and road casement, Tasmania
Stormwater infrastructure upgrade
mailto:kc@kingborough.tas.gov.au
2023-11-17
2023-11-15
2023-11-28
["https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2023-282-36-42-Roslyn-Avenue-and-20-Beach-Road-Kingston-Beach-.pdf","https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2023-282-Tree-Plan.pdf"]
DA-2023-365
10 Oak Court, Kingston, Tasmania
Ancillary dwelling
mailto:kc@kingborough.tas.gov.au
2023-11-17
2023-11-11
2023-11-24
["https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2023-365-10-Oak-Court-Kingston.pdf"]
DA-2023-295
Devlyns Road, Birchs Bay, Tasmania
Dwelling and outbuilding
mailto:kc@kingborough.tas.gov.au
2023-11-17
2023-11-11
2023-11-24
["https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2023-295-Devlyns-Road-Birchs-Bay-7162.pdf"]
DA-2023-20
17 King View Court, Kingston, Tasmania
Landscaping including an internal driveway, dam, glasshouse, potting shed, retaining wall, outdoor dining area and pergola
mailto:kc@kingborough.tas.gov.au
2023-11-17
2023-11-11
2023-11-24
["https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2023-20-17-King-View-Court-Kingston.pdf"]
DA-2023-240
15 Warremar Way, Oyster Cove, Tasmania
Addition and alterations to existing dwelling
mailto:kc@kingborough.tas.gov.au
2023-11-17
2023-11-08
2023-11-21
["https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2023-240-15-Warremar-Way-Oyster-Cove.pdf"]
DA-2023-330
3 Pimelea Road, Snug, Tasmania
Dwelling and associated works
mailto:kc@kingborough.tas.gov.au
2023-11-17
2023-11-08
2023-11-21
["https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2023-330-3-Pimelea-Road-Snug.pdf"]
DA-2023-307
22 Worsley Drive, Margate, Tasmania
Change of use from residential to visitor accommodation
mailto:kc@kingborough.tas.gov.au
2023-11-17
2023-11-08
2023-11-21
["https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2023-307-22-Worsley-Drive-Margate.pdf"]
DA-2023-265
Lot 6/3947 Channel Highway, Flowerpot, Tasmania
Dwelling
mailto:kc@kingborough.tas.gov.au
2023-11-17
2023-11-08
2023-11-21
["https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2023-265-Lot-6-3947-Channel-Highway-Flowerpot.pdf"]
DA-2023-107
13 Christophers Way, Kingston Beach, Tasmania
Boundary and wall fencing
mailto:kc@kingborough.tas.gov.au
2023-11-17
2023-11-08
2023-11-21
["https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2023-107-13-Christophers-Way-Kingston-Beach.pdf"]
DA-2022-137
25 Trowenna Rise, Margate, Tasmania
Extensions to dwelling
mailto:kc@kingborough.tas.gov.au
2023-11-17
2023-11-08
2023-11-21
["https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2022-137-25-Trowenna-Rise-Margate.pdf","https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2022-137-Natural-Values-Assessment-Report.pdf","https://www.kingborough.tas.gov.au/wp-content/uploads/2023/11/DA-2022-137-Bushfire-Report.pdf"]

Statistics

Average successful run time: less than 5 seconds

Total run time: 12 minutes

Total cpu time used: 2 minutes

Total disk space used: 376 KB

History

  • Auto ran revision e9654339 and completed successfully .
    6 records added, 4 records removed in the database
  • Auto ran revision e9654339 and completed successfully .
    10 records added, 10 records removed in the database
  • Auto ran revision e9654339 and completed successfully .
    10 records added, 10 records removed in the database
  • Auto ran revision e9654339 and completed successfully .
    10 records added, 10 records removed in the database
  • Auto ran revision e9654339 and completed successfully .
    10 records added, 10 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Node.js

KingboroughCouncilDA / scraper.js