Too many requests - instabot

Viewed 26

I have an issue with the script that I run to share posts on Instagram. The script works fine on my machine but when I ran it on a VM with OS ubuntu 16.04-LTS, it throws an error with too many requests and the error is as follows:

enter image description here I think the problem is with the network, but I don't know how to fix it.

Please let me know if you have any ideas on how I can fix this.

Thank you for your time.

2 Answers

I found an answer that can help someone in the future:

After some research, I found that you should run cd /home/env/lib/python3.8/site-packages/instabot/api and it should work for you. If not, find your own path using these two commands pip list -v and pip show. Hope this helps!

Edit the file api.py then comment from lines 559 to 585 but try not to make a lot of requests to not be blocked.

Related