Browse Source

Fix Middlesbrough scraper.

master
duncan.parkes 15 years ago
parent
commit
cc52f13518
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      SitesToGenerate.csv
  2. +3
    -3
      python_scrapers/Ocella.py

+ 1
- 1
SitesToGenerate.csv View File

@@ -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
python_scrapers/Ocella.py View File

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



Loading…
Cancel
Save