Unexpected behaviour with HTMLParser...

Stefan Behnel stefan.behnel-n05pAM at web.de
Wed Oct 10 03:19:33 EDT 2007


Just Another Victim of the Ambient Morality wrote:
>     HTMLParser is behaving in, what I find to be, strange ways and I would 
> like to better understand what it is doing and why.

In case you also want an HTML library that is easy to use (and powerful and
flexible and...), look at lxml.html.

http://codespeak.net/lxml/dev/lxmlhtml.html

It's part of lxml 2.0, which is currently in alpha status (which does not mean
it's unstable or something, just not as complete as its authors want it to be).

http://codespeak.net/lxml/dev/

Stefan



More information about the Python-list mailing list