adrianshort / uk_planning_scraper

A Ruby gem to get planning applications data from UK council websites.
GNU Lesser General Public License v3.0
27 stars 19 forks source link

Kensington and Chelsea not executing search for InLinks #34

Open NotQuiteMinerva opened 5 years ago

NotQuiteMinerva commented 5 years ago

The Kensington and Chelsea site has a different configuration to other planning searches - there are 72 applications for InLinks on the site but they don't show up on the InLink Kiosks page.

The field name to search proposals is:

Proposal Keyword

The link:

https://www.rbkc.gov.uk/planning/searches/default.aspx?adv=1&proposal=inlink&batch=20&pgapp=1#tabs-planning-1

will find the applications if you can do something with that.

adrianshort commented 5 years ago

Currently the scraper only works for sites running Idox and Northgate systems. I don't recognise this system so it might be a one-off/custom one. Someone's going to have to write a scraper for it.

It's still useful to have them in the file though.

Here's how we detect which system the council is using by looking at the URL in Authority.system:

https://github.com/adrianshort/uk_planning_scraper/blob/master/lib/uk_planning_scraper/authority.rb#L70