Skip to content

qmfrederik/HtmlAgilityPack.CssSelectors.NetCore

 
 

Repository files navigation

HtmlAgilityPack.CssSelectors.NetCore · NuGet PRs Welcome GitHub license

NetStandard version of HtmlAgilityPack.CssSelector which use HtmlAgilityPack

Installation

Install-Package HtmlAgilityPack.CssSelectors.NetCore

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 a beer

Donate

About

NetStandard version of HtmlAgilityPack.CssSelector

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 91.2%
  • HTML 8.0%
  • Batchfile 0.8%