ソースを参照

Add Boston, which I missed for some reason when I was doing the SwiftLG sites.

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

+ 1
- 0
python_scrapers/SitesToGenerate.csv ファイルの表示

@@ -179,3 +179,4 @@
"Slough Borough Council", "Slough", "http://www2.slough.gov.uk/swiftlg/apas/run/", "SwiftLG", "SloughParser"
"Snowdonia National Park Authority", "Snowdonia", "http://www.snowdonia-npa.gov.uk/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser"
"St Edmundsbury Borough Council", "Bury St Edmunds", "http://www.stedmundsbury.gov.uk/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser"
"Boston Borough Council", "Boston", "http://195.224.121.199/swiftlg/apas/run/", "SwiftLG", "SwiftLGParser"

+ 2
- 1
python_scrapers/SwiftLG.py ファイルの表示

@@ -200,8 +200,9 @@ class SloughParser(SwiftLGParser):
return results_table.findAll("tr")[2:]

if __name__ == '__main__':
parser = SwiftLGParser("Boston Borough Council", "Boston", "http://195.224.121.199/swiftlg/apas/run/")
# parser = SwiftLGParser("Dudley", "Dudley", "http://www2.dudley.gov.uk/swiftlg/apas/run/")
parser = EastHertsParser("East Hertfordshire", "East Herts", "http://e-services.eastherts.gov.uk/swiftlg/apas/run/")
# parser = EastHertsParser("East Hertfordshire", "East Herts", "http://e-services.eastherts.gov.uk/swiftlg/apas/run/")
# parser = GwyneddParser("Gwynedd", "Gwynedd", "http://www.gwynedd.gov.uk/swiftlg/apas/run/")
# parser = IslingtonParser("Islington", "Islington", "https://www.islington.gov.uk/onlineplanning/apas/run/")
# parser = LakeDistrictParser("Lake District", "Lake District", "http://www.lake-district.gov.uk/swiftlg/apas/run/")


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