From 6a1fc76ae274bc44cb26d848549561d2052783ee Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Thu, 31 Jul 2008 09:13:30 +0000 Subject: [PATCH] Use the SwiftLG parser for Enfield. --- python_scrapers/OtherFilesToCopy.csv | 1 - python_scrapers/SitesToGenerate.csv | 1 + python_scrapers/SwiftLG.py | 5 +++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/python_scrapers/OtherFilesToCopy.csv b/python_scrapers/OtherFilesToCopy.csv index 5233b54..ba4bc17 100644 --- a/python_scrapers/OtherFilesToCopy.csv +++ b/python_scrapers/OtherFilesToCopy.csv @@ -9,7 +9,6 @@ "FastWeb.py", "420" "Broxbourne.cgi", "493" "EastHerts.cgi", "493" -"Enfield.cgi", "493" "RutlandLike.py", "420" "AtriumePlanning.py", "420" "PlanningExplorer.py", "420" diff --git a/python_scrapers/SitesToGenerate.csv b/python_scrapers/SitesToGenerate.csv index d29e87c..25b8047 100644 --- a/python_scrapers/SitesToGenerate.csv +++ b/python_scrapers/SitesToGenerate.csv @@ -245,3 +245,4 @@ "Great Yarmouth Borough Council", "Great Yarmouth", "http://planning.great-yarmouth.gov.uk/portal/page/portal/plan/weekly", "Ocella", "OcellaParser" "Conwy County Borough Council", "Conwy", "http://www.conwy.gov.uk/", "PlanningExplorer", "ConwyParser" "London Borough of Merton", "Merton", "http://planning.merton.gov.uk", "PlanningExplorer", "MertonParser" +"London Borough of Enfield", "Enfield", "http://forms.enfield.gov.uk/swiftlg/apas/run/wphappcriteria.display", "SwiftLG", "SwiftLGParser" diff --git a/python_scrapers/SwiftLG.py b/python_scrapers/SwiftLG.py index d5e743b..b4fce37 100644 --- a/python_scrapers/SwiftLG.py +++ b/python_scrapers/SwiftLG.py @@ -216,8 +216,9 @@ if __name__ == '__main__': # parser = MacclesfieldParser("Macclesfield", "Macclesfield", "http://www.planportal.macclesfield.gov.uk/swiftlg/apas/run/") # parser = SwiftLGParser("Daventry District Council", "Daventry", "http://www.daventrydc.gov.uk/swiftlg/apas/run/wphappcriteria.display") # parser = SwiftLGParser("Warrington Borough Council", "Warrington", "http://212.248.237.123:8080/swiftlg/apas/run/wphappcriteria.display") - parser = SwiftLGParser("Cannock Chase District Council", "Cannock Chase", "http://planning.cannockchasedc.com/swiftlg/apas/run/wphappcriteria.display") - print parser.getResults(26,6,2008) +# parser = SwiftLGParser("Cannock Chase District Council", "Cannock Chase", "http://planning.cannockchasedc.com/swiftlg/apas/run/wphappcriteria.display") + parser = SwiftLGParser("London Borough of Enfield", "Enfield", "http://forms.enfield.gov.uk/swiftlg/apas/run/wphappcriteria.display") + print parser.getResults(9,7,2008) # To Do: