-, HTMLAgilityPack (VB.Net)
, htmlagilitypack - . , Regex. , .
htmlagilitypack * dll , htmlagilitypack nuget . Chrome, , , . , , , ( HTML ).
"". XPath ( htmlagilitypack , ), . , , , XPath. ...
//*[@id="pricing"]
, XPath, Chrome, . , - , . "id", - .
XPath - , , . , , tbody, tr td-. HtmlAgilitypack , . XPath...
//*[@id='pricing']/tr/td
XPath , , tr td. ...
Dim Web As New HtmlAgilityPack.HtmlWeb
Dim Doc As New HtmlAgilityPack.HtmlDocument
Doc = Web.Load("http://www.digikey.ca/product-search/en?lang=en&site=ca&KeyWords=AE9912-ND")
For Each table As HtmlAgilityPack.HtmlNode In Doc.DocumentNode.SelectNodes("//*[@id='pricing']/tr/td")
Next
, , , .
Dim Web As New HtmlAgilityPack.HtmlWeb
Dim Doc As New HtmlAgilityPack.HtmlDocument
Doc = Web.Load("http://www.digikey.ca/product-search/en?lang=en&site=ca&KeyWords=AE9912-ND")
For Each table As HtmlAgilityPack.HtmlNode In Doc.DocumentNode.SelectNodes("//*[@id='pricing']/tr/td")
MsgBox(table.InnerText)
Next
, ... , . , .
: Doc, , , , , . , , , , .
. . !