I use this code.
import urllib2
def urlopen(url):
request = urllib2.Request(url)
opener = urllib2.build_opener()
request.add_header('User-Agent','Mozilla/5.0
(compatible;JewelersLoungeBot/1.0)')
web_page = opener.open(request)
return web_page
On Wed, Aug 20, 2008 at 6:58 AM,
On Wed, 20 Aug 2008 05:42:34 -0700 (PDT), [EMAIL PROTECTED] wrote:
> 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?