[Baypiggies] replacement for urllib2 that can handle xhtml

Aahz aahz at pythoncraft.com
Tue Dec 28 16:05:34 CET 2010

On Mon, Dec 27, 2010, Tony Cappellini wrote:
> What's the best module/package for parsing xhtml?  HTMLParser is
> built in, but is there another package which is more like urlib2 or
> Beautiful Soup- but handles xhtml?

lxml?  (Never used it myself, but xhtml is supposed to be xml-compliant,
therefore lxml would be the obvious choice.  ElementTree also ought to
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Think of it as evolution in action."  --Tony Rand

More information about the Baypiggies mailing list