atreadw1492 / yahoo_fin

Scrape stock price history from new (Spring 2017) Yahoo Finance layout
MIT License
292 stars 125 forks source link

fix broken functions caused by changes to the yahoo api #119

Open topherPedersen opened 4 months ago

topherPedersen commented 4 months ago

This pull request fixes the get_income_statement, get_balance_sheet, get_cash_flow, get_financials, get_earnings, get_company_info, and get_company_officer methods. I found that changes to the yahoo api (html/json we are getting back from yahoo) were causing _parse_json and _parse_table to break leading to the functions above failing as well when calling them as an end user of yahoo_fin.