Mailing List Archive

Client side cookies in Python
To handle cookies sent by the server, the Cookies.py module is not enough.

I need to be able to handle client-side cookies in my Python script, (to
log in to Yahoo! and get my email). While I searched for this topic in
this newsgroup, I found the following hack from Rick Otten to deal with
the problem, at

http://x8.dejanews.com/[ST_rn=ap]/getdoc.xp?AN=367235052&CONTEXT=923633207.1880162449&hitnum=1

While I will be trying to make his code work with Yahoo, if anyone else
has information about something similar, please share.

Thanks.
Client side cookies in Python [ In reply to ]
Aamir Sehbai writes:
> While I will be trying to make his code work with Yahoo, if anyone else
> has information about something similar, please share.

Grail 0.6 contains a file, utils/cookielib.py, that might be useful
on the client side. Note that debugging was minimal, and Grail
doesn't actually use it (I didn't have time to finish the integration
code). Let me know if you find problems with it.
Grail is available at http://grail.cnri.reston.va.us/grail/.


-Fred

--
Fred L. Drake, Jr. <fdrake@acm.org>
Corporation for National Research Initiatives