[GNC] Finance-Quote 1.61 released!

Klaus Dahlke kdahlke at gmx.de
Fri Apr 19 11:01:23 EDT 2024


Doesn't work for me out of Germany, reply is 'invalid cookie':



$ DEBUG=1 ./stockdump.pl yahoo_json ^GDAXI

### AlphaVantage->new args : {}

### [Fri Apr 19 16:48:36 2024]    cookie_jar : bless( {
###                                                     COOKIES => {
###                                                                  'www.yahoo.com' => {
###                                                                                       '/' => {
###                                                                                                RRC => [
###                                                                                                         0,
###                                                                                                         'st=1713538115915.3&cnt=1',
###                                                                                                         undef,
###                                                                                                         1,
###                                                                                                         undef,
###                                                                                                         undef,
###                                                                                                         1,
###                                                                                                         {
###                                                                                                           HttpOnly => undef
###                                                                                                         }
###                                                                                                       ]
###                                                                                              }
###                                                                                     }
###                                                                }
###                                                   }, 'HTTP::Cookies' )
### [Fri Apr 19 16:48:36 2024]         crumb : '{"finance":{"result":null,"error":{"code":"Unauthorized","description":"Invalid Cookie"}}}'
$VAR1 = {
          '^GDAXIerrormsg' => 'Error retrieving quote for ^GDAXI. Attempt to fetch the URL https://query2.finance.yahoo.com/v11/finance/quoteSummary/?symbols=^GDAXI&crumb={"finance":{"result":null,"error":{"code":"Unauthorized","description":"Invalid Cookie"}}}&modules=price,summaryDetail,defaultKeyStatistics resulted in HTTP response 401 (Unauthorized)',
          '^GDAXIsymbol' => '^GDAXI',
          '^GDAXIsuccess' => 0
        };

Best regards
Klaus


On Fri, 19 Apr 2024 09:08:00 +0200
Adam Griffis <adam.griffis at gmail.com> wrote:

> Also can confirm 1.61 is working from Germany!
>
> On Fri, Apr 19, 2024 at 9:03 AM Richard Ullger via gnucash-user
> <gnucash-user at gnucash.org> wrote:
> >
> > On Thu, 18 Apr 2024 21:34:49 -0700
> > "Bruce Schuck" <bschuck at asgard-systems.com> wrote:
> >
> > > New version 1.61 of Finance-Quote is available with the following
> > > changes:
> > >
> > >       * SIX.pm - Changed lookup for currency, added lookups for
> > > symbol and last. Issue #380
> > >       * YahooJSON.pm - URLs to retrieve required cookies and crumbs
> > > were changed to allow EU based users to use the module. Issue #373
> > >
> >
> > Can confirm yahoojson is now working from the UK.
> >
> > Thank you!
> >
> > --
> > Richard
> > _______________________________________________



More information about the gnucash-user mailing list