JECSand / yahoofinancials

A powerful financial data module used for pulling data from Yahoo Finance. This module can pull fundamental and technical data for stocks, indexes, currencies, cryptos, ETFs, Mutual Funds, U.S. Treasuries, and commodity futures.
https://pypi.python.org/pypi/yahoofinancials
MIT License
896 stars 214 forks source link

UnicodeError: URL '...' contains non-ASCII characters #86

Closed kahuku closed 3 years ago

kahuku commented 3 years ago

Hi! This is an absolutely wonderful package. I've been using this program I've written for a few months but today when I tried to run it I got the following error: UnicodeError: URL 'https://finance.yahoo.com/quote/\ufeffSPY/financials?p=\ufeffSPY' contains non-ASCII characters I'm not sure what it means and I've tried updating the module but haven't found a way to get it working. Any ideas? Thank you!

kahuku commented 3 years ago

Got it. corrupted CSV file.