diff --git a/trunk/cgi-bin/AcolnetParser.py b/trunk/cgi-bin/AcolnetParser.py index 746270d..990c711 100644 --- a/trunk/cgi-bin/AcolnetParser.py +++ b/trunk/cgi-bin/AcolnetParser.py @@ -161,6 +161,9 @@ class AcolnetParser(HTMLParser.HTMLParser): search_form_response = urllib2.urlopen(self.base_url) search_form_contents = search_form_response.read() + #outfile = open("tmpfile", "w") + #outfile.write(search_form_contents) + # This sometimes causes a problem in HTMLParser, so let's just get the link # out with a regex... @@ -270,7 +273,7 @@ class BridgenorthParser(AcolnetParser): comments_email_address = "contactus@bridgnorth-dc.gov.uk" - action_regex = re.compile("