Closed apexible closed 5 years ago
429 error - it is error with name "Too Many Requests", pointer can fix this problem if you will add delays for your requests. Example:
from instaparser.agents import Agent
from instaparser.entities import Media
from time import sleep
agent = Agent()
media = Media("Bse7LQqBeOv")
comments, pointer = agent.get_comments(media, count=100)
while not pointer is None:
comments, pointer = agent.get_comments(media, pointer=pointer, count=100)
print(comments)
sleep(2)
hi oleg,
i am trying listing all comments on a post, for example 20.000 comments. i am getting 429 error. i think pointer fixes this problem. but i dont understand using pointer, can you give me a example for using pointer in listing all comments
thank you