[GNC] Finance-Quote 1.60 released!

Bruce Schuck bschuck at asgard-systems.com
Wed Apr 17 15:39:51 EDT 2024


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


More information about the gnucash-user mailing list