Hacker GitHub

← All repos

kovidgoyal/html5-parser

View on GitHub ↗ ★ 709 C

Fast C based HTML 5 parsing for python

7 mentions on Hacker News by 3 people: 1 story, 6 comments · first 2017-06-19 · latest 2024-04-13

Mentions per year 7 mentions · busiest year 2017 (4)
20082026
  1. …# noqa: SLF001 html5.parse(html, return_root=True), ) when I used types-lxml with https://github.com/kovidgoyal/html5-parser . In return I have been able to catch some bugs early and to "fearlessly"refactor code with few or no unit tests, o
    comment by networked · 2024-04-13 · in Shape typing in Python
  2. You want a proper html 5 parser that can handle non valid documents. And the fastest one is https://github.com/kovidgoyal/html5-parser over 30x faster than html5lib
    comment by aumerle · 2022-06-09 · in Beautiful Soup
  3. If you want fast HTML parsing in python+lxml, use html5-parser https://github.com/kovidgoyal/html5-parser
    comment by aumerle · 2022-06-09 · in Beautiful Soup
  4. …nicely in the context of the current discussion. I think the primary claim to fame for this C-based https://github.com/kovidgoyal/html5-parser is serving as a drop-in performance boost for lxml (at the API level; it parses invalid HTML…
    comment by j_s · 2017-11-17 · in Speed up your Python using Rust
  5. Use https://github.com/kovidgoyal/html5-parser , which (in my limited understanding) does a better job faster and is backwards-compatible with both. Recommendation by the author (of Calibre fame) on a similar discussion:…
  6. https://github.com/kovidgoyal/html5-parser
    comment by aumerle · 2017-10-24 · in Introduction to web scraping with Python
  7. ▲ 169
    Show HN: Fast C-based HTML 5 parsing for Python
    story by aumerle · 2017-06-19 · 71 comments