尝试使用 htmlagility 包在“statusType”标签之间获取值但没有成功
html:
<div class="statusLabel">Status:</div>
<div class="statusType">Printing in 20 minutes
</div>
代码:
Dim doc As New HtmlDocument()
doc.LoadHtml(xmldoc.OuterXml.ToString)
Dim divNode As HtmlNode = doc.DocumentNode.SelectSingleNode("div[@class='statusType']")
我知道这很简单有人可以帮忙吗?
谢谢!