XPath node, I copied it with a 360 browser, and then let HtmlAgilityPack parse the parsing node as follows:
It will throw an exception, the reason for the exception, that is, the wood has found this node, and then, debug, HtmlAgilityPack has obtained the source code of the web page, why, it is not found?
At first, I wondered if the browser took the wrong xpath node, or Google Chrome tried it, and found that the node is the same as the 360 browser node, why can't it be obtained???
The modified values are as follows:
I found that I can't even get the html node?????
Finally, it is modified as follows:
The value is successfully retrieved, probably because the page is made of HTML5.
The source code of the webpage is as follows:
It can also be regarded as an HtmlAgilityPack that is not compatible with html5 page values, and it can also be said to be a bug.
|