-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
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
get_quote_table not working #117
Comments
Hi there, not so experienced in this but, I believe that get_quote_table is not working and giving list index out of range because it is trying to webscrap from yahoo finance and they recently changed their layout and such. We probably need a major update from the maintainers. I am trying to webscrap from the source so I can share my code once I am done and perhaps we can update the yahoo_fin as well |
Following code works with Pandas > 2
|
~/Library/Python/3.9/lib/python/site-packages/yahoo_fin/stock_info.py in get_quote_table(ticker, dict_result, headers)
293 tables = pd.read_html(requests.get(site, headers=headers).text)
294
--> 295 data = tables[0].append(tables[1])
296
297 data.columns = ["attribute" , "value"]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: