Skip to content
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

Program cannot download data #62

Open
RafaBarneto opened this issue Jul 5, 2021 · 9 comments
Open

Program cannot download data #62

RafaBarneto opened this issue Jul 5, 2021 · 9 comments

Comments

@RafaBarneto
Copy link

Since last week, the program is unable to access the yahoo finance data; retry 5 times the request and finally get a 404 Client error.
Is there any change in yahoo access?, how can I solve this?.
Anyone knows alternative ways for getting tickers symbols for free?
Attach the terminal output.
error.docx

@RobinTTY
Copy link

RobinTTY commented Aug 14, 2021

It appears to me they may have banned the user_agent defined in SimpleSymbolDownloader.py:

user_agent = 'yahoo-ticker-symbol-downloader'

If you change the user agent to something else the script will work. I noticed though that it will also fail again after some time, so the API may be limiting excessive requests.

@RafaBarneto
Copy link
Author

RafaBarneto commented Aug 14, 2021 via email

@RobinTTY
Copy link

If you haven't tried yet you can take a look at https://github.com/shilewenuw/get_all_tickers. Maybe that works.

@RafaBarneto
Copy link
Author

RafaBarneto commented Aug 15, 2021 via email

@RafaBarneto
Copy link
Author

RafaBarneto commented Aug 24, 2021 via email

@RobinTTY
Copy link

You can find a solution here as far as I can see, I didn't try it myself though: shilewenuw/get_all_tickers#15

@RafaBarneto
Copy link
Author

RafaBarneto commented Aug 24, 2021 via email

@kyi87
Copy link

kyi87 commented Jan 4, 2022

I got the same Problem when i use the script:

Invocation:

py YahooTickerDownloader.py

Error:

404 Client Error: Not Found for url: https://finance.yahoo.com/_finance_doubledown/api/resource/searchassist;searchTerm=b?device=console&returnMeta=true

Is there are solution yet?

Thanks.

@RafaBarneto
Copy link
Author

RafaBarneto commented Jan 5, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants