我将 C# 与 HtmlAgilityPack 一起使用,我可以选择 id 为 foo 的 div
var foos = from foo in htmlDoc.DocumentNode.Descendants("div")
where foo.Id == "foo"
select foo;
但是我如何选择带有类栏的 div 呢?
我将 C# 与 HtmlAgilityPack 一起使用,我可以选择 id 为 foo 的 div
var foos = from foo in htmlDoc.DocumentNode.Descendants("div")
where foo.Id == "foo"
select foo;
但是我如何选择带有类栏的 div 呢?