HtmlAgilityPack.HtmlWeb web = new HtmlAgilityPack.HtmlWeb(); string url = "https://www.site.com"; HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument(); doc = web.Load(url); var nodes = doc.DocumentNode.SelectSingleNode("//span[@ class='a-size-medium']"); var inner = doc.DocumentNode.SelectNodes("//div[@ class='sc-list-item-content']"); foreach (HtmlAgilityPack.HtmlNode item44 in inner) (//The error is in this line//) { cnt_array[cnt] = item44.InnerText; textBox2.Text = cnt_array[5]; cnt++; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)