Quote:
Originally Posted by ilovepie its not horizons fault i got the same thing with this,  |
Change your code to this:
Code:
Dim web As New HtmlWeb()
Dim Doc As HtmlAgilityPack.HtmlDocument = web.Load("http://marketplace.xbox.com/en-US/Search?query=" + TextBoxX1.Text + "&DownloadType=Game")
Dim itemsList As HtmlNodeCollection = Doc.DocumentNode.SelectNodes("//div[@class='grid-4']")
For Each node As HtmlNode In itemsList
Title = node.SelectSingleNode("a").Attributes(2).Value
GameID = node.SelectSingleNode("a").Attributes(1).Value.Substring(node.SelectSingleNode("a").Attributes(1).Value.Length - 19, 8)
Dim Item As New ListViewItem(Title)
Item.SubItems.Add(GameID.ToUpper)
ListView1.Items.Add(Item)
Next
Works perfectly. They added "?cid=search" to the URL where the program was getting the game ID, that's what caused the problem.