On Sat, Feb 11, 2012 at 1:00 PM, Mike Orr <[email protected]> wrote:
> On Fri, Feb 10, 2012 at 12:49 PM, Jason <[email protected]> wrote: > > BeautifulSoup: I use lxml.html for HTML parsing , but I haven't used > > BeautifulSoup enough to know the difference. > > BeautifulSoup can handle bad HTML better. If your HTML files are > coming from a third party and you can't control their quality, it may > be better to use BeautifulSoup than get an exception. I have an > application with an online glossary, and the glossary is maintained by > another person using some visual tool. So when I get an update, I use > BeautifulSoup to parse it. > > BeautifulSoup is freaking magical for that. It's awesome. We use it for making sure clients can't break things sticking in totally mangled html. iain -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
