Browse Source

Add Dorset CC scraper

import/raw
duncan.parkes 17 years ago
parent
commit
5e8781a7a9
2 changed files with 4 additions and 2 deletions
  1. +3
    -2
      trunk/python_scrapers/AtriumePlanning.py
  2. +1
    -0
      trunk/python_scrapers/SitesToGenerate.csv

+ 3
- 2
trunk/python_scrapers/AtriumePlanning.py View File

@@ -3,7 +3,6 @@ import urllib
import urlparse

import datetime
#import re

from BeautifulSoup import BeautifulSoup

@@ -109,7 +108,7 @@ class AtriumePlanningParser:
return self.getResultsByDayMonthYear(int(day), int(month), int(year)).displayXML()


#if __name__ == '__main__':
if __name__ == '__main__':
# cumbria_parser = AtriumePlanningParser("Cumbria County Council", "Cumbria", "http://217.114.50.149:7778/ePlanningOPS/loadResults.do")

# print cumbria_parser.getResults(22,11,2007)
@@ -117,3 +116,5 @@ class AtriumePlanningParser:

# print cumbria_parser.getResults(22,11,2007)

parser = AtriumePlanningParser("Dorset County Council", "Dorset", "http://www.dorsetforyou.com/ePlanning/loadResults.do")
print parser.getResults(13,11,2007)

+ 1
- 0
trunk/python_scrapers/SitesToGenerate.csv View File

@@ -182,3 +182,4 @@
"Boston Borough Council", "Boston", "http://195.224.121.199/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser"
"Swansea City and County", "Swansea", "http://www2.swansea.gov.uk/", "PlanningExplorer", "SwanseaParser"
"Shrewsbury and Atcham Borough Council", "Shrewsbury", "http://www2.shrewsbury.gov.uk/", "PlanningExplorer", "ShrewsburyParser"
"Dorset County Council", "Dorset", "http://www.dorsetforyou.com/ePlanning/loadResults.do", "AtriumePlanning", "AtriumePlanningParser"

Loading…
Cancel
Save