Thanks, but this is still not working.

I successfully imported the cookies, and then tried out a test to see if I 
could download an article from a site requiring cookies. Didn't work.

It appears that I need to include a RequireCookies line in my .site file. 
The documentation says as follows:

RequireCookie
If a site requires that a HTTP Cookie be set before it can be accessed, use 
this parameter. It takes a two-part value, consisting of the cookie's 
hostname and key separated by whitespace. For example, the 
economist_full.site site file uses RequireCookie: www.economist.com econ-key.

Looking at the file c:\sitescooper\tmp\cookies - presumably the hostname is 
the first item on a line, in the case of my test.site file, that would be 
nytimes.com But how can I find the "key" in the cookies file? My cookies 
file has four entries for nytimes.com:

.nytimes.com    TRUE    /       FALSE   1041458146      NYT-S 
18Co344foxKEPj7.ctDkf1qsqW2pecgP4z2l36F16ssocQWCcCQN5aiWWM6xejuFextFzImayzxwwcOdh0VwuJ6HN3c.eSLgFx
.nytimes.com    TRUE    /       FALSE   1023400546      RDB 
C802016FA2000055530000000096960101000000000000
.nytimes.com    TRUE    /       FALSE   1041458104      RMID 
80b196f324783c323073fd64
.nytimes.com    TRUE    /       FALSE   1010008507      popunderCounter 1


-- 
Mitch Wagner



At 07:26 PM 12/30/2001, Justin Mason wrote:

>Mitch Wagner said:
>
> > How do I import the cookie file?
>
>from http://sitescooper.org/doc/sitescooper.html#OPTIONS :
>
>   -admin import-cookies {file}
>
>     Import a Netscape cookies file into sitescooper, so that certain sites
>     which require them, can use them. For example, the site
>     economist_full.site requires this. Here's how to import cookies on a
>     UNIX machine:
>
>     sitescooper.pl -admin import-cookies ~/.netscape/cookies
>
>     and on Windows:
>
>     perl sitescooper.pl -admin import-cookies "C:\Program 
> Files\Netscape\Users\Default\cookies.txt"
>
>--j.
>
>_______________________________________________
>Sitescooper-talk mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/sitescooper-talk


_______________________________________________
Sitescooper-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sitescooper-talk

Reply via email to