Winista.HtmlParser提取网页中所有的li应该怎么写?
如题,以下是我现在的代码,取不到任何值:
NodeList priceNode = parser.Parse(new TagNameFilter("li"));
NodeList priceNode = parser.ExtractAllNodesThatMatch(new TagNameFilter("li"));
INode[] priceNode = parser.ExtractAllNodesThatAre(typeof(System.Web.UI.HtmlControls.HtmlGenericControl ));