On Wed, Dec 25, 2002 at 04:11:39AM -0800, Fernando wrote: > How can I make urllib.openurl() use a different user agent? I can't > retrieve data from google with the default one urllib.URLopener.version = "Mozilla/4.0 (compatible; Python-urllib)" A better option would be to use the Google API: http://diveintomark.org/projects/pygoogle/ Oren