On 4/17/24 11:57 AM, Kalpesh Patel wrote:

You can also save cookies to a file named cookies.txt as follows: #curl -c cookies.txt https://login.yahoo.com -I

and then following to display 11 characters crumb by using cookies
saved in previous command: #curl -H "user-agent: Mozilla/5.0
(Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/39.0.2171.95 Safari/537.3" -b cookies.txt
https://query2.finance.yahoo.com/v1/test/getcrumb

I'm not interested in saving the cookies at this time. I've been having a discussion with another user having the same (or similar) issue. In debug mode his cookie jar has only 1 cookie, the "AS=v=1&s=..." cookie.

### [Wed Apr 17 08:59:30 2024]    cookie_jar : bless( {
###     COOKIES => {
###         'login.yahoo.com' => {
###             '/' => {
###                 AS => [
###                 0,
### 'v=1&s=pdMraThU&d=A6620c4d1|itU7Kpb.2SoujXrNK8pQPMi...<SNIP>
###                 undef,
###                 1,
###                 1,
###                 undef,
###                 1,
###                 {
###                     HttpOnly => undef
###                 }
###                 ]
###             }
###         }
###     }
###     }, 'HTTP::Cookies' )

The other 3 cookies that I get can see in debug mode are not in the cookie jar. My theory is that for those it is not working, they are not getting all 4 cookies.

Bruce S
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to