Google info scanner

Hello.

I'm in the very early stage of a little application I would like to search google for answers.

Well. If I lets say, type in: "avatar movie review"

The app will open up "http://www.google.com/#q="
and search for: "avatar movie review" - http://www.google.com/#q="avatar movie review"

AND output the url sources to the Console.

I just don't know what is the best way of doing this.

Psuedo code is much appreciated too :)
Last edited on
closed account (S6k9GNh0)
You could parse the HTML output using a node parser. There might be something provided by google to accomplish this directly. I'm probably missing another 20320421u34189567190238479152134832174-09187569018257839174 ways to go about it.
closed account (Lv0f92yv)
I tried this once with Java, and found that in order to use google's service you had to sign up for something, otherwise it's queries would not return anything useful to a program (unless you made your program look to google like a browser, or something like that).

Not sure if this is still/ever fully was the case, but I wasn't getting anything useful back from executing queries against a google server in Java.
I'm considering using the WinINet library.
http://msdn.microsoft.com/en-us/library/aa385473%28v=VS.85%29.aspx

I think that lib is the most successful way to go around it.
Topic archived. No new replies allowed.