c# - HtmlAgilityPack DocumentNode.SelectNodes() don't return data (XPath withoyt tbody) -
i have web page (https://ekb.zarplata.ru/resume). have choose names page. open html code key f12. after find suitable place in html code. after copy xpath.
i have c# code:
htmlweb web = new htmlweb(); var doc = web.load("https://ekb.zarplata.ru/resume"); var node = doc.documentnode.selectnodes("//*[@id=\"app\"]//div//div//div//div//div//div//div//div//div//div//div//div//div//div//div//div//div//div//span");
in method selectnodes paste xpath. after of variable node
null
. why variable node
haven't data?
Comments
Post a Comment