ValueRaider
ValueRaider
@alparamonov I've finally used your app first time. Your package has spent a few years standalone, how you feeling now about merging? I'm not against, but if merging can yfinance...
What happens when two different tickers throw different exceptions?
I've pushed a commit that I think make sense, helps with *many* errors (imagine 10s-100s). Try it: ``` yf.download(tkrs, raise_errors=True) yf.download(tkrs, raise_errors='one') ```
Version 0.2.32 added cookie & crumb, it helped a lot. I'm not sure what the remaining issue is - spam? old cookie? country-specific? (deleted @az-z comments because using old version)
> Yahoo had removed considerable functionality from their API This would break their website so I don't believe this. You could just install yfinance use it.
I've just tested but still get rate error. Possible Yahoo changed again since.
So the real problem is yfinance still setting user-agent - it shouldn't be.
> > So the real problem is yfinance still setting user-agent - it shouldn't be. > > I looked what `finance.yahoo.com` sets in headers - it does set `User-Agent`. Ah,...
Your `CachedLimiterSession` example does not work at all. Nothing is cached, and the rate-limit doesn't work. Which is what I said in other thread.
I think better fix is, detect "Too Many Requests" where ever it happens and abort. Respect what the message is saying.