[GNC] Quotes again?

Kalpesh Patel kalpesh.patel at usa.net
Thu Feb 20 10:30:02 EST 2025


TL;DR -

Apparently Yahoo's system doesn't like 39.0.2171.95 version string for Chrome. 

That version was released around late 2014 -- ten years ago -- so I reckon that they have explicit rule or have setup an explicit rule not to permit any browser older than 10 years.

It was selected that old in hope that any system would think that the browser isn't capable of providing tell-tale signs of modernity to potentially pass it through anti-scraping validation capabilities, but oh well ... ambiguous it is since it works.

-----Original Message-----
From: Bruce Schuck <bschuck at asgard-systems.com> 
Sent: Wednesday, February 19, 2025 8:48 PM
To: GnuCash User <gnucash-user at gnucash.org>
Cc: Kalpesh Patel <kalpesh.patel at usa.net>; Cam Ellison <cam at ellisonet.ca>; Fross, Michael <michael at fross.org>; David G. Pickett <dgpickett at aol.com>
Subject: Re: [GNC] Quotes again?

On Wed, Feb 19, 2025 at 9:25 AM Kalpesh Patel <kalpesh.patel at usa.net>
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';

> my $browser = 'Mozilla/5.0';
Thank you Kalpesh.

For those who are not comfortable editing the Perl files, you can use cpan or cpanm to install "BPSCHUCK/Finance-Quote-1.64_02.tar.gz"

Bruce S.



More information about the gnucash-user mailing list