Quellcode durchsuchen

Fix Middlesbrough scraper.

import/raw
duncan.parkes@gmail.com vor 15 Jahren
Ursprung
Commit
bcc9c73d2c
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. +1
    -1
      trunk/SitesToGenerate.csv
  2. +3
    -3
      trunk/python_scrapers/Ocella.py

+ 1
- 1
trunk/SitesToGenerate.csv Datei anzeigen

@@ -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://planserv.middlesbrough.gov.uk/portal/page?_pageid=33,4178&_dad=portal&_schema=PORTAL","Ocella","OcellaParser",
"Middlesbrough Borough Council","Middlesbrough",,,,,,"http://eplan.bridgend.gov.uk/portal/page/portal/bridgend/search","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
trunk/python_scrapers/Ocella.py Datei anzeigen

@@ -195,16 +195,16 @@ if __name__ == '__main__':
# 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://planserv.middlesbrough.gov.uk/portal/page?_pageid=33,4178&_dad=portal&_schema=PORTAL")
parser = OcellaParser("Middlesbrough", "Middlesbrough", "http://eplan.bridgend.gov.uk/portal/page/portal/bridgend/search")
# 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:7778/portal/page?_pageid=55,31779&_dad=portal&_schema=PORTAL")
# 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")


print parser.getResults(21,11,2008)
print parser.getResults(12,6,2009)

#TODO



Laden…
Abbrechen
Speichern