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]");