ranaroussi / yfinance

Download market data from Yahoo! Finance's API

Home Page:https://aroussi.com/post/python-yahoo-finance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] 404 response in get_major_holders()

sshcli opened this issue · comments

Describe bug

get_major_holders() is generating the following 404 error after recent changes made in Yahoo Finance website:

404 Client Error: Not Found for url: https://query2.finance.yahoo.com/v10/finance/quoteSummary/?modules=institutionOwnership%2CfundOwnership%2Cm
ajorDirectHolders%2CmajorHoldersBreakdown%2CinsiderTransactions%2CinsiderHolders%2CnetSharePurchaseActivity&corsDomain=finance.yahoo.com&symbol=
ZTS&formatted=false&crumb=zlfwefYLrg6

Simple code that reproduces your problem

get_major_holders()

Debug log

I can't do this right now, I'm not in my office

Bad data proof

No response

yfinance version

0.2.37

Python version

3.9

Operating system

Centos 7.9

@ValueRaider Sorry, didn't notice due to hurry.
I'm closing this one.
Thanks.