Skip to content

karashiiro/HtmlAgilityPack.CssSelectors.NetCore

 
 

Repository files navigation

Karashiiro.HtmlAgilityPack.CssSelectors.NetCoreFork · NuGet PRs Welcome GitHub license

Unofficial fork of HtmlAgilityPack.CssSelectors.NetCore with patches. If the official version of the package was released more recently than this, please use that instead.

NetStandard version of HtmlAgilityPack.CssSelector which use HtmlAgilityPack

Installation

Install-Package Karashiiro.HtmlAgilityPack.CssSelectors.NetCoreFork

Usage

var doc = new HtmlAgilityPack.HtmlDocument();
doc.Load(new FileStream("test.html", FileMode.Open));

IList<HtmlNode> nodes = doc.QuerySelectorAll("div .my-class[data-attr=123] > ul li");
HtmlNode node = nodes[0].QuerySelector("p.with-this-class span[data-myattr]");

Buy me the author a beer

Donate

About

Unofficial fork of HtmlAgilityPack.CssSelectors.NetCore with patches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 85.5%
  • HTML 14.0%
  • Batchfile 0.5%