https://bugs.kde.org/show_bug.cgi?id=469431

Thomas Baumgart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DOWNSTREAM
             Status|REPORTED                    |RESOLVED

--- Comment #2 from Thomas Baumgart <[email protected]> ---
Since, as you say, it's driven by Yahoo, there's not much we can do.
Especially, since the change between v6 and v7 is not only related to the
format of the data. Seems, that v7 requires a cookie. See e.g.
https://stackoverflow.com/questions/44030983/yahoo-finance-url-not-working for
details.

$ curl
'https://query1.finance.yahoo.com/v7/finance/quote?fields=regularMarketPrice&symbols=BNS.TO'
{"finance":{"result":null,"error":{"code":"Unauthorized","description":"Invalid
Cookie"}}}

$ curl
'https://query1.finance.yahoo.com/v6/finance/quote?fields=regularMarketPrice&symbols=BNS.TO'
{"quoteResponse":{"result":[{"language":"en-US","region":"US","quoteType":"EQUITY","typeDisp":"Equity","quoteSourceName":"Delayed
Quote","triggerable":true,"customPriceAlertConfidence":"HIGH","esgPopulated":false,"market":"ca_market","marketState":"CLOSED","regularMarketPrice":66.94,"exchange":"TOR","exchangeTimezoneShortName":"EDT","exchangeTimezoneName":"America/Toronto","gmtOffSetMilliseconds":-14400000,"firstTradeDateMilliseconds":789921000000,"priceHint":2,"regularMarketTime":1683316800,"fullExchangeName":"Toronto","sourceInterval":15,"exchangeDataDelayedBy":15,"tradeable":false,"cryptoTradeable":false,"symbol":"BNS.TO"}],"error":null}}

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to