Преглед на файлове

Add Exeter scraper

import/raw
duncan.parkes преди 17 години
родител
ревизия
833cbf6cdb
променени са 2 файла, в които са добавени 9 реда и са изтрити 0 реда
  1. +8
    -0
      trunk/python_scrapers/AcolnetParser.py
  2. +1
    -0
      trunk/python_scrapers/SitesToGenerate.csv

+ 8
- 0
trunk/python_scrapers/AcolnetParser.py Целия файл

@@ -471,6 +471,14 @@ class BoltonParser(AcolnetParser):
proposal_tr = 5
comments_email_address = "Planning.control@bolton.gov.uk"


class ExeterParser(AcolnetParser):
case_number_tr = 1
reg_date_tr = 3
location_tr = 5
proposal_tr = 6

class SurreyHeathParser(AcolnetParser):
# This is not working yet.
# _getSearchResponse is an attempt to work around


+ 1
- 0
trunk/python_scrapers/SitesToGenerate.csv Целия файл

@@ -145,3 +145,4 @@
"Lincolnshire County Council", "Lincolnshire", "http://apps1.lincolnshire.gov.uk/ePlanning/loadResults.do", "AtriumePlanning", "AtriumePlanningParser"
"West Sussex County Council", "West Sussex", "http://eplanning.westsussex.gov.uk/ePlanningOPS/loadResults.do", "AtriumePlanning", "AtriumePlanningParser"
"Bolton Metropolitan Borough Council", "Bolton", "http://www.planning.bolton.gov.uk/PlanningSearch/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "BoltonParser"
"Exeter City Council", "Exeter", "http://pub.exeter.gov.uk/scripts/Acolnet/dataonlineplanning/acolnetcgi.gov?ACTION=UNWRAP&RIPNAME=Root.pgesearch", "AcolnetParser", "ExeterParser"

Зареждане…
Отказ
Запис