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
20082026
-
…# 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 -
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 -
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 -
…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 -
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:…
comment by j_s · 2017-11-14 · in Ask HN: What are best tools for web scraping? -
https://github.com/kovidgoyal/html5-parser
comment by aumerle · 2017-10-24 · in Introduction to web scraping with Python -
▲ 169
Show HN: Fast C-based HTML 5 parsing for Pythonstory by aumerle · 2017-06-19 · 71 comments