html5lib 解析HTML Python库
html5lib简介
html5lib,Python第三方库,用于解析HTML,符合WHATWG HTML规范。
html5lib应用实例
import html5lib
with open("mydocument.html", "rb") as f:
document = html5lib.parse(f)
html5lib Github统计数据
MIT license
Github 1.1k stars
html5lib安装命令
pip install html5lib
Python版本要求
html5lib works on CPython 2.7+, CPython 3.5+ and PyPy
html5lib文档
Github:html5lib
Documentation:html5lib
免责声明:内容编辑自网络,仅供参考,不保证正确性,不作任何决策依据!!以上数据皆截止于博文的写稿日期。