atreadw1492 / yahoo_fin

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

get_dividends() raise 'AssertionError: There is no data available on dividends, or none have been granted' #44

Open uav2608 opened 3 years ago

uav2608 commented 3 years ago

hi, for some tickers no dividends were available and the function raise 'AssertionError', is it possible to return 'False' instead of 'AssertionError'. Thanks.