Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import os
- import sys
- import time
- sys.path.append(os.path.join(sys.path[0], 'src'))
- from check_status import check_status
- from feed_scanner import feed_scanner
- from follow_protocol import follow_protocol
- from instabot import InstaBot
- from unfollow_protocol import unfollow_protocol
- bot = InstaBot(
- login="lukaskuhnx",
- password="xxxx",
- like_per_day=1000,
- comments_per_day=50,
- tag_list=['motivation', 'startup', 'hustle', 'travel', 'photography', 'streetstyle', 'urban', 'minimalist', 'luxury', 'cars', 'sport'],
- tag_blacklist=[],
- user_blacklist={},
- max_like_for_one_tag=50,
- follow_per_day=500,
- follow_time=1 * 60,
- unfollow_per_day=500,
- unfollow_break_min=1,
- unfollow_break_max=5,
- log_mod=0,
- proxy='',
- # List of list of words, each of which will be used to generate comment
- # For example: "This shot feels wow!"
- comment_list=[["this", "the", "your"],
- ["photo", "picture", "pic", "shot", "snapshot"],
- ["is", "looks", "feels", "is really"],
- ["great", "super", "good", "very good", "good", "wow",
- "WOW", "cool", "GREAT","magnificent", "magical",
- "very cool", "stylish", "beautiful", "so beautiful",
- "so stylish", "so professional", "lovely",
- "so lovely", "very lovely", "glorious","so glorious",
- "very glorious", "adorable", "excellent", "amazing"],
- [".", "..", "...", "!", "!!", "!!!"]],
- # Use unwanted_username_list to block usernames containing a string
- ## Will do partial matches; i.e. 'mozart' will block 'legend_mozart'
- ### 'free_followers' will be blocked because it contains 'free'
- unwanted_username_list=[],
- unfollow_whitelist=['loganpaul', 'lizakoshy', 'daviddobrik', 'lkbphotography', 'thenotoriousmma', 'maxii_96_w', 'marteria', 'eeella_023', 'allisaviolet', 'annikainstgrm_', 'alexisren', 'alyssalynch', 'ariannahicks', 'timlutterbach', 'billy', 'garyvee', 'kylierae', 'lisa.maria13', 'jacob', 'danielbonhard', 'leams97', 'sam_kolder', 'paulripke', 'larissariess', 'kimsina__', 'douchebags', 'jhonnykeil', 'caseyneistat', 'karoline.kuhn', 'missmne', 'schlockii', 'janina_pr', 'maximilian_gatz', 'carlosmiguelsch', 'annikafaerber', 'julia_kess', 'aliciia_griffaton', 'marinebluehorizon', 'kirrez', 'a.dautzenberg', '_julianstark_', 'jule_pdm', 'marvingolz', 'hofmann_lara', 'franzieiser', 'laetitia.mariaa', 'leon_ftw', 'pieterheine', 'gabbemorin', 'radny.nic', 'carolina_vittoria', 'dwali_m', 'liiinnnaaas', 'frederikeinka', 'sophiarho', 'marielightbody', 'lotti_austria''])
- 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 USERS WHO DON'T FOLLOW YOU BASED ON RECENT FEED")
- #print("##### MODE 4 = MODIFIED MODE : FOLLOW USERS BASED ON RECENT FEED ONLY")
- #print("###### MODE 5 = MODIFIED MODE : JUST UNFOLLOW EVERYBODY, EITHER YOUR FOLLOWER OR NOT")
- ################################
- ## WARNING ###
- ################################
- # 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
- #print("You choose mode : %i" %(mode))
- #print("CTRL + C to cancel this operation or wait 30 seconds to start")
- #time.sleep(30)
- 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!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement