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.71k stars 1.47k forks source link

Logging not enough - need more specific details if a user not followed #178

Closed tayfunyasar closed 7 years ago

tayfunyasar commented 7 years ago

I'm importing a username list, but my robot not follow some of them. And I don't know why.

Thanks.

ohld commented 7 years ago

This users were filtered. Read the filtration conditions how robot does it.

tayfunyasar commented 7 years ago

Yes but why? :) in which conditions? We need to set logging level & do it configurable.

alexroan commented 7 years ago

https://github.com/instagrambot/instabot/blob/master/instabot/bot/bot_follow.py

I think line 10 in the bot_follow.py should return false instead of true.

    if not self.check_user(user_id):
        return True

should be:

    if not self.check_user(user_id):
        return False

This is likely where the issue is occurring. The bot fails when checking the user with the filtering, yet follow(self, user_id) returns True as if the user was followed.

ohld commented 7 years ago

@alexroan Please test this correction and if it is solve the issue make the pull request and i'll merge it. Thanks.

ohld commented 7 years ago

Reopen if have not solved yet.