Ver código fonte

Fix Bridgend and Middlesbrough

master
duncan.parkes 15 anos atrás
pai
commit
9900c94982
3 arquivos alterados com 8 adições e 8 exclusões
  1. +3
    -3
      SitesToGenerate.csv
  2. +3
    -3
      python_scrapers/Ocella.py
  3. +2
    -2
      python_scrapers/SwiftLG.py

+ 3
- 3
SitesToGenerate.csv Ver arquivo

@@ -32,7 +32,7 @@
"Breckland Council","Breckland",,,,,,"http://wplan01.intranet.breckland.gov.uk:7778/portal/page?_pageid=33,30988&_dad=portal&_schema=PORTAL","Ocella","OcellaParser",
"London Borough of Brent","Brent",,,,,,,"Brent","BrentParser",
"Brentwood Borough Council","Brentwood",,"/cgi-bin/Brentwood.cgi?day={day}&month={month}&year={year}",,,,,,,
"Bridgend County Borough Council","Bridgend",,,,,,"http://eplan.bridgend.gov.uk:7778/portal/page?_pageid=55,31779&_dad=portal&_schema=PORTAL","Ocella","OcellaParser",
"Bridgend County Borough Council","Bridgend",,,,,,"http://eplan.bridgend.gov.uk/portal/page/portal/bridgend/search","Ocella","OcellaParser",
"Bridgnorth District Council","Bridgnorth",,,,1,"Now part of Shropshire Unitary Authority","http://www2.bridgnorth-dc.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.PgeSearch","AcolnetParser","BridgnorthParser",
"Bristol City Council","Bristol",,,,,,"http://e2eweb.bristol-city.gov.uk/PublicAccess/tdc/","PublicAccess","PublicAccessParser",
"Broadland District Council","Broadland",,"http://duncan.devel.disruptiveproactivity.com/Broadland.cgi?day={day}&month={month}&year={year}",1,,,"http://www.broadland.gov.uk/","PlanningExplorer","BroadlandParser",
@@ -79,7 +79,7 @@
"Cumbria County Council","Cumbria",,,,,,"http://217.114.50.149:7778/ePlanningOPS/loadResults.do","AtriumePlanning","AtriumePlanningParser",
"Dacorum Borough Council","Dacorum",,"/cgi-bin/Dacorum.cgi?day={day}&month={month}&year={year}",,,,,,,
"Dartford Borough Council","Dartford",,,,,,"http://publicaccess.dartford.gov.uk/PublicAccess/tdc/","PublicAccess","PublicAccessParser",
"Daventry District Council","Daventry",,,,,,"http://62.231.149.150/swiftlg/apas/run/wphappcriteria.display","SwiftLG","SwiftLGParser",
"Daventry District Council","Daventry",,,,,,"http://212.125.73.214/swiftlg/apas/run/wphappcriteria.display","SwiftLG","SwiftLGParser",
"Denbighshire County Council","Denbighshire",,,,,,"http://planning.denbighshire.gov.uk/","ApplicationSearchServletParser","DenbighshireSearchParser",
"Derby City Council","Derby",,,,,,"http://eplanning.derby.gov.uk/acolnet/planningpages02/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch","AcolnetParser","AcolnetParser",
"Doncaster Metropolitan Borough Council","Doncaster",,,,,,"http://local.doncaster.gov.uk/PublicAccess/tdc/","PublicAccess","PublicAccessParser",
@@ -183,7 +183,7 @@
"London Borough of Merton","Merton",,,,,,"http://planning.merton.gov.uk/","PlanningExplorer","MertonParser",
"Mid Bedfordshire District Council","Mid Beds",,,,,,"http://www.midbeds.gov.uk/acolnetDC/DCpages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch","AcolnetParser","MidBedsParser",
"Mid Devon District Council","Mid Devon",,,,,,"http://planning.middevon.gov.uk/publicaccess/tdc/","PublicAccess","PublicAccessParser",
"Middlesbrough Borough Council","Middlesbrough",,,,,,"http://eplan.bridgend.gov.uk/portal/page/portal/bridgend/search","Ocella","OcellaParser",
"Middlesbrough Borough Council","Middlesbrough",,,,,,"http://planserv.middlesbrough.gov.uk/portal/page/portal/MIDDLESBROUGH/WEEKLY","Ocella","OcellaParser",
"Mid Suffolk District Council","Mid Suffolk",,,,,,"http://planning.midsuffolk.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch","AcolnetParser","AcolnetParser",
"Mid Sussex District Council","Mid Sussex",,,,,,"http://dc.midsussex.gov.uk/PublicAccess/tdc/","PublicAccess","PublicAccessParser",
"Milton Keynes Council","Milton Keynes",,,,,,"http://publicaccess.milton-keynes.gov.uk/tdc/","PublicAccess","PublicAccessParser",


+ 3
- 3
python_scrapers/Ocella.py Ver arquivo

@@ -191,14 +191,14 @@ class OcellaParser:

if __name__ == '__main__':
# parser = OcellaParser("Arun", "Arun", "http://www.arun.gov.uk/iplanning/portal/page?_pageid=33,4139&_dad=portal&_schema=PORTAL")
parser = OcellaParser("Breckland Council", "Breckland", "http://wplan01.intranet.breckland.gov.uk:7778/portal/page?_pageid=33,30988&_dad=portal&_schema=PORTAL")
# parser = OcellaParser("Breckland Council", "Breckland", "http://wplan01.intranet.breckland.gov.uk:7778/portal/page?_pageid=33,30988&_dad=portal&_schema=PORTAL")
# parser = OcellaParser("Ellesmere Port", "Ellesmere Port", "http://ocella.epnbc.gov.uk/portal/page?_pageid=33,38205&_dad=portal&_schema=PORTAL")
# parser = OcellaParser("Fareham", "Fareham", "http://eocella.fareham.gov.uk/portal/page?_pageid=33,31754&_dad=portal&_schema=PORTAL")
# parser = OcellaParser("Hillingdon", "Hillingdon", "http://w09.hillingdon.gov.uk/portal/page?_pageid=33,82093&_dad=portal&_schema=PORTAL")
# parser = OcellaParser("Middlesbrough", "Middlesbrough", "http://eplan.bridgend.gov.uk/portal/page/portal/bridgend/search")
# parser = OcellaParser("Middlesbrough", "Middlesbrough", "http://planserv.middlesbrough.gov.uk/portal/page/portal/MIDDLESBROUGH/WEEKLY")
# parser = OcellaParser("North East Lincolnshire", "North East Lincolnshire", "http://planning.nelincs.gov.uk/portal/page?_pageid=33,64104&_dad=portal&_schema=PORTAL")
# parser = OcellaParser("Uttlesford", "Uttlesford", "http://planning.uttlesford.gov.uk/portal/page/portal/plan/weekly")
# parser = OcellaParser("Bridgend", "Bridgend", "http://eplan.bridgend.gov.uk:7778/portal/page?_pageid=55,31779&_dad=portal&_schema=PORTAL")
parser = OcellaParser("Bridgend", "Bridgend", "http://eplan.bridgend.gov.uk/portal/page/portal/bridgend/search")
# parser = OcellaParser("Havering", "Havering", "http://planning.havering.gov.uk/portal/page?_pageid=33,1026&_dad=portal&_schema=PORTAL")
# parser = OcellaParser("Castle Point", "Castle Point", "http://planning.castlepoint.gov.uk/portal/page?_pageid=35,38205&_dad=portal&_schema=PORTAL")
# parser = OcellaParser("Great Yarmouth", "Great Yarmouth", "http://planning.great-yarmouth.gov.uk/portal/page/portal/plan/weekly")


+ 2
- 2
python_scrapers/SwiftLG.py Ver arquivo

@@ -219,9 +219,9 @@ if __name__ == '__main__':
# parser = SwiftLGParser("Snowdonia National Park", "Snowdonia", "http://www.snowdonia-npa.gov.uk/swiftlg/apas/run/")
# parser = SwiftLGParser("St Edmundsbury", "Bury St Edmunds", "http://www.stedmundsbury.gov.uk/swiftlg/apas/run/")
# parser = MacclesfieldParser("Macclesfield", "Macclesfield", "http://www.planportal.macclesfield.gov.uk/swiftlg/apas/run/")
# parser = SwiftLGParser("Daventry District Council", "Daventry", "http://62.231.149.150/swiftlg/apas/run/wphappcriteria.display")
parser = SwiftLGParser("Daventry District Council", "Daventry", "http://212.125.73.214/swiftlg/apas/run/wphappcriteria.display")
# parser = SwiftLGParser("Warrington Borough Council", "Warrington", "http://212.248.237.123:8080/swiftlg/apas/run/wphappcriteria.display")
parser = CannockChaseParser("Cannock Chase District Council", "Cannock Chase", "http://planning.cannockchasedc.com/swiftlg/apas/run/wphappcriteria.display")
# parser = CannockChaseParser("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(12,6,2009)



Carregando…
Cancelar
Salvar