From d915dbf612e7054c0fd4bfa114db83d8296c2ef7 Mon Sep 17 00:00:00 2001 From: "duncan.parkes@gmail.com" Date: Fri, 24 Sep 2010 12:12:14 +0000 Subject: [PATCH] Open up Barnet scraper on cake. --- trunk/SitesToGenerate.csv | 2 +- trunk/python_scrapers/AcolnetParser.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/trunk/SitesToGenerate.csv b/trunk/SitesToGenerate.csv index 734647e..5ebce99 100644 --- a/trunk/SitesToGenerate.csv +++ b/trunk/SitesToGenerate.csv @@ -9,7 +9,7 @@ "Aylesbury Vale District Council","Aylesbury Vale",,,,,,"http://eplanning.aylesburyvaledc.gov.uk/tdc/","PublicAccess","PublicAccessParser", "Babergh District Council","Babergh",,,,,,"http://planning.babergh.gov.uk/dcdatav2//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch","AcolnetParser","AcolnetParser", "London Borough of Barking and Dagenham","Barking and Dagenham",,,,,,"http://paweb.barking-dagenham.gov.uk/PublicAccess/tdc/","PublicAccess","PublicAccessParser", -"London Borough of Barnet","Barnet",,"http://duncan.devel.disruptiveproactivity.com/Barnet.cgi?day={day}&month={month}&year={year}",1,,,"http://194.75.183.100/planning-cases/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch","AcolnetParser","AcolnetParser", +"London Borough of Barnet","Barnet",,"http://cake.ukcod.org.uk/~duncan/Barnet.cgi?day={day}&month={month}&year={year}",1,,,"http://194.75.183.100/planning-cases/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch","AcolnetParser","AcolnetParser", "Barnsley Metropolitan Borough Council","Barnsley",,,,,,,"Barnsley","BarnsleyParser", "Barrow Borough Council","Barrow",,,,,,"http://localportal.barrowbc.gov.uk/","ApplicationSearchServletParser","BarrowSearchParser", "Basildon District Council","Basildon",,,,,,"http://planning.basildon.gov.uk/publicaccess/tdc/","PublicAccess","PublicAccessParser", diff --git a/trunk/python_scrapers/AcolnetParser.py b/trunk/python_scrapers/AcolnetParser.py index a1ce4b8..2d93e59 100644 --- a/trunk/python_scrapers/AcolnetParser.py +++ b/trunk/python_scrapers/AcolnetParser.py @@ -354,12 +354,12 @@ class HarlowParser(AcolnetParser): return self._current_application.info_url.replace("PgeResultDetail", "PgeCommentNeighbourForm&hasreference=no") if __name__ == '__main__': - day = 6 - month = 8 + day = 21 + month = 9 year = 2010 #parser = AcolnetParser("Babergh", "Babergh", "http://planning.babergh.gov.uk/dcdatav2//acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch") - #parser = AcolnetParser("Barnet", "Barnet", "http://194.75.183.100/planning-cases/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch") + parser = AcolnetParser("Barnet", "Barnet", "http://194.75.183.100/planning-cases/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch") #parser = AcolnetParser("Basingstoke", "Basingstoke", "http://planning.basingstoke.gov.uk/DCOnline2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch") # parser = BassetlawParser("Bassetlaw", "Bassetlaw", "http://www.bassetlaw.gov.uk/planning/AcolNetCGI.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch") # parser = AcolnetParser("Bolton", "Bolton", "http://www.planning.bolton.gov.uk/DCOnlineV2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch") @@ -370,7 +370,7 @@ if __name__ == '__main__': #parser = AcolnetParser("Croydon", "Croydon", "http://planning.croydon.gov.uk/DCWebPages/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch") #parser = AcolnetParser("Derby", "Derby", "http://eplanning.derby.gov.uk/acolnet/planningpages02/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch") #parser = AcolnetParser("East Lindsey", "East Lindsey", "http://www.e-lindsey.gov.uk/planning/AcolnetCGI.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser") - parser = AcolnetParser("Exeter City Council", "Exeter", "http://pub.exeter.gov.uk/scripts/Acolnet/dataonlineplanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch") + #parser = AcolnetParser("Exeter City Council", "Exeter", "http://pub.exeter.gov.uk/scripts/Acolnet/dataonlineplanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch") # parser = AcolnetParser("Stoke on Trent City Council", "Stoke", "http://www.planning.stoke.gov.uk/dataonlineplanning/AcolNetCGI.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch") #parser = BoltonParser("Fylde", "Fylde", "http://www2.fylde.gov.uk/planning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch") #parser = AcolnetParser("Guildford", "Guildford", "http://www.guildford.gov.uk/DLDC_Version_2/acolnetcgi.exe?ACTION=UNWRAP&RIPNAME=Root.pgesearch")