def bot(self, login=None, password=None): bot = InstaBot(login=login,password=password, like_per_day=1000, comments_per_day=0, tag_list=['follow4follow', 'f4f', 'cute', 'l:212999109'], tag_blacklist=['rain', 'thunderstorm'], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=300, follow_time=1 * 60, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, log_mod=0, proxy='', comment_list=[["this", "the", "your"],["photo", "picture", "pic", "shot", "snapshot"],["is", "looks", "feels", "is really"],["great", "super", "good", "very good", "good", "wow","very cool", "stylish", "beautiful", "so beautiful","so stylish", "so professional", "lovely","so lovely", "very lovely", "glorious","so glorious","very glorious", "adorable", "excellent", "amazing"],[".", "..", "...", "!", "!!", "!!!"]], unwanted_username_list=['second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog','free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop','store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos','case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet','sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera','beauty', 'express', 'kredit', 'collection', 'impor', 'preloved','follow', 'follower', 'gain', '.id', '_id', 'bags'], unfollow_whitelist=['example_user_1', 'example_user_2'])
def insta_bot_start(task): #task: task_id, date_start, date_end, subscribers_start, subscribers_end, new_task, login, password, tags, user_id, account_id, type_id, user_id try: bot = InstaBot( login="******", password="******", user_id_take='7134637717', #user_id_take='2233349262', like_per_day=1000, comments_per_day=0, tag_list=[ 'краснаяполяна', 'газпромлаура', 'сочи', 'совариум', 'sochi', 'krasnaypolyna', 'sovarium', 'фотографсочи' ], tag_blacklist=[], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=300, follow_time=24 * 60 + 1, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, log_mod=0, #proxy='', proxy='d0394ffe96:[email protected]:52593', # 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=[]) while True: bot.new_auto_mod() except: error_task = task[:] error_task[5] = 3 error_task[12] = 'cant run intagrambot example' # if error_task[1] != 'None': # error_task[1] = datetime.fromtimestamp(int(arg_task[1].timestamp())) # if error_task[2] != 'None': # error_task[2] = datetime.fromtimestamp(int(arg_task[2].timestamp())) sql_works.return_statictic_to_front(error_task, 0)
def initialBot(self): self.bot = InstaBot( login=self.username, password=self.password, like_per_day=1000, comments_per_day=0, tag_list=[ 'краснаяполяна', 'газпромлаура', 'сочи', 'совариум', 'sochi', 'krasnaypolyna', 'sovarium', 'фотографсочи' ], tag_blacklist=['rm'], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=0, follow_time=1 * 60, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2'])
def run(self): # funcao pra validar os dados # desabilitar o botao de ok e colocar um load self.bot = InstaBot( login=uiParam.lineEdit.text(), password=uiParam.lineEdit_2.text(), like_per_day=int(uiParam.lineEdit_3.text()), comments_per_day=0,#int(uiParam.lineEdit_4.text()), tag_list=uiParam.textEdit.toPlainText().strip()[1:].replace(" ","").split("#"), tag_blacklist=['compras', 'promocao'], user_blacklist={}, max_like_for_one_tag=26, follow_per_day=int(uiParam.lineEdit_5.text()), follow_time=1 * 60, unfollow_per_day=int(uiParam.lineEdit_6.text()), unfollow_break_min=15, unfollow_break_max=30, 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=[], UI=True) if self.bot.login_status: self.loggedSignal.emit(True) self.Rodar() else: self.loggedSignal.emit(False)
bot = InstaBot( login="******", password="******", like_per_day=1000, comments_per_day=0, tag_list=[ "plantas", "plantasemcasa", "plantaspermanentes", "plantaseed", "plantasdecasa", "plantasornamentais", "suculentas", "suculenta", "flores", "flor", "succulent" ], tag_blacklist=[], user_blacklist={}, max_like_for_one_tag=100, follow_per_day=300, follow_time=1 * 60 * 60, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, 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=[ # "second", # "stuff", # "art", # "project", # "love", # "life", # "food", # "blog", # "free", # "keren", # "photo", # "graphy", # "indo", # "travel", # "art", # "shop", # "store", # "sex", # "toko", # "jual", # "online", # "murah", # "jam", # "kaos", # "case", # "baju", # "fashion", # "corp", # "tas", # "butik", # "grosir", # "karpet", # "sosis", # "salon", # "skin", # "care", # "cloth", # "tech", # "rental", # "kamera", # "beauty", # "express", # "kredit", # "collection", # "impor", # "preloved", # "follow", # "follower", # "gain", # ".id", # "_id", # "bags", # ], # unfollow_whitelist=["example_user_1", "example_user_2"], )
bot = InstaBot( login="******", password="******", like_per_day=1000, comments_per_day=0, tag_list=['follow4follow', 'f4f', 'cute', 'l:212999109'], tag_blacklist=['rain', 'thunderstorm'], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=300, follow_time=1 * 60, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, log_mod=0, proxy='', # Lista de palabras de las cuales se generarán los comentarios # 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2'])
bot = InstaBot( login=os.environ.get('username'), password=os.environ.get('password'), like_per_day=int(os.environ.get('like_per_day', '1000')), comments_per_day=int(os.environ.get('comments_per_day', '150')), tag_list=os.environ.get('tags', 'f4f, l4l, cute').replace(" ", "").split(","), tag_blacklist=['rain', 'thunderstorm'], user_blacklist={}, max_like_for_one_tag=int(os.environ.get('max_like_for_one_tag', '50')), follow_per_day=int(os.environ.get('follow_per_day', '150')), follow_time=1 * 60, unfollow_per_day=int(os.environ.get('unfollow_per_day', '150')), unfollow_break_min=int(os.environ.get('unfollow_break_min', '15')), unfollow_break_max=30, 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2'])
bot = InstaBot( login="******", password="******", like_per_day=20000, comments_per_day=1000, tag_list=['travelblogger','travelgram','musicproducer','dronephotography','musicmakers','modularsynth','ableton'], tag_blacklist=['stupididioteug24948t9244'], user_blacklist={}, max_like_for_one_tag=1000000, follow_per_day=0, follow_time=1 * 60 * 60, unfollow_per_day=0, unfollow_break_min=10, unfollow_break_max=30, 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'free', 'keren', 'photo', 'graphy', 'indo', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2'])
from src.unfollow_protocol import unfollow_protocol bot = InstaBot( login=config[usrconfig]['username'], password=config[usrconfig]['password'], like_per_day=int(config[usrconfig]['like_per_day']), # comments_per_day=int(config[usrconfig]['comments_per_day']), # tag_list=json.loads(config[usrconfig]['tag_list']), tag_blacklist=json.loads(config[usrconfig]['tag_blacklist']), user_blacklist={}, max_like_for_one_tag=int(config[usrconfig]['max_like_for_one_tag']), # follow_per_day=int(config[usrconfig]['follow_per_day']), # follow_time=int(config[usrconfig]['follow_time']), # unfollow_per_day=int(config[usrconfig]['unfollow_per_day']), # unfollow_break_min=int(config[usrconfig]['unfollow_break_min']), unfollow_break_max=int(config[usrconfig]['unfollow_break_max']), log_mod=int(config[usrconfig]['log_mod']), proxy=config[usrconfig]['proxy'], # List of list of words, each of which will be used to generate comment # For example: "This shot feels wow!" comment_list=json.loads(config[usrconfig]['comment_list']), # 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=json.loads( config[usrconfig]['unwanted_username_list']), unfollow_whitelist=json.loads(config[usrconfig]['unfollow_whitelist']), database_name=usrconfig + '.db', session_file=usrconfig + '.session') while True:
bot = InstaBot( login=os.environ.get('LOGIN', None), password=os.environ.get('PASSWORD', None), like_per_day=560, comments_per_day=0, tag_list=[ 'thefashionpr0ject', 'beautyart', 'artcollaboration', 'collaboration', 'beautymag', 'stylepost', 'styleinfluencer', 'fashionmagazine', 'fashionable', 'mood', 'vogue', 'editorialmodel', 'fashioneditorial', 'alternativefashion', 'vegan', 'grungestyle', 'grungegirl', 'pale', 'palegrunge', 'alternativestyle', 'tumblrstyle', 'tumblrgirl', 'luxurywedding', 'ootd', 'fashiongram', 'fashiondiaries', 'fashionblogger', 'fashionaddict', 'london', 'londonlife', 'thefashionforce', 'madeinspain', 'handcrafter', 'fascinators', 'film', 'CSM', 'ballerinaproject', 'ballerinasofig', '#photooftheday', '#tagsforlikes', '#instagood', '#fashion', '#abstractexpressionist', '#streetart', 'followforfollow', 'randomart', 'fashionista', 'metropolitanopera', 'ballerinas', 'whales', 'moda', 'madrid', 'madridstreetstyle', 'madrid', 'spain', 'alternativemodel', 'wilde', 'curvymodel', 'realsize', 'zara' ], tag_blacklist=['p**n', 'hentai', 'gale'], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=0, follow_time=1 * 60, unfollow_per_day=0, unfollow_break_min=15, unfollow_break_max=30, 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=lista, # 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=[ 'second', 'sex', 'online', 'murah', 'kaos', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2'])
) bot = InstaBot( login=config[usrconfig]["username"], password=config[usrconfig]["password"], like_per_day=int(config[usrconfig]["like_per_day"]), comments_per_day=int(config[usrconfig]["comments_per_day"]), tag_list=json.loads(config[usrconfig]["tag_list"]), tag_blacklist=json.loads(config[usrconfig]["tag_blacklist"]), user_blacklist={}, max_like_for_one_tag=int(config[usrconfig]["max_like_for_one_tag"]), follow_per_day=int(config[usrconfig]["follow_per_day"]), follow_time=int(config[usrconfig]["follow_time"]), unfollow_per_day=int(config[usrconfig]["unfollow_per_day"]), unfollow_break_min=int(config[usrconfig]["unfollow_break_min"]), unfollow_break_max=int(config[usrconfig]["unfollow_break_max"]), log_mod=int(config[usrconfig]["log_mod"]), proxy=config[usrconfig]["proxy"], # List of list of words, each of which will be used to generate comment # For example: "This shot feels wow!" comment_list=json.loads(config[usrconfig]["comment_list"]), # 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=json.loads( config[usrconfig]["unwanted_username_list"]), unfollow_whitelist=json.loads(config[usrconfig]["unfollow_whitelist"]), database_name=f"{usrconfig}.db", session_file=f"{usrconfig}.session", ) while True:
bot = InstaBot( login=os.environ['USERNAME'], password=os.environ['PASSWORD'], like_per_day=1600, comments_per_day=30, tag_list=['javascript', 'motivation', 'html', 'coding', 'code', 'programming', 'developer'], tag_blacklist=['rain', 'thunderstorm','dad', 'mom', 'kids', 'baby', 'depression', 'snake', 'f4f', 'like4like', 'sexy', 'booty'], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=300, follow_time=1 * 60, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, log_mod=1, 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", "so professional", "excellent", "awesome"], [".", "..", "...", "!", "!!", "!!!"]], # 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2'])
bot = InstaBot( login="", password="", like_per_day=3000, comments_per_day=1000, tag_list=[ 'pic', 'picture', 'picoftheday', 'photo', 'photography', 'photographie', 'sony', 'sonyimages', 'sonyimage', 'sonyalpha', 'sonyalphaa6000', 'sonyalpha6000', 'sonya6000', 'sonya6300', 'sonya36500', 'sonyalphaclub', 'sonyalpha6000club', 'sonyalphaclubs', 'sonyalphagang', 'sonycollective', 'sonyalphagallery', 'streetphotography', 'nightphotography', 'asto', 'astrophoto', 'astrophotography', 'astro_photography_', 'astro_photography', 'sonya7riii', 'sonya7rii', 'sonya7ii', 'sonya7', 'sonyphotography', 'sony_shots', 'sonyalphasclub', 'sonyphotogallery', 'sonymirrorless', 'sonyalphaphotos', 'sonypictures', 'sonyphotographer', 'milkyway', 'milky_way', 'milkywaychasers', 'milkywaygalaxy', 'milkyway_nightscapes', 'milkywayphotography', 'milkywaypics', 'milkywaychaser', 'milkywayphoto', 'milkywaystarts', 'street', 'streetlight', 'street_vision', 'street_photo_club', 'streetphotography_bw', 'streetview', 'landscape', 'landscapes', 'landscape_captures', 'landscape_lovers', 'landscapephotography', 'landscapelover', 'landscapelovers', 'landscaping', 'landscape_photography', 'landscape_panorama' ], max_like_for_one_tag=100, follow_per_day=1000, follow_time=5 * 60 * 60, unfollow_per_day=1000, unfollow_break_min=15, unfollow_break_max=30, log_mod=0, # 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"], [ "great", "super", "good", "cool", "so cool", "very cool", "stylish", "so stylish", "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=[ 'free', 'follow', 'follower', 'gain', '.id', '_id' ])
feed_scanner from src.follow_protocol import follow_protocol from src.unfollow_protocol import unfollow_protocol bot = InstaBot( login="******", password="******", like_per_day=1000, comments_per_day=0, tag_list=['follow4follow', 'f4f', 'cute', 'l:212999109'], tag_blacklist=['rain', 'thunderstorm'], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=300, follow_time=1 * 60, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, 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",
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import time from src import InstaBot from src.check_status import check_status from src.feed_scanner import feed_scanner from src.follow_protocol import follow_protocol from src.unfollow_protocol import unfollow_protocol bot = InstaBot(login=os.environ['login'], password=os.environ['password']) y = os.environ['comentario'] for x in y: bot.comment(os.environ['media_id'], x)
bot = InstaBot( login=username, password=password, like_per_day=1000, comments_per_day=0, tag_list=['bbnaija', 'follow4follow', 'f4f', 'cute'], tag_blacklist=['rain', 'thunderstorm'], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=300, follow_time=1 * 60, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, log_mod=0, proxy='', # 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2'])
bot = InstaBot( # login="******", # Enter username (lowercase). Do not enter email! # password="******", login="******", password="******", like_per_day=2000, comments_per_day=0, tag_list=[ " userinterface ", "uxuidesign ", "webdesign ", "uiux ", "uxinspiration ", "interactiondesign ", "designtips #designprocess #dailyinspiration ", "uxtrends ", "uiuxdesign ", "freelancer ", "uxchoice ", "uidesign ", "designstrategy ", "designbusiness ", "designadvice ", "bizofdesign ", "userexperiencedesign ", "ux_meta ", "fourmeta" ], tag_blacklist=[ "rain", "thunderstorm", "followers", "fc", "official", "desi", "japnies", "bhabhi" ], user_blacklist={}, max_like_for_one_tag=37, follow_per_day=300, follow_time=1 * 1 * 5, unfollow_per_day=75, unlike_per_day=20, # If True, the bot will also unfollow people who dont follow you using the recent feed. Default: True unfollow_recent_feed=True, time_till_unlike=3 * 24 * 60 * 60, # 3 days unfollow_break_min=2, unfollow_break_max=5, user_max_follow=0, # session_file=False, # Set to False to disable persistent session, or specify custom session_file (ie ='myusername.session') user_min_follow=0, 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"], ["thing", "move", "idea", "shot"], ["is", "looks", "is 👉", "is really"], [ "great", "super", "good", "very good", "good", "wow", "WOW", "cool", "GREAT", "magnificent", "magical", "very cool", "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=[ "second", "stuff", "art", "project", "love", "life", "food", "blog", "free", "keren", "photo", "graphy", "indo", "travel", "art", "shop", "store", "sex", "toko", "jual", "online", "murah", "jam", "kaos", "case", "baju", "fashion", "corp", "tas", "butik", "grosir", "karpet", "sosis", "salon", "skin", "care", "cloth", "tech", "rental", "kamera", "beauty", "express", "kredit", "collection", "impor", "preloved", "fan", "group", "follow", "follower", "gain", ".id", "_id", "bags", "fc", "bhabhi", ], unfollow_whitelist=[ "sonalii.sharmaa", "saniya_khaton_13", "simran_thakur743", "___sachi.__", "anushka4nov", "fulwanideepa", "simran6734", "worldwide_photography_hub", "mehakrajput132", "mansi__cupcake", "deeksha_rajput_07", "ritika_2945", "shizhukasingh0", "simar.5796", "shivanimohitsharma", "pari_ji_bhardwaj", "cutegirlsonali", "garvita786", "pinkssss08", "skywalker_flying_1", "sarjeeta", "shruti_verma_", "panwarversha8", "saru_3565", ], # Enable the following to schedule the bot. Uses 24H # end_at_h = 23, # Hour you want the bot to stop # end_at_m = 30, # Minute you want the bot stop, in this example 23:30 # start_at_h = 9, # Hour you want the bot to start # start_at_m = 10, # Minute you want the bot to start, in this example 9:10 (am). )
bot = InstaBot( login="******", password="******", like_per_day=1000, comments_per_day=0, tag_list=[ 'follow4follow', 'f4f', 'cute', 'aww', 'friends', 'wtf', 'love', 'followback', 'instagramers', 'envywear', 'tweegram', 'photooftheday', 'amazing', 'smile', 'like4like', 'look', 'instalike', 'igers', 'pickoftheday', 'food', 'instadaily', 'instafollow', 'followme', 'girl', 'instagood', 'bestoftheday', 'instacool', 'follow', 'colorful', 'style', 'swag' ], tag_blacklist=['rain', 'thunderstorm'], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=300, follow_time=1 * 60, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2'])
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import time from src import InstaBot from src.check_status import check_status from src.feed_scanner import feed_scanner from src.follow_protocol import follow_protocol from src.unfollow_protocol import unfollow_protocol bot = InstaBot( login="******", password="******", like_per_day=1000, comments_per_day=0, tag_list=["impostos", "empreender", "contabilidade", "notafiscal", "impostoderenda", "empreendedorismo", "motivacao", ] tag_blacklist=[], user_blacklist={}, max_like_for_one_tag=142, follow_per_day=300, follow_time=1 * 60 * 60, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, log_mod=0, proxy="", # List of list of words, each of which will be used to generate comment # For example: "This shot feels wow!"
bot = InstaBot( login="******", # Enter username (lowercase). Do not enter email! password="******", like_per_day=1000, comments_per_day=0, tag_list=["follow4follow", "f4f", "cute", "l:212999109"], tag_blacklist=["rain", "thunderstorm"], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=300, follow_time=1 * 60 * 60, unfollow_per_day=300, unlike_per_day=0, time_till_unlike=3 * 24 * 60 * 60, # 3 days unfollow_break_min=15, unfollow_break_max=30, user_max_follow=0, # session_file=False, # Set to False to disable persistent session, or specify custom session_file (ie ='myusername.session') user_min_follow=0, 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"], ["is", "looks", "is 👉", "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=[ "second", "stuff", "art", "project", "love", "life", "food", "blog", "free", "keren", "photo", "graphy", "indo", "travel", "art", "shop", "store", "sex", "toko", "jual", "online", "murah", "jam", "kaos", "case", "baju", "fashion", "corp", "tas", "butik", "grosir", "karpet", "sosis", "salon", "skin", "care", "cloth", "tech", "rental", "kamera", "beauty", "express", "kredit", "collection", "impor", "preloved", "follow", "follower", "gain", ".id", "_id", "bags", ], unfollow_whitelist=["example_user_1", "example_user_2"], # Enable the following to schedule the bot. Uses 24H # end_at_h = 23, # Hour you want the bot to stop # end_at_m = 30, # Minute you want the bot stop, in this example 23:30 # start_at_h = 9, # Hour you want the bot to start # start_at_m = 10, # Minute you want the bot to start, in this example 9:10 (am). )
bot = InstaBot( login="******", password="******", like_per_day=1000, comments_per_day=0, tag_list=['食べ物','収穫際','野菜','農家','実り','牧場','有機栽培','有機農業','農園','玄米','栄養','食材','料理','バーベキュー','米麹','懐かしい味','畑','伝統野菜','調理','栽培','特産品','朝食','苗','旬の野菜','野菜スープ'], tag_blacklist=['rain', 'thunderstorm'], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=400, follow_time=1 * 60, unfollow_per_day=0, unfollow_break_min=15, unfollow_break_max=30, 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=[["これ", ], ["非常に", "を"], ["美味しい", "試して"], ["ね","見る"], [".", "..", "...", "!", "!!", "!!!"]], # 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2'])
bot = InstaBot( login=loginData[0], password=loginData[1], like_per_day=500, comments_per_day=0, tag_list = tagList, tag_blacklist = tagBlacklist, user_blacklist = {}, max_like_for_one_tag = 30, follow_per_day = 100, follow_time = 5 * 60 * 60, unfollow_per_day = 90, unfollow_break_min = 20, unfollow_break_max = 40, 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=[["essa", "a", "sua"], ["foto", "imagem"], ["é", "é realmente"], ["linda", "fantástica"], [".", "..", "...", "!", "!!", "!!!"]], # 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 = unwantedUsernameList, unfollow_whitelist = unfollowWhitelist) while True:
bot = InstaBot( login="******", password="******", database_name="follows_db5.db", like_per_day=800, comments_per_day=300, tag_list=[ 'graphicdesign', 'design', 'graphics', 'logo', 'logos', 'minimal', 'flatdesign', 'clean', 'flatdesignlogos' ], tag_blacklist=['rain', 'thunderstorm'], user_blacklist={}, max_like_for_one_tag=5, follow_per_day=800, follow_time=24 * 60 * 60 * 60, unfollow_per_day=1300, unfollow_break_min=0, unfollow_break_max=60, 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2'])
#!/usr/bin/env python # -*- coding: utf-8 -*- from src import InstaBot from src.usernameGen import usernameGen from src.bioGen import bioGen import os bot = InstaBot() ##### Set Variables ##### ######### Signup Form Data ######### bot.username = usernameGen(3, True) bot.email = bot.username + '@gmail.com' bot.first_name = bot.username.replace("_", " ").title() bot.signup_password = '******' bot.user_login = bot.username bot.user_password = '******' ##### clean Variables ##### bot.clean_vars() #### Signup or Login#### #check if there is no signup already if os.path.exists('username.txt'): with open('username.txt') as f: user_signed = f.readline() if len(user_signed) == 0: bot.signup() else: bot.user_login = user_signed bot.username = bot.user_login
bot = InstaBot( login="******", password="******", like_per_day=1164, comments_per_day=649, tag_list=['surftravel', 'scenic', 'surf', 'surfer', 'surftrip', 'surfing', 'travel', 'wanderlust', 'wandering', 'travels', 'traveller', 'traveler', 'travelgram', 'travelphotography', 'instatravel', 'traveltheworld', 'travelholic', 'travelpic', 'surfphotography'], tag_blacklist=['rain', 'thunderstorm' 'nsfw'], user_blacklist={}, max_like_for_one_tag=76, follow_per_day=362, follow_time=1 * 62, unfollow_per_day=0, unfollow_break_min=14, unfollow_break_max=31, 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=[["Shakabra🤙!!!!", "Mahaloo!", "Yeewww!!", "Woohooo!!!", "🤙🐒🌊", "Shakamahaloo", "Yeahh!!", "Wonderful!", "Shakabra🤙!!!!", "Mahaloo!", "Yeeww!!", "Shakamahaloo🤙🤙", "Woohooo!!!", "🤙🌊","Epicc🤙🐒 $]], # 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['ourplanetdaily', 'chrisburkard', 'thislatitudelongitude', 'kippcaddy1'])
bot = InstaBot( login="******", # Enter username (lowercase). Do not enter email! password="******", like_per_day=500, comments_per_day=31, tag_list=["metin2", "metin2pvp", "metin2pvpserver", "metin2tr"], tag_blacklist=["rain", "thunderstorm"], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=300, follow_time=1 * 60 * 60, unfollow_per_day=300, unlike_per_day=0, unfollow_recent_feed= True, # If True, the bot will also unfollow people who dont follow you using the recent feed. Default: True time_till_unlike=3 * 24 * 60 * 60, # 3 days unfollow_break_min=15, unfollow_break_max=30, user_max_follow=0, # session_file=False, # Set to False to disable persistent session, or specify custom session_file (ie ='myusername.session') user_min_follow=0, 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=[ ["Muhtesem", "Farkli", "Degisik", "Yeni"], [ "bir", ], ["metin2", "ozel metin2", "metin2"], [ "sunucusuna", "ozel sunucusuna", "serverina", "pvpsine", "pvp serverina", ], [ "katilmak icin takip edin!", "hazirmisiniz?", "katilmak icin haziran 2019'u bekle!" ], ], # 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=["example_user_1", "example_user_2"], # Enable the following to schedule the bot. Uses 24H # end_at_h = 23, # Hour you want the bot to stop # end_at_m = 30, # Minute you want the bot stop, in this example 23:30 # start_at_h = 9, # Hour you want the bot to start # start_at_m = 10, # Minute you want the bot to start, in this example 9:10 (am). )
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import time from src import InstaBot from src.check_status import check_status from src.feed_scanner import feed_scanner from src.follow_protocol import follow_protocol from src.unfollow_protocol import unfollow_protocol bot = InstaBot('User', 'senha') y = [ "@mrfiiix @milacriis @Camila", "@queiroz_ofc", "@milacriis", "@Camila", "@andersonrobertoo_", "@camilly.gc", "@travassoss.a", "@_dedessa3", "@sarahthainesouza", "@leonardocorream1", "@_mmarcanzoni", ] for x in y: bot.comment("1992337216253488658_367386260", x)
bot = InstaBot( login="******", password="******", like_per_day=500, comments_per_day=50, tag_list=['portrait', 'f4f', 'photography', 'abstract'], tag_blacklist=['rain', 'thunderstorm'], user_blacklist={}, max_like_for_one_tag=50, follow_per_day=300, follow_time=1 * 60, unfollow_per_day=300, unfollow_break_min=15, unfollow_break_max=30, 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=[["Hey you..this", "Hey mate, your", "Wow mate,this"], ["frame", "picture", "pic", "shot", "photo"], ["is friggin", "looks", "is damn", "is really"], ["awesome ;)!!!", "brilliant", "gorgEous", "very LIT", "subtle", "smart...i love the composition", "smartly shot. i have shot something similar. ", "similar to something i shot, its on my profile. But i love what you shot", "GREATbeautiful, its the kind of work i want to make.Could you comment on my work please?","blissful ;)", "magical", "very cool", "stylish", "beautiful", "so beautiful", "so stylish", "so professional and yet subte", "well composed", "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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ])
def login_instagram(data): if data["likes"]: ig_instagram_likes = int(float(data["likes"])) else: ig_instagram_likes = 1000 if data["likes_tag"]: ig_instagram_likes_hashtag = int(float(data["likes_tag"])) else: ig_instagram_likes_hashtag = 50 if data["follows_day"]: ig_instagram_follows = int(float(data["follows_day"])) else: ig_instagram_follows = 300 if data["unfollows_day"]: ig_instagram_unfollows = int(float(data["unfollows_day"])) else: ig_instagram_unfollows = 300 ig_hashtags_white = data["hashtags_white"] if ig_hashtags_white: ig_hashtags_white = ig_hashtags_white.split(",") ig_hashtags_white = (','.join(item for item in ig_hashtags_white)) ig_hashtags_white = ig_hashtags_white.split(",") else: ig_hashtags_white = [] ig_hashtags_black = data["hashtags_black"] if ig_hashtags_black: ig_hashtags_black = ig_hashtags_black.split(",") ig_hashtags_black = (','.join("'" + item + "'" for item in ig_hashtags_black)) ig_hashtags_black = ig_hashtags_black.split(",") else: ig_hashtags_black = [] ig_user_black = data["user_black"] if ig_user_black: ig_user_black = ig_user_black.split(",") ig_user_black = (','.join(item for item in ig_user_black)) ig_user_black = ig_user_black.split(",") else: ig_user_black = [] ig_user_white = data["user_white"] if ig_user_white: ig_user_white = ig_user_white.split(",") ig_user_white = (','.join(item for item in ig_user_white)) ig_user_white = ig_user_white.split(",")# else: ig_user_white = [] bot = InstaBot( login=data["username"], password=data["password"], like_per_day=ig_instagram_likes, comments_per_day=0, tag_list=ig_hashtags_white, tag_blacklist=ig_hashtags_black, user_blacklist={}, max_like_for_one_tag=ig_instagram_likes_hashtag, follow_per_day=ig_instagram_follows, follow_time=1 * 60, unfollow_per_day=ig_instagram_unfollows, unfollow_break_min=15, unfollow_break_max=30, log_mod=2, unwanted_username_list=ig_user_black, unfollow_whitelist=ig_user_white ) if bot.login_status: eel.bot_corret_login() while True: bot.new_auto_mod() else: bot.logout() eel.bot_message('instabot.py gui crashed - please restart!','danger') else: # if login incorrect cancel eel.bot_incorret_login()
def the_bot(id, passw): bot = InstaBot( login=id, password=passw, like_per_day=1920, comments_per_day=0, tag_list=[ 'tippermusic', 'dubstep', 'edcvegas', 'ootd', 'spotify', 'spotifyplaylist', 'spotifypremium', 'fasionable', 'fashionnova', 'fav', 'ultramusicfestival' ], tag_blacklist=['rain', 'thunderstorm'], user_blacklist={}, max_like_for_one_tag=170, follow_per_day=0, follow_time=1 * 5, unfollow_per_day=0, unfollow_break_min=15, unfollow_break_max=30, 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=[ 'second', 'stuff', 'art', 'project', 'love', 'life', 'food', 'blog', 'free', 'keren', 'photo', 'graphy', 'indo', 'travel', 'art', 'shop', 'store', 'sex', 'toko', 'jual', 'online', 'murah', 'jam', 'kaos', 'case', 'baju', 'fashion', 'corp', 'tas', 'butik', 'grosir', 'karpet', 'sosis', 'salon', 'skin', 'care', 'cloth', 'tech', 'rental', 'kamera', 'beauty', 'express', 'kredit', 'collection', 'impor', 'preloved', 'follow', 'follower', 'gain', '.id', '_id', 'bags' ], unfollow_whitelist=['example_user_1', 'example_user_2']) 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!")