I'm trying to make a finance tool using yfinance, however, I ran into the issue where I get a 404 Client Error whenever I try to use the
yf.Ticker(stock).info
The url at hand is https://query2.finance.yahoo.com/v6/finance/quoteSummary/TSLA?modules=financialData&modules=quoteType&modules=defaultKeyStatistics&modules=assetProfile&modules=summaryDetail&ssl=true
and I can't access it either from my PC or anywhere else...
Tried changing the user agent with no avail, perhaps it's an issue on their side?
I was having the same issue the last week and it turns out updating yfinance did the trick:
from: Did yfinance and yahoo_fin for Python stop working recently?