首页 > 代码库 > HtmlAgilityPack

HtmlAgilityPack

http://htmlagilitypack.codeplex.com/wikipage?title=Examples

http://nuget.org/packages/HtmlAgilityPack

                HtmlAgilityPack.HtmlWeb web = new HtmlAgilityPack.HtmlWeb();                                HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();                doc.LoadHtml(page1);                var node = doc.DocumentNode.SelectNodes("/html/body");

HtmlAgilityPack