You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using pandas_datareader.DataReader() with 'yahoo' as the source there is a TypeError 'string indices must be integers'.
The issue appears to be in yahoo/daily.py on line 153, when trying to access 'data = j["context"]["dispatcher"]["stores"]["HistoricalPriceStore"]'.
The "HistoricalPriceStore" field isnt able to be indexed anymore, I assume yahoo changed somehting in their api. I was able to index j["context"]["dispatcher"]["stores"] and the value is now a base64 encoded string, which explains the TypeError.
I tried to decode the string to access the "HistoricalPriceStore" field, but when decoded it begins with 'Salted__' and i wasnt able to figure out how to decode it from there.
The text was updated successfully, but these errors were encountered:
When using pandas_datareader.DataReader() with 'yahoo' as the source there is a TypeError 'string indices must be integers'.
The issue appears to be in yahoo/daily.py on line 153, when trying to access 'data = j["context"]["dispatcher"]["stores"]["HistoricalPriceStore"]'.
The "HistoricalPriceStore" field isnt able to be indexed anymore, I assume yahoo changed somehting in their api. I was able to index j["context"]["dispatcher"]["stores"] and the value is now a base64 encoded string, which explains the TypeError.
I tried to decode the string to access the "HistoricalPriceStore" field, but when decoded it begins with 'Salted__' and i wasnt able to figure out how to decode it from there.
The text was updated successfully, but these errors were encountered: