diff --git a/cgi-bin/AcolnetParser.py b/cgi-bin/AcolnetParser.py index 36e916e..2da86db 100644 --- a/cgi-bin/AcolnetParser.py +++ b/cgi-bin/AcolnetParser.py @@ -23,6 +23,8 @@ from time import strptime date_format = "%d/%m/%Y" our_date = date(2007,4,25) +#This is to get the system key out of the info url +system_key_regex = re.compile("TheSystemkey=(\d*)", re.IGNORECASE) class AcolnetParser(HTMLParser.HTMLParser): case_number_tr = None # this one can be got by the td class attribute @@ -34,6 +36,7 @@ class AcolnetParser(HTMLParser.HTMLParser): # appropriate email address instead comments_email_address = None + action_regex = re.compile("