From c1781338e67b0155518500e65dee9cb79c4b98ae Mon Sep 17 00:00:00 2001 From: "duncan.parkes@gmail.com" 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! --- trunk/python_scrapers/Gosport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/python_scrapers/Gosport.py b/trunk/python_scrapers/Gosport.py index b6d16a4..2e6bd8b 100644 --- a/trunk/python_scrapers/Gosport.py +++ b/trunk/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)