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
謝謝你,現在它的偉大工程 –