rushter/selectolax
View on GitHub ↗ ★ 1,714 Python
Python binding to Modest and Lexbor engines. Fast HTML5 parser with CSS selectors for Python.
6 mentions on Hacker News by 6 people: 2 stories, 4 comments · first 2017-11-30 · latest 2024-11-18
20082026
-
Lexbor can also be used from Python: https://github.com/rushter/selectolax
comment by ForceBru · 2024-11-18 · in Nokolexbor: Drop-in replacement for Nokogiri. 5.2x faster at parsing HTML -
We have been using https://github.com/rushter/selectolax as a faster alternative to BeautifulSoup with html5lib because many malformed webpages in the wild don't work with lxml.
comment by bratao · 2024-06-12 · in Lexbor – An open source HTML Renderer library -
…Modest or Lexbor is ~25x faster at HTML parsing than BeautifulSoup in the selectolax benchmark: https://github.com/rushter/selectolax#simple-benchmark ) (Apache Nutch is a Java-based web crawler which supports e.g. CommonCrawl (which backs…
comment by westurner · 2023-09-11 · in Code-gov: A collection point for all Code.gov repositories -
Lazyweb link: https://github.com/rushter/selectolax although I don't follow the need to have what appears to be two completely separate HTML parsing C libraries as dependencies; seeing this in the readme for Modest gives me the shivers…
comment by mdaniel · 2021-10-11 · in The State of Web Scraping in 2021