sstrickx / yahoofinance-api

Java Client API for Yahoo Finance
MIT License
498 stars 219 forks source link

add crumb param to QUOTES_QUERY1V7_BASE_URL #223

Closed vitalikolek closed 8 months ago

vitalikolek commented 8 months ago

I add the 'crumb' parameter in the requests. The request used to look like this: https://query1.finance.yahoo.com/v7/finance/quote?symbols=BTC-USD and returned the following data: {"finance":{"result":null,"error":{"code":"Unauthorized","description":"Invalid Crumb. For Developers - https://bit.ly/yahoo-finance-api-feedback"}}}. Now the request looks like this: https://query1.finance.yahoo.com/v7/finance/quote?symbols=BTC-USD&crumb=nd4hh33CCOP and and returns data about the stock.