I know howto make the vb program go to Google, even navigate around but I don't know how to manipulate the results.
Basically I want the program to grab search results from Google and retrieve links specified by the user for instance if the user searches for Burgers and they only want results from Burgerking.com. Then only those would be output to the listbox. Does anyone know how to do this? here's my code so far:
Public Class Form1
Dim look, retrieve As String
Private Sub Search_Click(sender As Object, e As EventArgs) Handles Search.Click
look = InputBox("What are you looking for?")
look = look.Replace(" ", "+")
Dim G1 As String = "http://www.google.co...ient=psy-ab&q="
WebBrowser1.Navigate(G1 + look)
retrieve = InputBox("What links do you want to retrieve?")
End Sub
End Class
How do I grab particular google results with vb.net? to listbox
Started by ourguys, Dec 17 2012 12:19 AM
2 replies to this topic
#1
Posted 17 December 2012 - 12:19 AM
#2
Posted 17 December 2012 - 11:23 PM
Not vb specific, but you can restrict your google search to a particular site by including site:somesite.com in your search string.
Doing it via url, it would be something like this:
Doing it via url, it would be something like this:
https://www.google.com/#hl=en&tbo=d&output=search&sclient=psy-ab&q=site:bk.com+burgers&oq=site:bk.com+burgers
#3
Posted 18 December 2012 - 01:23 AM
This is a Netduino forum not a .NET forum. This looks like windows code and you should take that to a generic .NET forum.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users