TRying to read sercah results from googles web page
tedpottel at gmail.com
tedpottel at gmail.com
Wed Aug 20 08:42:34 EDT 2008
Hi,
I am trying to write a BOT to read the search results from Google.
When I read from the www.google.com, the code works fine, loads in
the web page. When I try to load in a url with the search results,
http://www.google.com/search?hl=en&q=ted', I get a web page that says
I do not have permissions. Is theree a way around this, or is Google
just to smart????
the program looks like this
import urllib
print "-------- Google Web Page --------"
print urllib.urlopen('http://www.google.com//').read()
print "-------- Google Search Web Page --------"
print urllib.urlopen('http://www.google.com/search?
hl=en&q=ted').read()
More information about the Python-list
mailing list