From bcc9c73d2c29f01e44571093a34330a87b3a2920 Mon Sep 17 00:00:00 2001 From: "duncan.parkes@gmail.com" Date: Sat, 20 Jun 2009 22:44:42 +0000 Subject: [PATCH] Fix Middlesbrough scraper. --- trunk/SitesToGenerate.csv | 2 +- trunk/python_scrapers/Ocella.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/trunk/SitesToGenerate.csv b/trunk/SitesToGenerate.csv index f240df2..8dc34fd 100644 --- a/trunk/SitesToGenerate.csv +++ b/trunk/SitesToGenerate.csv @@ -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", diff --git a/trunk/python_scrapers/Ocella.py b/trunk/python_scrapers/Ocella.py index 94ff9e0..adc4c81 100644 --- a/trunk/python_scrapers/Ocella.py +++ b/trunk/python_scrapers/Ocella.py @@ -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