diff --git a/python_scrapers/AcolnetParser.py b/python_scrapers/AcolnetParser.py index 768e5cd..bea581e 100644 --- a/python_scrapers/AcolnetParser.py +++ b/python_scrapers/AcolnetParser.py @@ -31,7 +31,7 @@ system_key_regex = re.compile("TheSystemkey=(\d*)", re.IGNORECASE) end_head_regex = re.compile("?", re.IGNORECASE) -class AcolnetParser(HTMLParser.HTMLParser): +class AcolnetParser: received_date_format = "%d/%m/%Y" comment_qs_template = "ACTION=UNWRAP&RIPNAME=Root.PgeCommentForm&TheSystemkey=%s" diff --git a/python_scrapers/PlanningExplorer.py b/python_scrapers/PlanningExplorer.py index c902aa1..2ab9230 100644 --- a/python_scrapers/PlanningExplorer.py +++ b/python_scrapers/PlanningExplorer.py @@ -545,7 +545,7 @@ if __name__ == '__main__': #parser = BlackburnParser("Blackburn With Darwen Borough Council", "Blackburn", "http://195.8.175.6/") #parser = BroadlandParser("Broadland Council", "Broadland", "http://www.broadland.gov.uk/") - #parser = CamdenParser("London Borough of Camden", "Camden", "http://planningrecords.camden.gov.uk/") + parser = CamdenParser("London Borough of Camden", "Camden", "http://planningrecords.camden.gov.uk/") #parser = CharnwoodParser("Charnwood Borough Council", "Charnwood", "http://portal.charnwoodbc.gov.uk/") #parser = CreweParser("Crewe and Nantwich Borough Council", "Crewe and Nantwich", "http://portal.crewe-nantwich.gov.uk/") #parser = EastStaffsParser("East Staffordshire Borough Council", "East Staffs", "http://www2.eaststaffsbc.gov.uk/") @@ -555,7 +555,7 @@ if __name__ == '__main__': #parser = KennetParser("Kennet District Council", "Kennet", "http://mvm-planning.kennet.gov.uk/") #parser = LincolnParser("Lincoln City Council", "Lincoln", "http://online.lincoln.gov.uk/") #parser = LiverpoolParser("Liverpool City Council", "Liverpool", "http://www.liverpool.gov.uk/") - parser = ShrewsburyParser("Shrewsbury and Atcham Borough Council", "Shrewsbury", "http://www2.shrewsbury.gov.uk/") + #parser = ShrewsburyParser("Shrewsbury and Atcham Borough Council", "Shrewsbury", "http://www2.shrewsbury.gov.uk/") #parser = SouthNorfolkParser("South Norfolk Council", "South Norfolk", "http://planning.south-norfolk.gov.uk/") #parser = SouthShropshireParser("South Shropshire District Council", "South Shropshire", "http://194.201.44.102/") #parser = SouthTynesideParser("South Tyneside Council", "South Tyneside", "http://poppy.southtyneside.gov.uk/")