Re: HTML parse error
Stefan Behnel <[email protected]> Mon, 22 Feb 2010 15:06:24 +0100
| Newsgroups | gmane.comp.python.xml |
|---|---|
| Message-ID | <[email protected]> |
sharifah ummu kulthum, 22.02.2010 14:24: > I am new to python. I have just installed python yesterday for my mythtv > project. I found a site > here<https://sayap.com/blog/2008/12/30/mythtv-s-xmltv-grabber-for-malaysia-channels>for > getting channel listing grabber to get channel for Malaysia for my > mythtv box. but I get these. I don't know what it means > [...] > HTMLParser.HTMLParseError: malformed start tag, at line 830, column 36 It means that what you want to parse here is not valid HTML, i.e. the web page is broken. The HTMLParser package in the standard library is not made for parsing broken HTML. Use another tool like html5lib or lxml.html. Stefan _______________________________________________ XML-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/xml-sig