-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solving the Issue #3 Yahoo! Datasource stoped to work #4
base: master
Are you sure you want to change the base?
Conversation
…s so they send a "User-Agent" header to complete the request with success after Yahoo! updated their API
Wanted to mention here that I merged your fix into my fork of auquantoolkit and then tried to use it in the Coursera lab on momentum strategies and it still fails with the same error message as mentioned in Issue #3. I
and the error message is:
Just noticed thatPR #6 and PR #7 are later than yours, I will try them and and see if it fixes things. |
Looks like Yahoo! changed its API and it stopped to work with python requests library (also wget and others way to download files automatically). The solution is to simulate a browser request, changing the User-Agent header.