ValueRaider

Results 898 comments of ValueRaider

> Provide simple code that reproduces your problem

The bug is occurring where `pandas_datareader` tries to read 'root.App.main', which Yahoo encrypted recently. Problem is that package nothing to do with `yfinance`, doesn't appear in the Traceback. [Their issue](https://github.com/pydata/pandas-datareader/issues/952)

You got two options: 1. Go to their GitHub project and ask them to fix. Nothing to do with this project 2. Switch to `yfinance`

Easy fix, try Git branch `quotes-html-parsing`

The "issue" was that Yahoo was not returning data for the request https://finance.yahoo.com/quote/G7W.DU . Which is correct - visit that page and it's full of N/As. `yfinance` used to handle...

I understand now, info[] is being recreated every call. That's a bug, only happens with this ticker. Possibly the repeated calls were "annoying" Yahoo, causing it to return less data...

The pruning is targeting situations when the request itself was successful, and what failed was the subsequent processing in yfinance because Yahoo embedded incomplete/wrong/no data. This happens when long lists...

I've moved the checking/pruning into a hook function.

Looks like Yahoo has encoded the data stores embedded in HTML that `yfinance` relied upon. E.g. Before (via my session cache): ``` root.App || (root.App = {}); root.App.now = 1671025861087;...

Thanks @Rogach. Any thoughts why they would do this? HTTPS already provides secure transport. If they wanted to stop scraping then why not just remove that data instead of encrypting?