Filter HTML Contents
By using the HtmlDocument object from the HtmlAgilityPack library, html document object filtering can be achieved.
HtmlDocument doc = new HtmlDocument();
doc.LoadHtml(htmlOutput);
HtmlNodeCollection selectedHtmlNodes = doc.DocumentNode.SelectNodes("//html/body");
selectedHtmlNodes.ToList();Last updated