A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/076308.html below:

urllib with user/password

urllib with user/password urllib with user/passwordGilles Lenfant glenfant.nospam at bigfoot.com
Sat Apr 7 17:52:48 EDT 2001
Hi,

I got a robot that fetches with urllib.urlopen() a user/password protected
page.
As some URLs reply with code 401 (basic authentication), I'm prompted for
the user/password.

Is there a workaround for storing the user/password in the script and go
through the request without prompting ?

Thanks in advance

Gilles




More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4