aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes How to make the request to google search page to get a right result by program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How to make the request to google search page to get a right result by program" Watch "How to make the request to google search page to get a right result by program" New topic
Author

How to make the request to google search page to get a right result by program

peterson lee
Greenhorn

Joined: May 08, 2012
Posts: 1
I writing a program to sent a request with my key words to google and get search result. but I always get image verify page from google, even only send one request. How to write the right code to make request and get right result?
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
You could use an HTTP monitor to see how your request differs from a browser request; apparently, they're not identical.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
Google publishes a Java API for accessing google goodies.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make the request to google search page to get a right result by program