Pandas-datareader: Yahoo will be right back

Created on 18 May 2017  路  6Comments  路  Source: pydata/pandas-datareader

I think yahoo they are changing the structure of the site .
So, is there a solution for download data?
What do I have to do?

raise RemoteDataError('Unable to read URL: {0}'.format(url))
pandas_datareader._utils.RemoteDataError: Unable to read URL: http://ichart.finance.yahoo.com/table.csv?a=0&ignore=.csv&s=aapl&b=1&e=1&d=0&g=d&f=2014&c=2013

Most helpful comment

I've created a library that offers a work-around that offers a temporary solution to the problem:
https://github.com/ranaroussi/fix-yahoo-finance

Maybe pandas_datareader can use some of its code?

All 6 comments

Looks like the new link is https://query1.finance.yahoo.com/v7/finance/download/GS?period1=1492561103&period2=1495153103&interval=1d&events=history&crumb=NCkOXP2wSVV

It also looks like you need the crumb cookie session or you get an unauthorized.

I've created a library that offers a work-around that offers a temporary solution to the problem:
https://github.com/ranaroussi/fix-yahoo-finance

Maybe pandas_datareader can use some of its code?

@ranaroussi Thanks, this fixes the issue temporarily.

Will this or any other solution be integrated in datareader for Yahoo?

@ranaroussi="The hero we all deserve"

dupe of #315

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PLAYER69 picture PLAYER69  路  7Comments

waswaswas10 picture waswaswas10  路  7Comments

jalanwilliams picture jalanwilliams  路  8Comments

tr4cefl0w picture tr4cefl0w  路  3Comments

BajajAryan310 picture BajajAryan310  路  7Comments