Pārlūkot izejas kodu

Gosport has been hardcoded for the last year to check one date in 2008 - woops!

master
duncan.parkes pirms 15 gadiem
vecāks
revīzija
4ff52768f4
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      python_scrapers/Gosport.py

+ 2
- 2
python_scrapers/Gosport.py Parādīt failu

@@ -55,7 +55,7 @@ class GosportParser:
# ("ApplicationSearch21%3AtbDevAddress", ""),
# ("ApplicationSearch21%3AtbApplicantName", ""),
# ("ApplicationSearch21%3AtbAgentName", ""),
("ApplicationSearch21:tbDateSubmitted", "10/01/2008"),
("ApplicationSearch21:tbDateSubmitted", search_date.strftime(search_date_format)),
("ApplicationSearch21:btnDateSubmitted", "Search"),
# ("ApplicationSearch21%3AtbDateDetermined", ""),
)
@@ -96,5 +96,5 @@ class GosportParser:

if __name__ == '__main__':
parser = GosportParser()
print parser.getResults(20,11,2008)
print parser.getResults(12,6,2009)


Notiek ielāde…
Atcelt
Saglabāt