3 ms·
Have you tried htmlparser? Its fairly tolerant of "wild" html. It could use some tweaks to match the html5 spec that defines a lot more tags that don't require
by elcritch 5y ago
Have you tried htmlparser? Its fairly tolerant of "wild" html. It could use some tweaks to match the html5 spec that defines a lot more tags that don't require end tags. Also the library isnt to bad to grok and tweak yourself.
There's also Nimquery that looks nice, though I haven't used it yet. Still looks to replace a lot of beautifulsoup.
- MR4D 5y agoNo, but I use feedparser in the same script. Basically I'm scraping SEC data, but the script has been around for awhile untouched, so there are probably better solutions today.