Looking for a (very) small http proxy in Python

Troy Melhase troy at gci.net
Tue Jun 17 01:44:34 EDT 2003


> to scan the headers, get the good cookie, cut and paste in my scripts and
> so on... I want something more automatic ! Any idea ?

Bruno:

You should look at ClientCookie.  On the homepage,
http://wwwsearch.sourceforge.net/ClientCookie/ , it says:

"""
ClientCookie is a Python module for handling HTTP cookies on the client
side, useful for accessing web sites that require cookies to be set and
then returned later. It also provides some other (optional) useful stuff:
HTTP-EQUIV handling, zero-time Refresh handling, and lazily-seekable
responses
"""

I had need to do something similar just last week, and using ClientCookie
did the trick.

Good luck,
troy




More information about the Python-list mailing list