This is an agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT (you actually don't HAVE to understand XPATH nor XSLT to use it, don't worry...). It is a .NET code library that allows you to parse "out of the web" HTML files. The parser is very tolerant with "real world" malformed HTML. The object model is very similar to what proposes System.Xml, but for HTML documents (or streams).
dotnet add package HtmlAgilityPack
Install-Package HtmlAgilityPack
| 作者 | Simon Mourrier, Jeff Klawiter |
|---|---|
| 项目主页 | http://htmlagilitypack.codeplex.com/ |
| 许可证 | http://htmlagilitypack.codeplex.com/license |
| 最新版本 | 1.12.4 |