Bruce -- Sorry, saving cookies part wasn't for you.

Any ways it definitely appears to be tied to geo location. Another gentleman 
out of Germany is NOT getting those cookies either.

I'll see if I can spin up EC2 in different regions to build the trend and then 
propose changes to the module that could accommodate both sides. I need to 
confirm if subtle changes to the URI is also geo based or not to make it logic 
work better.

-----Original Message-----
From: Bruce Schuck <bsch...@asgard-systems.com> 
Sent: Wednesday, April 17, 2024 3:40 PM
To: 'GnuCash User' <gnucash-user@gnucash.org>
Cc: rull...@protonmail.com; adam.grif...@gmail.com; Kalpesh Patel 
<kalpesh.pa...@usa.net>
Subject: Re: [GNC] Finance-Quote 1.60 released!

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