[Baypiggies] replacement for urllib2 that can handle xhtml

Bill Janssen janssen at parc.com
Fri Dec 31 20:34:57 CET 2010


Charles Merriam <charles.merriam at gmail.com> wrote:

> This shows up on the mailing list every now and then.
> 
> lxml is faster, more tolerant, etc., than Beautful Soup and the built in ones..

Happy to take your word for that, but it's got various prereqs and I've
found it a pain to install (on Macs, which lack an integrated package
system).  So I tend to stick to BeautifulSoup.

Horses for courses...

Bill


> 
> 
> Enjoy
> 
> On Thu, Dec 30, 2010 at 7:46 PM, Bill Janssen <janssen at parc.com> wrote:
> >
> > BeautifulSoup does xhtml, too.
> >
> > Bill
> >
> > Tony Cappellini <cappy2112 at gmail.com> 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?
> > >
> > > thanks
> > > _______________________________________________
> > > Baypiggies mailing list
> > > Baypiggies at python.org
> > > To change your subscription options or unsubscribe:
> > > http://mail.python.org/mailman/listinfo/baypiggies
> > _______________________________________________
> > Baypiggies mailing list
> > Baypiggies at python.orgis shows
> > To change your subscription options or unsubscribe:
> > http://mail.python.org/mailman/listinfo/baypiggies


More information about the Baypiggies mailing list