教程
问答
博客
Python源码
Java源码
开源
论坛
教程
问答
博客
Python源码
Java源码
开源
论坛
登录
注册
开源软件
Web应用开发
HTML5开发相关
html5lib
html5lib
- HTML解析库
HTML5开发相关
HTML解析器
授权协议:
MIT
操作系统:
跨平台
开发语言:
Python
软件简介
html5lib 是一个 Ruby 和 Python 用来解析 HTML 文档的类库,支持HTML 5 以及最大程度兼容桌面浏览器。
主要特性包括:
Parses valid and invalid HTML documents to a tree
Support for
minidom
,
ElementTree
(including
cElementTree
and
lxml.etree
),
BeautifulSoup
and custom
simpletree
output formats
DOM
to
SAX
converter
Reports parse errors
Character encoding detection
XML mode for working with illformed XML e.g. feeds
Filtering and serializing of trees
HTML+CSS sanitizer
Many unit tests
Faster than before :)
软件首页