From 85d4e0606426e2951f6605aa22ced627c3cf994d 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. --- trunk/python_scrapers/OtherFilesToCopy.csv | 1 - trunk/python_scrapers/SitesToGenerate.csv | 1 + trunk/python_scrapers/SwiftLG.py | 5 +++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/trunk/python_scrapers/OtherFilesToCopy.csv b/trunk/python_scrapers/OtherFilesToCopy.csv index 5233b54..ba4bc17 100644 --- a/trunk/python_scrapers/OtherFilesToCopy.csv +++ b/trunk/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/trunk/python_scrapers/SitesToGenerate.csv b/trunk/python_scrapers/SitesToGenerate.csv index d29e87c..25b8047 100644 --- a/trunk/python_scrapers/SitesToGenerate.csv +++ b/trunk/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/trunk/python_scrapers/SwiftLG.py b/trunk/python_scrapers/SwiftLG.py index d5e743b..b4fce37 100644 --- a/trunk/python_scrapers/SwiftLG.py +++ b/trunk/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: