Hacker GitHub

← All repos

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

Mentions per year 6 mentions · busiest year 2024 (2)
20082026
  1. Lexbor can also be used from Python: https://github.com/rushter/selectolax
  2. 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.
  3. …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…
  4. 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
  5. ▲ 1
    A fast Python HTML5 parser and CSS selectors using Modest engine
    story by wslh · 2019-07-26 · 0 comments
  6. ▲ 3
    Show HN: Python bindings to Modest engine (fast HTML parser with CSS selectors)
    story by rushter · 2017-11-30 · 0 comments