lxml, Parsel and html5lib
Fast HTML/XML parsing with XPath (lxml), Scrapy's selector library (Parsel), and a browser-exact parser (html5lib).
Easy
lxml is much faster than Beautiful Soup's default parser on large pages.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.