Parsing HTML?

Daniel Fetchinson fetchinson at googlemail.com
Thu Apr 3 01:37:45 EDT 2008


> I'm trying to parse an HTML file.  I want to retrieve all of the text
> inside a certain tag that I find with XPath.  The DOM seems to make
> this available with the innerHTML element, but I haven't found a way
> to do it in Python.

Have you tried http://www.google.com/search?q=python+html+parser ?

HTH,
Daniel



More information about the Python-list mailing list