Changing the user-agent in urllib
Inigo Serna
inigoserna at gmail.com
Sun Jul 8 15:56:58 EDT 2007
More information about the Python-list mailing list
Sun Jul 8 15:56:58 EDT 2007
- Previous message (by thread): The Modernization of Emacs: terminology buffer and keybinding
- Next message (by thread): Changing the user-agent in urllib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Jul 08, 2007 at 12:21:38PM -0700, James Matthews wrote: > Is there anyway of changing the user-agent in urllib without sub classing > it? Yes, >>> import urllib >>> urllib.URLopener.version = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)' Regards, I�igo Serna
- Previous message (by thread): The Modernization of Emacs: terminology buffer and keybinding
- Next message (by thread): Changing the user-agent in urllib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list