Guy Guy - 1 year ago 68
HTML Question

Python: Is there a built in package to parse html into dom

I found HTMLParser for sax and xml.minidom for xml. I have a pretty well formed html so I don't need a too strong parser - any suggestions?

Answer Source

Take a look at BeautifulSoup. It's popular and excellent at parsing HTML.