From 74e873331b37942ed086788d56cab9b3e0479d44 Mon Sep 17 00:00:00 2001 From: NotQuiteMinerva <44088823+NotQuiteMinerva@users.noreply.github.com> Date: Tue, 16 Oct 2018 05:56:05 +0100 Subject: [PATCH 1/2] Update authorities.csv Added N. Ireland from their centralised site - I haven't added all authorities as it's a long list and I wasn't sure it could cope with it. At the moment only Belfast has applications. The councils are listed below and can't be added separately, they all use this site for planning applications. Causeway Coast and Glens Mid and East Antrim Antrim and Newtownabbey Belfast Lisburn and Castlereagh City Council Ards and North Down Newry, Mourne and Down Armagh, Banbridge and Craigavon Mid Ulster Fermanagh and Omagh Derry City and Strabane District --- 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 31cd536..a8f799e 100644 --- a/lib/uk_planning_scraper/authorities.csv +++ b/lib/uk_planning_scraper/authorities.csv @@ -49,6 +49,7 @@ London Legacy Development Corporation,http://planningregister.londonlegacy.co.uk Manchester,https://pa.manchester.gov.uk/online-applications/search.do?action=advanced,england,greatermanchester Merton,http://planning.merton.gov.uk/Northgate/PlanningExplorerAA/GeneralSearch.aspx,london,outerlondon,southlondon,england,londonboroughs Newham,https://pa.newham.gov.uk/online-applications/search.do?action=advanced,londonboroughs,london,londonboroughs +Northern Ireland,http://epicpublic.planningni.gov.uk/publicaccess/search.do?action=advanced&searchType=Application,nireland,belfast Nottingham,http://publicaccess.nottinghamcity.gov.uk/online-applications/search.do?action=advanced,nottingham,eastmidlands,england Old Oak and Park Royal Development Corporation,http://planningregister.opdc.london.gov.uk/swift/apas/run/wphappcriteria.display,london,developmentcorporations,londondevelopmentcorporations Oldham,http://planningpa.oldham.gov.uk/online-applications/search.do?action=advanced,england,greatermanchester From a24582ee030d06c05e10643216d41849f54d78dc Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Tue, 16 Oct 2018 11:39:49 +0100 Subject: [PATCH 2/2] Add Northern Ireland multi-authority site #31 --- lib/uk_planning_scraper/authorities.csv | 2 +- spec/authority_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/uk_planning_scraper/authorities.csv b/lib/uk_planning_scraper/authorities.csv index a8f799e..3c7f3cd 100644 --- a/lib/uk_planning_scraper/authorities.csv +++ b/lib/uk_planning_scraper/authorities.csv @@ -49,7 +49,7 @@ London Legacy Development Corporation,http://planningregister.londonlegacy.co.uk Manchester,https://pa.manchester.gov.uk/online-applications/search.do?action=advanced,england,greatermanchester Merton,http://planning.merton.gov.uk/Northgate/PlanningExplorerAA/GeneralSearch.aspx,london,outerlondon,southlondon,england,londonboroughs Newham,https://pa.newham.gov.uk/online-applications/search.do?action=advanced,londonboroughs,london,londonboroughs -Northern Ireland,http://epicpublic.planningni.gov.uk/publicaccess/search.do?action=advanced&searchType=Application,nireland,belfast +Northern Ireland,http://epicpublic.planningni.gov.uk/publicaccess/search.do?action=advanced&searchType=Application,northernireland,belfast Nottingham,http://publicaccess.nottinghamcity.gov.uk/online-applications/search.do?action=advanced,nottingham,eastmidlands,england Old Oak and Park Royal Development Corporation,http://planningregister.opdc.london.gov.uk/swift/apas/run/wphappcriteria.display,london,developmentcorporations,londondevelopmentcorporations Oldham,http://planningpa.oldham.gov.uk/online-applications/search.do?action=advanced,england,greatermanchester diff --git a/spec/authority_spec.rb b/spec/authority_spec.rb index f5d06d9..461e8b1 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(74) + expect(all.count).to eq(75) end it 'returns a list of authorities' do