Thanks for this. I am running the flatpak version 5.10 on linux mint 21.3. It took a little searching to find YahooJSON.pm in the flatpak
In my case this works: find /var/lib/flatpak/app -name YahooJSON.pm Replacing line 48 as suggested worked. Dale On Wed, Feb 19, 2025 at 9:26 AM Kalpesh Patel <[email protected]> wrote: > 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 <[email protected]> > Sent: Wednesday, February 19, 2025 6:53 AM > To: 'Cam Ellison' <[email protected]> > Cc: '[email protected]' <[email protected]> > 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 <[email protected]> > Sent: Wednesday, February 19, 2025 12:47 AM > To: [email protected] > 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 > > [email protected] > > 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 > [email protected] > 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 [email protected] 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.
