Closed pxtyr closed 6 years ago
I wrote this line. the reason for this code is , to add new non-followers , to the "END" of unfollow_file , so this way , we keep track of non-followers by "ORDER" , so older non-followers will be unfollow first
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like so [x]).Before submitting an issue, make sure you have:
Purpose of your issue?
Describe your issue
I am working to make a small change to unfollow_non_followers to only unfollow those user which the only the bot has followed (as opposed to users that human has followed via instagram app, for example)
In the code below, I am wondering what is the purpose of calling the
followed.txt
here when it is also calling the followings from instagram directly viaget_user_following
... followed_file = "followed.txt" followed_list = self.read_list_from_file(followed_file) unfollow_list = [] unfollow_list += [x for x in followed_list if x in nonfollowerslist] unfollow_list += [x for x in nonfollowerslist if x not in followed_list] unfollow_file = self.read_list_from_file("unfollow.txt") new_unfollow_list = [] new_unfollow_list += [x for x in unfollow_file if x in unfollow_list] new_unfollow_list += [x for x in unfollow_list if x not in unfollow_file] ...
Please let me know if I can offer any more detail. Thanks