🤏🏻 Use `investiny` while we fix `investpy`!
See original GitHub issueHi everyone, I’m Alvaro Bartolome, ML Engineer, open source developer, and the creator of investpy. As many of you may already know, Investing.com which is the data source that investpy uses has recently changed its APIs as well as the protection of those with Cloudflare, which means that the data is not accessible the same way as before. I and other community members are working actively on solving this issue and looking for alternatives to pull the data from Investing.com.
Most of the solutions proposed by the community worked at some point, but are now discontinued or no longer working, but one solution proposed by @ramakrishnamekala129 at https://github.com/alvarobartt/investpy/issues/610 seems to be working fine and consistently.
So on, I’ve decided to develop investiny in the meantime, so that everyone can pull the data from Investing.com but in a simpler and faster way. Also as Investing.com is changing so many things lately, I decided to create a new repository named investiny so as to be easily adaptative to changes. Note that investiny is not a replacement for investpy, just an intermediate solution in the meantime while we solve the current issues with investpy.
I’d like all of you to star investiny and contribute to it, as the code is much simpler and easy to understand, but it obviously has less functionality, but we’ll get there at some point. Also showing me support by starring, liking, retweeting, etc. is much appreciated.
Thanks, everyone! 🤗
Issue Analytics
- State:
- Created a year ago
- Reactions:8
- Comments:34 (4 by maintainers)
Top Related StackOverflow Question
@alvarobartt Not quite sure why there’s hesitation to use my solution for now.
Here’s the API I built specifically for this community: http://api.scraperlink.com/investpy/
Using it in your scripts is just a matter of prefixing your current fetch requests with this: http://api.scraperlink.com/investpy/?email=your@email.com&url=
Example:
I have also added another option that supports historical data for stocks, cryptos, currencies and bonds:
If anyone needs anything else added, it won’t take me more than a few minutes to do it.
It works perfectly fine and is better than nothing.
There wouldn’t be a way for me to control where they’re used. My proxy pool would get abused to oblivion.
The solution I’ve provided is 100% free and I can presumably make it work forever. In fact, I will probably add backups to it as well, so that even if Investing.com no longer exists, the API will continue working seamlessly.
I need this for my own purposes so there’s no way I would let it die.