[GNC] Problems getting prices from Yahoo as JSON
Brad Morrison
bradmorrison at sonic.net
Sat Mar 1 12:02:18 EST 2025
Hi Adrian/GNUCash users,
Thanks for sharing that you use Windows 11 -
https://en.wikipedia.org/wiki/Windows_11
What version of GNUCash are you using?
https://www.gnucash.org/download.phtml states that 5.10 is the
current/latest version
---
Thanks,
Brad - https://www.facebook.com/brad.morrison.12327/ &
https://nextdoor.com/profile/01mP46jj8KCzj3sP4 &
https://norcal.social/@BradMorrison
On 2025-03-01 05:02, Klaus Dahlke via gnucash-user wrote:
> Same here:
> I installed finance-quote via 'cpanm Finance::Quote' on Arch Linux. Package was downloaded, installation was only successful with the --force option
>
> The first try run into an early error:
> $ ./stockdump.pl yahoo_json PJS1.DE
> $VAR1 = {$crumb =
> 'PJS1.DEsuccess' => 0,
> 'PJS1.DEerrormsg' => 'Error accessing query2.finance.yahoo.com/v1/test/getcrumb: '
> };
>
> Accessing the URL in line 136 in YahooJSON.pm with a web browser produced as result 'EXqqcFK8sVB'. This, I commented the lines 136 to 144 and inserted 'my $crumb = 'EXqqcFK8sVB';
>
> But overcoming this hurdle still lead to a successful retrievel:
>
> $ ./stockdump.pl yahoo_json PJS1.DE
> $VAR1 = {
> 'PJS1.DEsymbol' => 'PJS1.DE',
> 'PJS1.DEsuccess' => 0,
> 'PJS1.DEerrormsg' => 'Error retrieving quote for PJS1.DE. Attempt to fetch the URL https://query2.finance.yahoo.com/v11/finance/quoteSummary/?symbols=PJS1.DE&crumb=EXqqcFK8sVB&modules=price,summaryDetail,defaultKeyStatistics resulted in HTTP response 429 (Too Many Requests)'
> };
>
> Also incrementing the interface version to v12 or v13 produces the same error.
>
> Best regards
> Klaus
>
> On Fri, 28 Feb 2025 19:38:03 +0000
> Adrian Holbrook <megagrumpy at hotmail.com> wrote:
>
>> I am having the same problem as reported on a recent thread. I was not sure how to respond on the thread as the reply arrow was grayed out. I am not sure how to make the quick fix mentioned by Kalpesh Patel as I cannot find the file YahooJSOM.pm. Can anyone help?
>>
>> Thanks
>>
>> Adrian
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at 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 at 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.
More information about the gnucash-user
mailing list