3 ms·
Pretty sure beautifulsoup uses python’s builtin html.parser but can optionally use html5lib or lxml if installed, and it is lxml, not beautifulsoup, that actual
by dragonwriter 1y ago
Pretty sure beautifulsoup uses python’s builtin html.parser but can optionally use html5lib or lxml if installed, and it is lxml, not beautifulsoup, that actually depends on libxml2.
You’re right about nokogiri, though.
- x0x0 1y agoAh, you're right, in the codebase I'm familiar with lxml is used for performance, though it's not the default.