4 ms·
He does, but sadly his comment is way off. Anyone that's done any amount of HTML scraping will use BeautifullSoup over lxml. The former being easier and more to
by hnriot 14y ago
He does, but sadly his comment is way off. Anyone that's done any amount of HTML scraping will use BeautifullSoup over lxml. The former being easier and more tolerant of html's nuances. The latter being brittle for anything less well formed than XHTML.
- berlinbrown 14y agoI didn't want to say it but yea I thought BeautifulSoup has way more development. I wonder if you disagree with him, he will unleash his wraith upon ye.
- mickeyp 14y agoSorry but lxml with ETree will handle any amount of broken html you throw at it. Add in XPath and I find lxml to be a far superior, and more memory efficent, option. Source: former professional web scraper.