Selaa lähdekoodia

Add Exeter scraper

master
duncan.parkes 17 vuotta sitten
vanhempi
commit
8dcdb639e8
2 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. +8
    -0
      python_scrapers/AcolnetParser.py
  2. +1
    -0
      python_scrapers/SitesToGenerate.csv

+ 8
- 0
python_scrapers/AcolnetParser.py Näytä tiedosto

@@ -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
python_scrapers/SitesToGenerate.csv Näytä tiedosto

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

Ladataan…
Peruuta
Tallenna