From 4ff52768f4cc45eb648e6c090124eda8ab3bbde4 Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Sun, 21 Jun 2009 16:01:23 +0000 Subject: [PATCH] Gosport has been hardcoded for the last year to check one date in 2008 - woops! --- python_scrapers/Gosport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_scrapers/Gosport.py b/python_scrapers/Gosport.py index b6d16a4..2e6bd8b 100644 --- a/python_scrapers/Gosport.py +++ b/python_scrapers/Gosport.py @@ -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)