Yahoo's new changes are fixated on the value of the user agent header being passed. The quick fix is to replace line 48 of YahooJSON.pm module of the latest version from:
my $browser = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'; to: my $browser = 'Mozilla/5.0'; -----Original Message----- From: Kalpesh Patel <kalpesh.pa...@usa.net> Sent: Wednesday, February 19, 2025 6:53 AM To: 'Cam Ellison' <c...@ellisonet.ca> Cc: 'gnucash-user@gnucash.org' <gnucash-user@gnucash.org> Subject: RE: [GNC] Quotes again? Calling http://query2.finance.yahoo.com/v1/test/getcrumb on command line is failing but browser version works. I would not be surprised if they introduced some sort of anti-programmatic use measures. I will check if there is fix for it but it will most likely will not be until the weekends. -----Original Message----- From: Cam Ellison <c...@ellisonet.ca> Sent: Wednesday, February 19, 2025 12:47 AM To: gnucash-user@gnucash.org Subject: Re: [GNC] Quotes again? Error accessing query2.finance.yahoo.com/v1/test/getcrumb. Someone worked out a patch for the original problem 2 years or so back which involves setting a crumb, but obviously Yahoo has again changed something and it doesn't work anymore. This particular API apparently hasn't been supported for some time, so this is hardly a surprise. On 2025-02-18 16:53, David G. Pickett via gnucash-user wrote: > Quotes on yahoo broke today, something unhappy about getcrumb, I'd cop and > paste but it does not allow that! > _______________________________________________ > 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. _______________________________________________ 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.