Esempio n. 1
0
        check_status(bot)
        while bot.self_following > 7260:
            unfollow_protocol(bot)
            time.sleep(60)
            check_status(bot)
        while bot.self_following < 7460:
            while len(bot.user_info_list) < 50:
                feed_scanner(bot)
                time.sleep(60)
                follow_protocol(bot)
                time.sleep(60)
                check_status(bot)
            bot.user_info_list = []

    elif mode == 2:
        bot.bot_mode = 1
        bot.new_auto_mod()

    elif mode == 3:
        while True:
            unfollow_protocol(bot)

    elif mode == 4:
        while True:
            feed_scanner(bot)
            time.sleep(60)
            follow_protocol(bot)
            time.sleep(15 * 60)

    elif mode == 5:
        while True:
Esempio n. 2
0
    elif mode == 1:
        check_status(bot)
        while bot.self_following - bot.self_follower > 200:
            unfollow_protocol(bot)
            time.sleep(10 * 60)
            check_status(bot)
        while bot.self_following - bot.self_follower < 400:
            while len(bot.user_info_list) < 50:
                feed_scanner(bot)
                time.sleep(5 * 60)
                follow_protocol(bot)
                time.sleep(10 * 60)
                check_status(bot)

    elif mode == 2:
        bot.bot_mode = 1
        bot.new_auto_mod()

    elif mode == 3:
        while True:
            unfollow_protocol(bot)
            time.sleep(10 * 60)

    elif mode == 4:
        while True:
            feed_scanner(bot)
            time.sleep(60)
            follow_protocol(bot)
            time.sleep(10 * 60)

    elif mode == 5:
Esempio n. 3
0
def bot_fct():

    # create the log print window within frame
    terminalembed()

    username_field = username.get()
    password_field = password.get()
    likes_field = likes.get()
    follows_field = follows.get()
    unfollows_field = unfollows.get()
    tag_field = tag.get()

    bot = InstaBot(login=username_field,
                   password=password_field,
                   like_per_day=likes_field,
                   comments_per_day=0,
                   tag_list=[tag_field],
                   tag_blacklist=[],
                   user_blacklist={},
                   max_like_for_one_tag=25,
                   follow_per_day=follows_field,
                   follow_time=1*10,
                   unfollow_per_day=unfollows_field,
                   unfollow_break_min=45,
                   unfollow_break_max=60,
                   log_mod=0,
                   proxy='',
                   unwanted_username_list=['string1'],
                   unfollow_whitelist=['string1']
                   )

    while True:

        #print("# MODE 0 = ORIGINAL MODE BY LEVPASHA")
        #print("## MODE 1 = MODIFIED MODE BY KEMONG")
        #print("### MODE 2 = ORIGINAL MODE + UNFOLLOW WHO DON'T FOLLOW BACK")
        #print("#### MODE 3 = MODIFIED MODE : UNFOLLOW PEOPLE WHO DON'T FOLLOW BACK BASED ON RECENT FEED ONLY")
        #print("##### MODE 4 = MODIFIED MODE : FOLLOW PEOPLE BASED ON RECENT FEED ONLY")
        #print("###### MODE 5 = MODIFIED MODE : JUST UNFOLLOW EVERYBODY, EITHER YOUR FOLLOWER OR NOT")

        # DON'T USE MODE 5 FOR A LONG PERIOD. YOU RISK YOUR ACCOUNT FROM GETTING BANNED
        ## USE MODE 5 IN BURST MODE, USE IT TO UNFOLLOW PEOPLE AS MANY AS YOU WANT IN SHORT TIME PERIOD
        mode = 0

        if mode == 0 :
            bot.new_auto_mod()
        elif mode == 1 :
            check_status(bot)
            while bot.self_following - bot.self_follower > 200:
                unfollow_protocol(bot)
                time.sleep(10*60)
                check_status(bot)
            while bot.self_following - bot.self_follower < 400:
                while len(bot.user_info_list) <50 :
                    feed_scanner(bot)
                    time.sleep(5*60)
                    follow_protocol(bot)
                    time.sleep(10*60)
                    check_status(bot)
        elif mode == 2 :
            bot.bot_mode = 1
            bot.new_auto_mod()
        elif mode == 3 :
            unfollow_protocol(bot)
            time.sleep(10*60)
        elif mode == 4 :
            feed_scanner(bot)
            time.sleep(60)
            follow_protocol(bot)
            time.sleep(10*60)
        elif mode == 5 :
            bot.bot_mode=2
            unfollow_protocol(bot)
        else :
            print ("Wrong mode!")