-
Notifications
You must be signed in to change notification settings - Fork 381
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
403 when getting historical data #591
Comments
Your command should work. Did you try again (much) later? |
I tried now, and it again didn't work. |
Strange. It works when I run it. Maybe you're blocked for good by investing.com for some reason? Did you access the site excessively? You could try to change your IP address w a VPN software. |
Thanks for helping. I tried tethering via my phone, and the same problem occurs. |
Very odd – your code works as expected in my environment. |
Can you access investing.com from a browser and lookup AAPL? |
Then I can't think of anything else I'm afraid. |
getting the same error on currency crosses
investing.com is behind cloudflare and blocked
|
Same here. This stopped working today: |
Same here, Stopped working today ->
|
I've the same issue, from my investigation https://www.investing.com/instruments/HistoricalDataAjax seems to be discontinued! |
Same issue here, investpy stopped working yesterday, error 403
|
Hi everyone, please check #600, I'm currently fixing it, the patch shouldn't take too long! Hopefully by the end of the day 😄 I'll post more information at https://twitter.com/alvarobartt/status/1570661023262310402 |
File "D:\Anaconda3\lib\site-packages\investpy\currency_crosses.py", line 674, in get_currency_cross_historical_data Hi, alvarobartt When will you fix "get_currency_cross_historical_data"? |
Hello everyone! As a temporary (or permanent) solution, I have built an API that will bypass Cloudflare. Using it is as simple as prefixing your current GET requests with this: http://api.scraperlink.com/investpy/?email=your@email.com&url= Example: Please be sure to replace "email" with your actual one if you want to receive updates. I want to be able to alert everyone if something breaks. It doesn't verify email addresses, so if you don't care for that, you can plug any email address. It also supports historical data for stocks, cryptos and currencies. You can learn more here: https://api.scraperlink.com/investpy If you guys need more functionality or data points added, just let me know. Hope this helps! |
frustrated! |
Thanks for building and running this project.
I'm trying to run the sample code from https://pypi.org/project/investpy/:
and I'm getting a 403:
I tried five times over 12 hours, so it's not transient.
Is there another way to make it work? Apologies if it's a mistake on my side.
The text was updated successfully, but these errors were encountered: