Re: Cookies and CookieJar

2008-05-17 Thread 7stud
Larry Bates wrote: > I'm struggling with a project using mechanize and cookies to screen scape a > website. The site requires a client created cookie for authentication. Are you sure that is correct? As far as I know, the usual course of events is for a site to set a cookie header in the respons

Re: Cookies and CookieJar

2008-05-17 Thread 7stud
On May 16, 9:21 am, Larry Bates <[EMAIL PROTECTED]> wrote: > I'm struggling with a project using mechanize and cookies to screen scape a > website.  The site requires a client created cookie for authentication.  Below > is the code I'm attempting to use with the traceback I'm getting: > >  >>> impo

Cookies and CookieJar

2008-05-16 Thread Larry Bates
I'm struggling with a project using mechanize and cookies to screen scape a website. The site requires a client created cookie for authentication. Below is the code I'm attempting to use with the traceback I'm getting: >>> import Cookie >>> c=Cookie.SimpleCookie() >>> c["Manageopen"]="cards