websucker.py versus password-protected web tree
John van der Koijk
vdkoijk at linux01.prc.tno.nl
Fri Oct 8 04:59:14 EDT 1999
>> I'm out of luck trying to mirror a certain web-tree which is
>> protected by a password-username combination. Don't know how
>> the protocol works
>> - I know the username and password ;-)
>>
>> Websucker seems unable to cope with this and I can't find
>> relevant references in the urllib docs. Any pointers? Should I
>> alter the URL?
>> urllib can cope with this - look for http_error_401. You may
>> modify your URLs to http://user:passwd@host/path.
I get a 401 error all right... The http://user:passwd@host/path does
not seem to work in this case...
Thanks,
--
John van der Koijk.
More information about the Python-list
mailing list