[XML-SIG] HTML parse error

Stefan Behnel stefan_ml at behnel.de
Mon Feb 22 15:06:24 CET 2010


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



More information about the XML-SIG mailing list