From 5d0afbd4ba413f1c07fb9da503f6f73a629d9033 Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Wed, 16 Sep 2009 19:51:10 +0000 Subject: [PATCH] Fix South Gloucestershire - council have changed a URL. --- SitesToGenerate.csv | 2 +- python_scrapers/WAM.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SitesToGenerate.csv b/SitesToGenerate.csv index 2933775..4d03363 100644 --- a/SitesToGenerate.csv +++ b/SitesToGenerate.csv @@ -254,7 +254,7 @@ full_name,short_name,planning_email,feed_url,external,disabled,notes,base_url,py "South Bedfordshire District Council","South Bedfordshire",,,,,,http://planning.southbeds.gov.uk/plantech/DCWebPages/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.PgeSearch,AcolnetParser,AcolnetParser, "South Bucks District Council","South Bucks",,,,,,http://sbdc-paweb.southbucks.gov.uk/publicaccess/tdc/,PublicAccess,PublicAccessParser, "South Cambridgeshire District Council","South Cambs",,http://scambs.jdi-consult.net/devcon/planningalerts.php?year={year}&month={month}&day={day},1,,"Feed from the guys who run the site :-)",,,, -"South Gloucestershire Council","South Gloucestershire",,http://duncan.devel.disruptiveproactivity.com/South%20Gloucestershire.cgi?day={day}&month={month}&year={year},1,,,http://planning.southglos.gov.uk/WAM/pas/WeeklyApplications.do,WAM,BraintreeParser, +"South Gloucestershire Council","South Gloucestershire",,http://duncan.devel.disruptiveproactivity.com/South%20Gloucestershire.cgi?day={day}&month={month}&year={year},1,,,http://planning.southglos.gov.uk/WAM/weeklyApplications.do,WAM,BraintreeParser, "South Lakeland District Council","South Lakeland",,,,,,http://www.southlakeland.gov.uk/fastweb/,FastWeb,FastWeb, "South Norfolk Council","South Norfolk",,,,,,http://planning.south-norfolk.gov.uk/,PlanningExplorer,SouthNorfolkParser, "South Northamptonshire Council","South Northamptonshire",,,,,,http://snc.planning-register.co.uk/PlanAppList.asp,Shropshire,SouthNorthamptonshireParser, diff --git a/python_scrapers/WAM.py b/python_scrapers/WAM.py index 85f26d4..dcb17eb 100644 --- a/python_scrapers/WAM.py +++ b/python_scrapers/WAM.py @@ -175,13 +175,13 @@ if __name__ == '__main__': #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/WeeklyApplications.do", debug=True) + parser = BraintreeParser("South Gloucestershire", "South Gloucestershire", "http://planning.southglos.gov.uk/WAM/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(12,6,2009) + print parser.getResults(12,8,2009) # Left to fix