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

unfollow only bots followed list ? #446

Closed zayaerme closed 6 years ago

zayaerme commented 6 years ago

Please follow the guide below


Before submitting an issue, make sure you have:

Purpose of your issue?


The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.


For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.

Paste the output of python -V here:

Code:

# Example code that will produce the error reported
from instabot import Bot

bot = Bot()
bot.login(username="user", password="pass")
followers = bot.get_user_followers(bot.user_id)

Error/Debug Log:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

Describe your issue

I want to make bot unfollow only who it followed and make my own list safe. I had issues with some "examples". I can just use multiscript since it sets up itself. How can I set its unfollow mode to ignore my own follows ? Thanks

levensworth commented 6 years ago

you can use the followed.txt file. Unfollow all the users in that list and you'll be fine

stale[bot] commented 6 years ago

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.

alatraxx commented 6 years ago

@santiagobassani96 I would like to do what you said on my schedule_ultimate but I don't know how. Can you help me please?

levensworth commented 6 years ago

@alatraxx sure ,no problem! the followed.txt file contains all the successful user_id that the bot followed. if you just need to make a function to read the file, create a set with that and just call bot.unfollow aver every user_id in that set. it will make a lot of requests and it's not the best way but at least it'll work. If you want to discuss anything else, just email me at santiagobassani96@gmail.com

adenisot commented 6 years ago

@santiagobassani96 Hi guys, so do you have an idea of what is the best way ? For my side, I just want to unfollow people followed by the script. But I don't want that the script try to unfollow an account already successfully unfollowed...maybe put a condition who check in another file the successful_account_unfollowed.

stale[bot] commented 6 years ago

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.