improved hyperlink parser in python?

eugene kim eugene1977 at hotmail.com
Sun Oct 13 22:00:45 EDT 2002


forgot to mention
this site doesn't even get reached with error
http://radio.weblogs.com/0106346



Traceback (most recent call last):
  File "bloglog.py", line 36, in ?
    p.feed(file.read())
  File "/usr/local/lib/python2.2/sgmllib.py", line 95, in feed
    self.goahead(0)
  File "/usr/local/lib/python2.2/sgmllib.py", line 161, in goahead
    k = self.parse_declaration(i)
  File "/usr/local/lib/python2.2/markupbase.py", line 66, in 
parse_declaration
    decltype, j = self._scan_name(j, i)
  File "/usr/local/lib/python2.2/markupbase.py", line 313, in _scan_name
    self.error("expected name token")
  File "/usr/local/lib/python2.2/sgmllib.py", line 102, in error
    raise SGMLParseError(message)
sgmllib.SGMLParseError: expected name token







More information about the Python-list mailing list