Link parkin': Looks like the Twisted developers have come up with a Python library for dealing with ill formed HTML.
On the one hand, I had just recently been lamenting the fact that Python didn't have anything like Perl's HTML::Tree. On the other, I wonder how much of an inhale Twisted would be just to get that one module.