Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.16 KB

File metadata and controls

32 lines (18 loc) · 1.16 KB

Northumberland County Council Planning Application Scraper

This tool will harvest data from Northumberland County Council's online planning application database.

It uses the Weekly List search option to get all planning applications for a given week.

Install

  1. Clone the repo

    git clone https://github.com/JamesTheHacker/northumberland-planning-application-scraper

  2. Change into the application directory

    cd northumberland-planning-application-scraper

  3. Install the node dependencies

    npm install

Usage

The application outputs csv to stdout. In order to save the results pipe the output into a file.

node scraper.js > data.csv

By default the application will get planning applications for the current week, but you can provide a custom date. Ensure the date is in D MM YYYY format.

node scraper.js "19 May 2014" > data.csv