ohld / igbot

🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.69k stars 1.47k forks source link

How to not re-follow people you have unfollowed? #184

Closed rollbahn closed 7 years ago

rollbahn commented 7 years ago

Is there a way to store the usernames you've unfollowed in the past so they are not re-followed again the next day. I don't want to be unfollowing and re-following the same people over and over again if possible?

simongomez95 commented 7 years ago

You would have to build your own script that blacklists users as you unfollow them. Or just modify the unfollow function on /instabot/bot/bot_unfollow.py to blacklist users.

rollbahn commented 7 years ago

Thanks - will try that

ghost commented 7 years ago

@rollbahn, did you script a solution? Would love to see an example. Picking up python and this is a cool way of learning pieces of the program 👍

rollbahn commented 7 years ago

@jessmike10011 Sorry I am a newbie too so not much help to you at this stage. I am working my way through a few different bits of code to try and learn it and also come up with something useful for myself.

tayfunyasar commented 7 years ago

Can we do this optional? It would be nice. All followed-requested-unfollowed usernames written in blacklist.txt

thestation commented 7 years ago

Has anyone figured out how to do this yet? I tried a bunch of different things but python is just not my specialty.

ohld commented 7 years ago

The only solution is to store anyway this users in file. So you unfollow this users, and then follow them reading from file.

thestation commented 7 years ago

How about this ohld? Is there a way to make it so everyone followed goes on a dont_follow.txt? Then implement it in like the whitelist.txt and blacklist.txt, so it checks to make sure it will not follow those users.

ohld commented 7 years ago

If you found the solution please make the pull request.