how to remove specified cookie in cookie jar?
- From: "ken" <ken.carlino@xxxxxxxxx>
- Date: 30 Mar 2007 20:59:50 -0700
How to remove specified cookie (via a given name) in cookie jar?
I have the following code, but how can I remove a specified cookie in
the cookie jar?
cj = cookielib.LWPCookieJar()
if cj is not None:
if os.path.isfile(COOKIEFILE):
print 'Loading Cookie--------------'
cj.load(COOKIEFILE)
.
- Prev by Date: loading a url using urllib2
- Next by Date: Re: Long way around UnicodeDecodeError, or 'ascii' codec can't decode byte
- Previous by thread: loading a url using urllib2
- Next by thread: wx textctrl font style
- Index(es):