Lienus10 / yoptions

MIT License
12 stars 9 forks source link

yahoo API is rejecting query with invalid crumb message when using v7 #11

Open construct22 opened 9 months ago

construct22 commented 9 months ago

Submitting a request for option data using the URL https://query2.finance.yahoo.com/v7/finance/options/AAPL results in a invalid HTTP request response as below {"finance":{"result":null,"error":{"code":"Unauthorized","description":"Invalid Crumb"}}}

changing the http request to https://query2.finance.yahoo.com/v6/finance/options/AAPL

is successful.