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

max_unfollows_per_day setting not working #246

Closed andretg79 closed 7 years ago

andretg79 commented 7 years ago

No matter what I do, I cannot get the bot to unfollow 999 users.

When running unfollow_everyone.py the bot stops unfollowing at 350 (DONE: Total unfollowed 350 users.)

When unfollow everyone from multi_script_CLI.py it stops at 100 users.

My bot.py file looks like this:

def init(self, whitelist=False, blacklist=False, comments_file=False, max_likes_per_day=1000, max_unlikes_per_day=1000, max_follows_per_day=999, max_unfollows_per_day=999, max_comments_per_day=999, max_blocks_per_day=999, max_unblocks_per_day=999, max_likes_to_like=999, filter_users=True, max_followers_to_follow=2000, min_followers_to_follow=10, max_following_to_follow=2000, min_following_to_follow=10, max_followers_to_following_ratio=10, max_following_to_followers_ratio=2, min_media_count_to_follow=3, max_following_to_block=2000, like_delay=10, unlike_delay=10, follow_delay=30, unfollow_delay=30, comment_delay=60, block_delay=30, unblock_delay=30, stop_words=['shop', 'store', 'free']): super(self.class, self).init() My setting.txt looks like this:

999 999 999 999 100 150 2000 250 5000 10 10 2 7 30 10 30 30 60 None

I don't know what I am doing wrong.

Please help.

gersanchez commented 7 years ago

the same for me!!! how do you fix it?

andretg79 commented 7 years ago

Hey gersanchez, I noticed I actually had a different version of python installed which is where instabot actually was installed.

If you do pip install instabot, it will tell you that it is already installed and will give you the path. Mine was under usr/local/lib/python2.7/site-packages/

Then you just edit the pot.py in there and the issue should be fixed.

Good luck!

gersanchez commented 7 years ago

what python version do you have!?, i have python2.7

drfm commented 7 years ago

Thanks for the tip with the path andretg79!!! It works fine.