ソースを参照

Add Dorset CC scraper

master
duncan.parkes 17年前
コミット
019b51610e
2個のファイルの変更4行の追加2行の削除
  1. +3
    -2
      python_scrapers/AtriumePlanning.py
  2. +1
    -0
      python_scrapers/SitesToGenerate.csv

+ 3
- 2
python_scrapers/AtriumePlanning.py ファイルの表示

@@ -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
python_scrapers/SitesToGenerate.csv ファイルの表示

@@ -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"

読み込み中…
キャンセル
保存