Looking for a (very) small http proxy in Python
troy at gci.net
Tue Jun 17 07:44:34 CEST 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 ?
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
I had need to do something similar just last week, and using ClientCookie
did the trick.
More information about the Python-list