I am not sure if this has been covered already, but here goes:

I am using LWP::UserAgent to perform a GET request (search query) on 
google.com.

I guess google.com got tired of people running autonomous queries through 
their portal because they apparently check-out the client now to see of it 
is a real web browser or just a Perl script in disguise. My Perl script 
get the following 403 Error from google.com when I attempt a query:

.....
Forbidden

Your client does not have permission to get URL xxx (Client IP address: 
xxx)
Please see Google's Terms of Service posted at 
http://www.google.com/terms_of_service.html
.....

I though I could fool google.com by just setting my UA to Mozilla/4.0 but 
that didn't help. What's the secret? What other things do I have to forge 
to get google.com to believe that I am a browser?


Thanks.

-John

Reply via email to