Parcourir la source

Use the SwiftLG parser for Enfield.

import/raw
duncan.parkes il y a 16 ans
Parent
révision
85d4e06064
3 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. +0
    -1
      trunk/python_scrapers/OtherFilesToCopy.csv
  2. +1
    -0
      trunk/python_scrapers/SitesToGenerate.csv
  3. +3
    -2
      trunk/python_scrapers/SwiftLG.py

+ 0
- 1
trunk/python_scrapers/OtherFilesToCopy.csv Voir le fichier

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


+ 1
- 0
trunk/python_scrapers/SitesToGenerate.csv Voir le fichier

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

+ 3
- 2
trunk/python_scrapers/SwiftLG.py Voir le fichier

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


Chargement…
Annuler
Enregistrer