yfinance icon indicating copy to clipboard operation
yfinance copied to clipboard

fix: Fix can't use proxy to access Yahoo api

Open yearnfar opened this issue 3 years ago • 1 comments

Fix can't use proxy to access Yahoo api

yearnfar avatar Jan 07 '23 09:01 yearnfar

Hello,

You would also need to modify the function _get_proxy in data.py as sometimes the proxy variable is transformed in a "frozendict" and this doesn't work anymore. Something like that work for me: if type(proxy) in [dict, frozendict] and "https" in proxy:

jbpolle avatar Jan 12 '23 00:01 jbpolle

Superseded by #1371, closing.

ValueRaider avatar Feb 05 '23 19:02 ValueRaider