[XML-SIG] HTML parse error

Stefan Behnel stefan_ml at behnel.de
Mon Feb 22 15:12:51 CET 2010

sharifah ummu kulthum, 22.02.2010 15:08:
> On Mon, Feb 22, 2010 at 10:06 PM, Stefan Behnel wrote:
>> 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
> does it means that i have to install the tool?

Yes. That's pretty easy, though. They should be readily packaged for your
platform (Linux), so you can just install them like any other software
package. Look out for "python-html5lib" or "python-lxml".


More information about the XML-SIG mailing list