How do initial login/password before can download web file with urllib?

seberino at seberino at
Wed Jan 11 19:58:04 CET 2006

I finally figured out how to use the wonderful module urllib to
download files.

What if web page requires you to fill out a form with login and
password first?

Is this just like any other FORM?  Can login/password from a GET method
form be handled by appending something like "?login=foo,password=bar"
to URL?

Is that right way?


More information about the Python-list mailing list