From 1cc6c87ed8bd10edda65f4b2d2cb5760f59258c3 Mon Sep 17 00:00:00 2001 From: Adrian McEwen Date: Sat, 6 Oct 2018 18:40:07 +0100 Subject: [PATCH 1/3] Add St. Helens, Knowsley, Sefton and Wirral and tags for Liverpool --- lib/uk_planning_scraper/authorities.csv | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/uk_planning_scraper/authorities.csv b/lib/uk_planning_scraper/authorities.csv index b5b8201..359381b 100644 --- a/lib/uk_planning_scraper/authorities.csv +++ b/lib/uk_planning_scraper/authorities.csv @@ -58,7 +58,11 @@ Bristol,https://planningonline.bristol.gov.uk/online-applications/search.do?acti Cardiff,https://planningonline.cardiff.gov.uk/online-applications/search.do?action=advanced,wales Epsom and Ewell,http://eplanning.epsom-ewell.gov.uk/online-applications/search.do?action=advanced,surrey,england Leeds,https://publicaccess.leeds.gov.uk/online-applications/search.do?action=advanced,england -Liverpool,http://northgate.liverpool.gov.uk/PlanningExplorer17/GeneralSearch.aspx,england +Liverpool,http://northgate.liverpool.gov.uk/PlanningExplorer17/GeneralSearch.aspx,england,merseyside,liverpoolcityregion +St. Helens,https://publicaccess.sthelens.gov.uk/online-applications/search.do?action=advanced,england,merseyside,liverpoolcityregion +Knowsley,https://planapp.knowsley.gov.uk/online-applications/search.do?action=advanced,england,merseyside,liverpoolcityregion +Sefton,https://pa.sefton.gov.uk/online-applications/search.do?action=advanced,england,merseyside,liverpoolcityregion +Wirral,https://planning.wirral.gov.uk/online-applications/search.do?action=advanced,england,merseyside,liverpoolcityregion Sheffield,https://planningapps.sheffield.gov.uk/online-applications/search.do?action=advanced,england Wakefield,https://planning.wakefield.gov.uk/online-applications/search.do?action=advanced,england South Downs,https://planningpublicaccess.southdowns.gov.uk/online-applications/search.do?action=advanced,nationalparks,england From 827eb6c93e766222654f71719a1df95de8c53973 Mon Sep 17 00:00:00 2001 From: Adrian McEwen Date: Sat, 6 Oct 2018 18:51:14 +0100 Subject: [PATCH 2/3] Add Halton (although it's not supported at present) --- lib/uk_planning_scraper/authorities.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/uk_planning_scraper/authorities.csv b/lib/uk_planning_scraper/authorities.csv index 359381b..942a606 100644 --- a/lib/uk_planning_scraper/authorities.csv +++ b/lib/uk_planning_scraper/authorities.csv @@ -63,6 +63,7 @@ St. Helens,https://publicaccess.sthelens.gov.uk/online-applications/search.do?ac Knowsley,https://planapp.knowsley.gov.uk/online-applications/search.do?action=advanced,england,merseyside,liverpoolcityregion Sefton,https://pa.sefton.gov.uk/online-applications/search.do?action=advanced,england,merseyside,liverpoolcityregion Wirral,https://planning.wirral.gov.uk/online-applications/search.do?action=advanced,england,merseyside,liverpoolcityregion +Halton,https://webapp.halton.gov.uk/planningapps/,england,cheshire,liverpoolcityregion Sheffield,https://planningapps.sheffield.gov.uk/online-applications/search.do?action=advanced,england Wakefield,https://planning.wakefield.gov.uk/online-applications/search.do?action=advanced,england South Downs,https://planningpublicaccess.southdowns.gov.uk/online-applications/search.do?action=advanced,nationalparks,england From 909a3fe960ddd2c3f4b271a8fce6cb1b49b48318 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Sat, 6 Oct 2018 18:56:49 +0100 Subject: [PATCH 3/3] Update test --- spec/authority_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/authority_spec.rb b/spec/authority_spec.rb index 78c45c7..864d8e2 100644 --- a/spec/authority_spec.rb +++ b/spec/authority_spec.rb @@ -28,7 +28,7 @@ describe UKPlanningScraper::Authority do let(:all) { described_class.all } it 'returns all authorities' do - expect(all.count).to eq(66) + expect(all.count).to eq(71) end it 'returns a list of authorities' do