Pārlūkot izejas kodu

Add Exeter scraper

master
duncan.parkes pirms 17 gadiem
vecāks
revīzija
8dcdb639e8
2 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  1. +8
    -0
      python_scrapers/AcolnetParser.py
  2. +1
    -0
      python_scrapers/SitesToGenerate.csv

+ 8
- 0
python_scrapers/AcolnetParser.py Parādīt failu

@@ -471,6 +471,14 @@ class BoltonParser(AcolnetParser):
proposal_tr = 5 proposal_tr = 5
comments_email_address = "Planning.control@bolton.gov.uk" 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): class SurreyHeathParser(AcolnetParser):
# This is not working yet. # This is not working yet.
# _getSearchResponse is an attempt to work around # _getSearchResponse is an attempt to work around


+ 1
- 0
python_scrapers/SitesToGenerate.csv Parādīt failu

@@ -145,3 +145,4 @@
"Lincolnshire County Council", "Lincolnshire", "http://apps1.lincolnshire.gov.uk/ePlanning/loadResults.do", "AtriumePlanning", "AtriumePlanningParser" "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" "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" "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"

Notiek ielāde…
Atcelt
Saglabāt