From 95fb4749d6574233cc6a6007bb2fb5fa7813bf58 Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Sun, 30 Nov 2008 15:21:09 +0000 Subject: [PATCH] Fix Tamworth scraper (change of IP address) --- python_scrapers/PlanningExplorer.py | 6 +++--- python_scrapers/SitesToGenerate.csv | 2 +- python_scrapers/WestDorset.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/python_scrapers/PlanningExplorer.py b/python_scrapers/PlanningExplorer.py index 9823405..0971c1c 100644 --- a/python_scrapers/PlanningExplorer.py +++ b/python_scrapers/PlanningExplorer.py @@ -718,20 +718,20 @@ if __name__ == '__main__': # parser = HackneyParser("London Borough of Hackney", "Hackney", "http://www.hackney.gov.uk/servapps/") # parser = KennetParser("Kennet District Council", "Kennet", "http://mvm-planning.kennet.gov.uk/") # parser = LincolnParser("Lincoln City Council", "Lincoln", "http://online.lincoln.gov.uk/") - parser = LiverpoolParser("Liverpool City Council", "Liverpool", "http://www.liverpool.gov.uk/") +# parser = LiverpoolParser("Liverpool City Council", "Liverpool", "http://www.liverpool.gov.uk/") # parser = ShrewsburyParser("Shrewsbury and Atcham Borough Council", "Shrewsbury", "http://www2.shrewsbury.gov.uk/") # parser = SouthNorfolkParser("South Norfolk Council", "South Norfolk", "http://planning.south-norfolk.gov.uk/") # parser = SouthShropshireParser("South Shropshire District Council", "South Shropshire", "http://194.201.44.102/") # parser = SouthTynesideParser("South Tyneside Council", "South Tyneside", "http://poppy.southtyneside.gov.uk/") # parser = StockportParser("Stockport Metropolitan District Council", "Stockport", "http://s1.stockport.gov.uk/council/eed/dc/planning/") # parser = SwanseaParser("Swansea City and County Council", "Swansea", "http://www2.swansea.gov.uk/") -# parser = TamworthParser("Tamworth Borough Council", "Tamworth", "http://80.1.64.77/") + parser = TamworthParser("Tamworth Borough Council", "Tamworth", "http://80.1.64.91/") # parser = TraffordParser("Trafford Council", "Trafford", "http://planning.trafford.gov.uk/") # parser = WestOxfordshireParser("West Oxfordshire District Council", "West Oxfordshire", "http://planning.westoxon.gov.uk/") # parser = WalthamForestParser("Waltham Forest", "Waltham Forest", "http://planning.walthamforest.gov.uk/") # parser = ConwyParser("Conwy County Borough Council", "Conwy", "http://www.conwy.gov.uk/") # parser = MertonParser("London Borough of Merton", "Merton", "http://planning.merton.gov.uk") - print parser.getResults(28, 8, 2008) + print parser.getResults(20, 11, 2008) # To Do diff --git a/python_scrapers/SitesToGenerate.csv b/python_scrapers/SitesToGenerate.csv index a473f3b..aceefcf 100644 --- a/python_scrapers/SitesToGenerate.csv +++ b/python_scrapers/SitesToGenerate.csv @@ -164,7 +164,7 @@ "South Shropshire District Council", "South Shropshire", "http://194.201.44.102/", "PlanningExplorer", "SouthShropshireParser" "South Tyneside Council", "South Tyneside", "http://poppy.southtyneside.gov.uk/", "PlanningExplorer", "SouthTynesideParser" "Stockport Metropolitan Borough Council", "Stockport", "http://planning.stockport.gov.uk/PlanningData/AcolNetCGI.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "AcolnetParser" -"Tamworth Borough Council", "Tamworth", "http://80.1.64.77/", "PlanningExplorer", "TamworthParser" +"Tamworth Borough Council", "Tamworth", "http://80.1.64.91/", "PlanningExplorer", "TamworthParser" "Trafford Council", "Trafford", "http://planning.trafford.gov.uk/", "PlanningExplorer", "TraffordParser" "West Oxfordshire District Council", "West Oxfordshire", "http://planning.westoxon.gov.uk/", "PlanningExplorer", "WestOxfordshireParser" "Dudley Metropolitan Borough Council", "Dudley", "http://www2.dudley.gov.uk/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser" diff --git a/python_scrapers/WestDorset.py b/python_scrapers/WestDorset.py index 6a88036..6a86a66 100644 --- a/python_scrapers/WestDorset.py +++ b/python_scrapers/WestDorset.py @@ -84,5 +84,5 @@ class WestDorsetParser: if __name__ == '__main__': parser = WestDorsetParser() - print parser.getResults(1,10,2008) + print parser.getResults(20,11,2008)