Best DOM-like HTML parser?

Peter nospamjynyl at yahoo.co.nz
Fri May 16 17:02:55 EDT 2003


this quote is from MAK of Sat, 17 May 2003 07:23 :

> I have a need to read and parse an HTML page (containing a table,
> which is the data I am after).  If this were XML, I'd be using the
> effbot's ElementTree, but this is plain-ol' HTML.  Is there anything
> out there as simple and easy to use as ElementTree, but for HTML?  Or
> am I going the wrong way?
 
I was after converting html tables into plain text recently, and found I
could convert this into what I needed.
http://www.faqts.com/knowledge_base/view.phtml/aid/5515/fid/481

HTH

Peter







More information about the Python-list mailing list