Skip to main content
HtmlAgilityPack.NetCore package icon

HtmlAgilityPack.NetCore

Deprecated as there's new maintainer for original HAP project. Please check the new repo at https://github.com/zzzprojects/html-agility-pack. This is a port of HtmlAgilityPack library created by Simon Mourrier and Jeff Klawiter for .NET Core platform. This NuGet package supports can be used with Universal Windows Platform, ASP.NET 5 (using .NET Core) and full .NET Framework 4.6. Original description: 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).

Total Downloads
5.7M
5,720,563
Published
Jul 22, 2016
Latest stable version

Install

.NET CLI
dotnet add package HtmlAgilityPack.NetCore --version 1.5.0.1
Package Manager Console
Install-Package HtmlAgilityPack.NetCore -Version 1.5.0.1
PackageReference
<PackageReference Include="HtmlAgilityPack.NetCore" Version="1.5.0.1" />

Frameworks

.NETFramework4.5 .NETStandard1.3

Dependencies

System.Collections
.NETStandard1.3
[4.0.11, )
System.Linq
.NETStandard1.3
[4.1.0, )
System.Threading
.NETStandard1.3
[4.0.11, )
System.Runtime
.NETStandard1.3
[4.1.0, )
[4.1.0, )
System.Xml.XPath
.NETStandard1.3
[4.0.1, )
[4.0.11, )
[4.1.0, )
[4.1.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.