Bläddra i källkod

Fix Tamworth scraper (change of IP address)

import/raw
duncan.parkes 16 år sedan
förälder
incheckning
4ea9836f1e
3 ändrade filer med 5 tillägg och 5 borttagningar
  1. +3
    -3
      trunk/python_scrapers/PlanningExplorer.py
  2. +1
    -1
      trunk/python_scrapers/SitesToGenerate.csv
  3. +1
    -1
      trunk/python_scrapers/WestDorset.py

+ 3
- 3
trunk/python_scrapers/PlanningExplorer.py Visa fil

@@ -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



+ 1
- 1
trunk/python_scrapers/SitesToGenerate.csv Visa fil

@@ -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"


+ 1
- 1
trunk/python_scrapers/WestDorset.py Visa fil

@@ -84,5 +84,5 @@ class WestDorsetParser:

if __name__ == '__main__':
parser = WestDorsetParser()
print parser.getResults(1,10,2008)
print parser.getResults(20,11,2008)


Laddar…
Avbryt
Spara