A problem with urllib

Aki Niimura akineko at pacbell.net
Mon Jul 1 10:50:11 EDT 2002


Peter Hansen <peter at engcorp.com> wrote in message 
> Are you using the latest version?  
I was using Python 2.2 (not Python 2.2.1).
So, I installed Python 2.2.1 to test my scripts.

Unfortunately, the results are the same.

> I tried a URL in urlopen() similar to the one you gave 
> (http://:admin@192.168.1.1/Status.htm) and it didn't complain,
> and tried opening the page with that information.

Yes, it seems trying. But even I entered the correct user, passwd,
it didn't accept.

% test2.py
Enter username for Linksys BEFSR41/BEFSR11/BEFSRU31 at 192.168.1.1: 
Enter password for  in Linksys BEFSR41/BEFSR11/BEFSRU31 at 192.168.1.1: 
Enter username for Linksys BEFSR41/BEFSR11/BEFSRU31 at 192.168.1.1:
... 

(I entered CR/LF for user, entered 'admin' for passwd. But it didn't
succeed.)

Peter, thank you for trying out.
Any further suggestion?

Best regards,
Aki Niimura



More information about the Python-list mailing list