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 <bsch...@asgard-systems.com> 
Sent: Wednesday, February 19, 2025 8:48 PM
To: GnuCash User <gnucash-user@gnucash.org>
Cc: Kalpesh Patel <kalpesh.pa...@usa.net>; Cam Ellison <c...@ellisonet.ca>; 
Fross, Michael <mich...@fross.org>; David G. Pickett <dgpick...@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.

_______________________________________________
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