Open abnbtota111 opened 1 month ago
MeToo
MeToo
I have the same issue
As of 2024-06-13 I am still getting the HTTP response error429. Would be great if someone can point me in the right direction on how to fix this and I will give it a try myself.
Hello, thank you for contacting me. I don’t know if this will help you, but I will try.I made a link to download data for a company. For me, it is tiring. I will need a link for each company, but it may be suitable for you in modifying some points in the application. I hope I helped you, good luck. This is the link :
https://query1.finance.yahoo.com/v7/finance/download/gme?period1
On Friday, June 14, 2024 at 01:05:48 AM GMT+3, Rahmengo ***@***.***> wrote:
As of 2024-06-13 I am still getting the HTTP response error429. Would be great if someone can point me in the right direction on how to fix this and I will give it a try myself.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
As of 2024-06-13 I am still getting the HTTP response error429. Would be great if someone can point me in the right direction on how to fix this and I will give it a try myself.
A quick attempt to add a USER_AGENT to determine if it actually fixes the issue.
in httprequest.cpp change this line: handleCurlResult(curl_easy_setopt(m_curl, CURLOPT_USERAGENT, userAgent.c_str()), "curl_easy_setopt( CURLOPT_USERAGENT )");
to this: handleCurlResult(curl_easy_setopt(m_curl, CURLOPT_USERAGENT, "Mozilla/4.0;"), "curl_easy_setopt( CURLOPT_USERAGENT )");
and it now downloads the Yahoo data.
I'll need to go back to make the proper modifications in the HTTPRequestBase class.
Can you share with us a link of the working file. Thanks.
Also, a request in yloader settings -- data sources - can you please add "initial delay between requests (milliseconds) ... and user could, for example input, 1000. this would reduce load on yahoo servers. If you need further inputs from my end let me know. Thanks.
The executable files for the temporary fix are located in the link below along with some others that you will not need, like an old log file from the Release/x64 directory.
Built with Visual Studio 2019 Release/x64 directory https://github.com/BoulderLou/YloaderTmpFix20240622.git
A quick attempt to add a USER_AGENT to determine if it actually fixes the issue.
in httprequest.h change this line: handleCurlResult(curl_easy_setopt(m_curl, CURLOPT_USERAGENT, userAgent.c_str()), "curl_easy_setopt( CURLOPT_USERAGENT )");
to this: handleCurlResult(curl_easy_setopt(m_curl, CURLOPT_USERAGENT, "Mozilla/4.0;"), "curl_easy_setopt( CURLOPT_USERAGENT )");
and it now downloads the Yahoo data.
I'll need to go back to make the proper modifications in the HTTPRequestBase class.
Thank you for helping us,,, Can you explain how to find this? in httprequest.h
There is a problem downloading data from Yahoo - error![6666666666666666](https://github.com/adrianmichel/yloader/assets/171323255/fc0576ad-58b3-4b68-8fd3-7185bd8c8b3e)