ClientCookie bug (followup)
John J. Lee
jjl at pobox.com
Mon Aug 18 09:33:50 EDT 2003
cartermark46 at ukmail.com (Mark Carter) writes:
> > You want something like this:
> >
> > import ClientCookie
> > c = ClientCookie.MSIECookieJar(delayload=1)
> > c.load_cookie_data("hemscott-cookie.bin")
> > url = 'http://businessplus.hemscott.net/corp/crp03733.htm'
> > response = ClientCookie.urlopen(url)
> >
> > print response.read()
> > response.close()
>
>
> It doesn't work on my XP machine at least. This is proboably why
> people have been doing it all wrong, allegedly.
I don't see how -- the examples in question (the one everybody seems
driven to copy from, and the ones people should copy from) does not
include any reference to any CookieJar.
> I'll investigate further. Apologies for the time lag.
Thanks
John
More information about the Python-list
mailing list