From c0a0d97145d774933ae05301a2588e8ae63115bd Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Thu, 3 Jul 2008 13:10:30 +0000 Subject: [PATCH] Add Scraper for Lewes (which now has PublicAccess). --- python_scrapers/Shropshire.py | 7 ++++--- python_scrapers/SitesToGenerate.csv | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/python_scrapers/Shropshire.py b/python_scrapers/Shropshire.py index 54bdd1e..64eedba 100644 --- a/python_scrapers/Shropshire.py +++ b/python_scrapers/Shropshire.py @@ -147,13 +147,14 @@ class SouthNorthamptonshireParser(ShropshireParser): return soup.find("div", {"class": "div-content-class"}).findAll("a") if __name__ == '__main__': - parser = ShropshireParser("Shropshire County Council", "Shropshire", "http://planning.shropshire.gov.uk/PlanAppList.asp") - print parser.getResults(6,6,2008) +# parser = ShropshireParser("Shropshire County Council", "Shropshire", "http://planning.shropshire.gov.uk/PlanAppList.asp") +# print parser.getResults(6,6,2008) # parser = NorthYorkshireParser("North Yorkshire County Council", "North Yorkshire", "https://onlineplanningregister.northyorks.gov.uk/Online%20Register/PlanAppList.asp") # print parser.getResults(10,6,2008) # parser = SouthNorthamptonshireParser("South Northamptonshire Council", "South Northamptonshire", "http://snc.planning-register.co.uk/PlanAppList.asp") # print parser.getResults(5,6,2008) - + parser = ShropshireParser("Purbeck District Council", "Purbeck", "http://www.purbeck.gov.uk/planning/PlanAppList.asp") + print parser.getResults(5,6,2008) # TODO diff --git a/python_scrapers/SitesToGenerate.csv b/python_scrapers/SitesToGenerate.csv index 394dbc4..cebe5c4 100644 --- a/python_scrapers/SitesToGenerate.csv +++ b/python_scrapers/SitesToGenerate.csv @@ -234,3 +234,4 @@ "Shropshire County Council", "Shropshire", "http://planning.shropshire.gov.uk/PlanAppList.asp", "Shropshire", "ShropshireParser" "North Yorkshire County Council", "North Yorkshire", "https://onlineplanningregister.northyorks.gov.uk/Online%20Register/PlanAppList.asp", "Shropshire", "NorthYorkshireParser" "South Northamptonshire Council", "South Northamptonshire", "http://snc.planning-register.co.uk/PlanAppList.asp", "Shropshire", "SouthNorthamptonshireParser" +"Lewes District Council", "Lewes", "http://planning.lewes.gov.uk/PublicAccess/tdc/", "PublicAccess", "PublicAccessParser" \ No newline at end of file