private static HtmlNode GetRoot(string html) { var doc = new HtmlDocument(); doc.LoadHtml(html); HtmlNode root = doc.DocumentNode; return root; }