OlegYurchik / pyInstagram

This is a simple and easy-to-use library for interacting with the Instagram. The library works through the web interface of the Instagram and does not depend on the official API
MIT License
232 stars 49 forks source link

timeout problem #12

Closed apexible closed 6 years ago

apexible commented 6 years ago

hi, when i am using getcomments (for example 30.000 comments) i am getting {"message": "rate limited", "status": "fail"} error. how can i fix this?

OlegYurchik commented 6 years ago

Instagram send this message when we often send request for him. You can edit agent.repeats=10000, if you like, but is not a true path.

Now I don't know how edit it, but in future I hope I can solve this problen

OlegYurchik commented 6 years ago

In new commit this problem is solved, now if you get 429 then agent wait 600 seconds for next request and repeat it. It is a long time, but another path doesn't exist. I can recommend you use proxy and different agents