Python login script

Jayme Proni Filho listas.programacao at gmail.com
Mon Apr 25 23:52:43 CEST 2011


Look this code! Perhaps, It can help you with login.
http://segfault.in/2010/12/sending-gmail-from-python/

2011/4/25 Chris Angelico <rosuav at gmail.com>

> On Tue, Apr 26, 2011 at 7:38 AM, Jayme Proni Filho
> <listas.programacao at gmail.com> wrote:
> > I can be wrong but I think you can not login in gmail with urllib because
> I
> > think gmail uses another kind of auth.
>
> Ultimately it should be possible to do the exact same form-fillout and
> follow the redirects, just as a browser would. Eventually it'll get
> you a cookie. But burying the uid/pwd in the cookie will almost
> certainly be wrong.
>
> ChrisA
>



-- 
---------------------------------------------------------------------------------------
Jayme Proni Filho
Skype: jaymeproni
Twitter: @jaymeproni
Phone: +55 - 17 - 3631 - 6576
Mobile: +55 - 17 - 9605 - 3560
e-Mail: jaymeproni at yahoo dot com dot br
Blogs (Em construção)
Programandor: http://jaymeproni.wordpress.com
Sociedade em Ação: http://sociedaemacao.wordpress.com
---------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110425/d4e6588b/attachment.html>


More information about the Python-list mailing list