We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use yfinance to scrap [limited] data from private companies.
curl https://finance.yahoo.com/company/space-exploration-technologies?h=eyJlIjoic3BhY2UtZXhwbG9yYXRpb24tdGVjaG5vbG9naWVzIiwibiI6IlNwYWNlWCJ9 results in proper data but
spacex = yf.Ticker("Space Exploration Technologies") yields an error
04 Client Error: Not Found for url: https://query2.finance.yahoo.com/v10/finance/quoteSummary/SPACE%20EXPLORATION%20TECHNOLOGIES?modules=financialData%2CquoteType%2CdefaultKeyStatistics%2CassetProfile%2CsummaryDetail&corsDomain=finance.yahoo.com&formatted=false&symbol=SPACE+EXPLORATION+TECHNOLOGIEScrumb=FQPvdjmXdGN {'trailingPegRatio': None}
No response
yfinance
latest
3.12
Sonoma
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe bug
Cannot use yfinance to scrap [limited] data from private companies.
Simple code that reproduces your problem
curl https://finance.yahoo.com/company/space-exploration-technologies?h=eyJlIjoic3BhY2UtZXhwbG9yYXRpb24tdGVjaG5vbG9naWVzIiwibiI6IlNwYWNlWCJ9 results in proper data but
spacex = yf.Ticker("Space Exploration Technologies") yields an error
Debug log
04 Client Error: Not Found for url: https://query2.finance.yahoo.com/v10/finance/quoteSummary/SPACE%20EXPLORATION%20TECHNOLOGIES?modules=financialData%2CquoteType%2CdefaultKeyStatistics%2CassetProfile%2CsummaryDetail&corsDomain=finance.yahoo.com&formatted=false&symbol=SPACE+EXPLORATION+TECHNOLOGIEScrumb=FQPvdjmXdGN
{'trailingPegRatio': None}
Bad data proof
No response
yfinance
versionlatest
Python version
3.12
Operating system
Sonoma
The text was updated successfully, but these errors were encountered: