On Feb 21, 2011, at 7:07 PM, James Mills wrote: > You might want to look into using either > the lxml or BeautifulSoup modules. For parsing random HTML, the html5lib module works much better than either of those.