From eee90143d02565141d0d078204fad6f101c35e2c Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Sat, 20 Jun 2009 19:21:15 +0000 Subject: [PATCH] Oops - remove pdb from AcolnetParser. --- python_scrapers/AcolnetParser.py | 1 - python_scrapers/WAM.py | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python_scrapers/AcolnetParser.py b/python_scrapers/AcolnetParser.py index f049d4d..467b6be 100644 --- a/python_scrapers/AcolnetParser.py +++ b/python_scrapers/AcolnetParser.py @@ -316,7 +316,6 @@ class SurreyHeathParser(AcolnetParser): class BoltonLikeParser(AcolnetParser): """Note that Bolton has ceased to be BoltonLike with its latest change of url.""" def _getCouncilReference(self, app_table): - import pdb;pdb.set_trace() return app_table.findAll("a")[1].string.strip() diff --git a/python_scrapers/WAM.py b/python_scrapers/WAM.py index b3a85cf..85f26d4 100644 --- a/python_scrapers/WAM.py +++ b/python_scrapers/WAM.py @@ -172,15 +172,16 @@ if __name__ == '__main__': #parser = BraintreeParser("Colchester", "Colchester", "http://www.planning.colchester.gov.uk/WAM/weeklyApplications.do", debug=True) #parser = WAMParser("East Lothian", "East Lothian", "http://www.planning.eastlothian.gov.uk/WAM/pas/searchApplications.do", debug=True) #parser = BraintreeParser("North Somerset", "North Somerset", "http://wam.n-somerset.gov.uk/MULTIWAM/weeklyApplications.do", debug=True) - parser = WAMParser("Nottingham", "Nottingham", "http://plan4.nottinghamcity.gov.uk/WAM/pas/searchApplications.do", debug=True) + #parser = WAMParser("Nottingham", "Nottingham", "http://plan4.nottinghamcity.gov.uk/WAM/pas/searchApplications.do", debug=True) #parser = PooleParser("Poole long", "Poole", "http://wam.boroughofpoole.com/WAM/pas/searchApplications.do", debug=True) #parser = WAMParser("Rother long", "Rother", "http://www.planning.rother.gov.uk/WAM/pas/searchApplications.do", debug=True) - #parser = BraintreeParser("South Gloucestershire", "South Gloucestershire", "http://planning.southglos.gov.uk/WAM/pas/WeeklyApplications.do", debug=True) +# parser = BraintreeParser("South Gloucestershire", "South Gloucestershire", "http://planning.southglos.gov.uk/WAM/pas/WeeklyApplications.do", debug=True) + parser = BraintreeParser("South Gloucestershire", "South Gloucestershire", "http://planning.southglos.gov.uk/WAM/WeeklyApplications.do", debug=True) #parser = WAMParser("South Norfolk", "South Norfolk", "http://wam.south-norfolk.gov.uk/WAM/pas/searchApplications.do", debug=True) #parser = BraintreeParser("Tower Hamlets", "Tower Hamlets", "http://194.201.98.213/WAM/weeklyApplications.do", debug=True) #parser = WAMParser("Westminster", "Westminster", "http://idocs.westminster.gov.uk:8080/WAM/search/pas/index.htm", debug=True) - print parser.getResults(31,8,2008) + print parser.getResults(12,6,2009) # Left to fix