log in to a website
Fuzzyman
fuzzyman at gmail.com
Fri Jun 17 07:24:02 EDT 2005
passion_to_be_free at hotmail.com wrote:
> I'm learning python, and my goal is to write a script that will log
> into a website for me. The site uses HTTPS, the form uses the "POST"
> method.
>
> >From what I've been able to find so far, it looks like i need to use
> the urllib2 module...does anyone know where I can find some good sample
> code to read up on how to do this?
>
> -Thx
Is it just BASIC authentication ? (http error code 401).
Clientform is still worth investigating - but if you want help on BASIC
authentication then checkout
http://www.voidspace.org.uk/python/articles/authentication.shtml
Best Regards,
Fuzzyman
http://www.voidspace.org.uk/python
More information about the Python-list
mailing list