BeautifulSoup doesn't have a terribly consistent API, and if you need to screen-scrape, html5lib has a highly browser-like interpretation of pretty much all HTML (it was the reference implementation during html5 spec discussions, as I understand it).
BeautifulSoup doesn't have a terribly consistent API, and if you need to screen-scrape, html5lib has a highly browser-like interpretation of pretty much all HTML (it was the reference implementation during html5 spec discussions, as I understand it).
Just a thought!