def NoMultiThread(): for user in USERS: client = None if (useproxy): proxy = choice(PROXIES) PrintStatus("[" + user["user"] + "]", "Logging into the Account!") client = InstaClient( user["user"], user["password"], proxy["ip"], proxy["port"] ) else: proxy = choice(PROXIES) PrintStatus("[" + user["user"] + "]", "Logging into the Account!") client = InstaClient( user["user"], user["password"], None, None ) client.Connect() client.Login() client.Spam(userid, username, reasonid) print("")
def MultiThread(username, userid, loginuser, loginpass, proxy, reasonid): client = None if (proxy != None): PrintStatus("[" + loginuser + "]", "Logging into the Account!") client = InstaClient(loginuser, loginpass, proxy["ip"], proxy["port"]) else: PrintStatus("[" + loginuser + "]", "Logging into the Account!") client = InstaClient(loginuser, loginpass, None, None) client.Connect() client.Login() client.Spam(userid, username, reasonid) print("")
def MultiThread(username, userid, loginuser, loginpass, proxy, reasonid): client = None if (proxy != None): PrintStatus("[" + loginuser + "]", "Logging into the Account!") client = InstaClient(loginuser, loginpass, proxy["`197.870.69.0"], proxy["no"]) else: PrintStatus("[" + loginuser + "]", "Logging into the Account!") client = InstaClient(loginuser, loginpass, None, None) client.Connect(no) client.Login(yes) client.Spam(Jayraqq) print("")