Closed pzarfos closed 7 months ago
I’ll take a look at this tonight.
OK, this is embarrassing, my ad blocker was causing the problem.
I am using pi-hole for my ad blocker. I swear it was working last month though. They must have recently added yahoo domain names to their ad-block database.
The solution is to make sure you have the yahoo finance domain names whitelisted in your ad-blocker:
fc.yahoo.com
finance.yahoo.com
query2.finance.yahoo.com
Here is a short Python script that demonstrates the issue:
When running that script, I got the following error, using yahoofinancials 1.17:
The installed PIP packages are:
I am running Python 3.9.2 in a virtual env on Linux.
It is possible this is related to issue https://github.com/JECSand/yahoofinancials/issues/157