[issue8123] TypeError in urllib when trying to use HTTP authentication

Dmitry Jemerov report at bugs.python.org
Sat Mar 13 21:52:54 CET 2010


Dmitry Jemerov <intelliyole at gmail.com> added the comment:

from urllib.request import *

opener = FancyURLopener()
opener.retrieve("http://username:password@google.com/index.html", "index.html")

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8123>
_______________________________________


More information about the Python-bugs-list mailing list