I am new at scraping with python and I have written a simple program to save the followers of my account into a text file. I am a bit worried because of Instagram anti-bot policy and many threads online reporting of banned accounts used for scraping.
Therefore, I had 2 questions regarding Instaloader:
- Does the function
profile.get_followers()
download the full follower list at once? Or in other words, does my count variable in the following loop do anything at limiting the requests?
for followee in profile.get_followers():
if count == 100:
break
else:
follow_list.append(followee.username)
print(follow_list[count])
count=count+1
- I plan on downloading my follower list for only 1 account once every 1 or 2 weeks. The above code is working properly. Is it also safe so I don't get banned? What should I pay attention to or change in that regard?
Thanks in advance!