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

Like and follow from user followers #565

Closed bkxwy closed 6 years ago

bkxwy commented 6 years ago

Please follow the guide below


Before submitting an issue, make sure you have:

Purpose of your issue?

Like and follow user followers

Hi, I was trying to do my bot follow and like by adapting the multi_script_CLI.py with some codes from like_and_follow_your_last_media_likers.py example.

I take this code:

elif ans == "2":
            print("""
            1.Insert username
            2.Use username database
            """)
            if "1" in sys.stdin.readline():
                user_id = input("who?\n").strip()
            else:
                user_id = random.choice(bot.read_list_from_file(users_file))
            bot.follow_followers(user_id)
            menu_follow()

And change to this:

elif ans == "2":
            print("""
            1.Insert username
            2.Use username database
            """)
            if "1" in sys.stdin.readline():
                user_id = input("who?\n").strip()
            else:
                user_id = random.choice(bot.read_list_from_file(users_file))
            followers = bot.get_user_followers(user_id)
        for follows in tqdm(followers):
            bot.like_user(follows, amount=2)
            bot.follow(follows)

but when i try to run it says:

C:\Users\Robson\Downloads\instabot\examples>python multi_script_CLI.py File "multi_script_CLI.py", line 241 for follows in tqdm(followers): ^

So, someone already put the bot to follow and like from user followers? thanks

basnijholt commented 6 years ago

You are mixing tabs and spaces.

diorox commented 6 years ago

Use filtration false bot.like_user(follows, amount=2, filtration=False)

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.