Grant Edwards <[EMAIL PROTECTED]> writes:

> On 2006-06-28, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> > From a shell script, I have used /usr/bin/curl to access a web site
> > and pass a cookie
> 
> I use ClientCookie for that.
> 
> http://wwwsearch.sourceforge.net/ClientCookie/

Note that ClientCookie has moved, to become part of mechanize (well,
is moving -- mechanize is still in beta):

> http://wwwsearch.sourceforge.net/ClientCookie/


mechanize exports a superset of the ClientCookie interface, so "import
mechanize as ClientCookie" should be all you need to do to switch
(modulo some trivial details, documented at the URL below).

Also note that module cookielib in the Python 2.4 stdlib contains most
of the functionality of ClientCookie (specifically, all the cookie
handling code, of course).


John
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to