0
这是误差(下面一行)无法找到的xpath返回null HTMLAgilityPack
Dim div As HtmlNode = doc.DocumentNode.SelectSingleNode(String.Format("//*[@id'requestKey']"))
'if the div is found, print the inner text'
If Not div Is Nothing Then
MsgBox(div.GetAttributeValue("value", "nu"))
End If
End Function
总是返回一个空值。
我使用HTMLagilitypack
谢谢你,现在它的伟大工程 –