Пример #1
0
    print('%sWaiting 6-7h%s' % (stars, stars))
    print(time.asctime(), '\n')
    time.sleep(random.randint(6 * 60 * 60, 7 * 60 * 60))

while True:
    following_bot = my_bot.get_follows_list()
    followers_bot = my_bot.get_followers_list()
    not_following_back_bot = following_bot - followers_bot
    not_following_back_bot = list(not_following_back_bot)

    if len(not_following_back_bot) < 400:

        print('%sPhase of follow #1%s' % (stars, stars))
        print(time.asctime(), '\n')  #_FireAnt - 100% audit, vasial9 99.5
        my_bot.auto_follow_followers_of_user('alzambek',
                                             count=random.randint(20, 40))

        print('%sWaiting 9-12h%s' % (stars, stars))
        print(time.asctime(), '\n')
        random.seed()
        time.sleep(random.randint(9 * 60 * 60, 12 * 60 * 60))

        print('%sPhase of follow #2%s' % (stars, stars))
        print(time.asctime(), '\n')
        my_bot.auto_follow_followers_of_user('alzambek',
                                             count=random.randint(30, 38))

        print('%sWaiting 8-10h%s' % (stars, stars))
        print(time.asctime(), '\n')
        time.sleep(random.randint(8 * 60 * 60, 10 * 60 * 60))
Пример #2
0
#followfolloersof
#python run_bot.py twitter_handle
import sys
from TwitterFollowBot import TwitterBot

my_bot = TwitterBot()

my_bot.sync_follows()

account = sys.argv[1:][0]

print "About to start following followers of " + account

my_bot.auto_follow_followers_of_user(account, count=1000)
Пример #3
0
from TwitterFollowBot import TwitterBot

my_bot = TwitterBot("mcon.txt")
my_bot.auto_follow_followers_of_user("TheHiddenWorId", count=25)
Пример #4
0
import tweepy

from TwitterFollowBot import TwitterBot

my_bot = TwitterBot()
keywords = [line.rstrip('\n') for line in open('brands.txt')]
follow = [line.rstrip('\n') for line in open('Followthese.txt')]
charities = [line.rstrip('\n') for line in open('charities.txt')]
my_bot.auto_fav("charity", count=1)
var = 1
while var == 1:
    keywordcount = 0
    while keywordcount < len(keywords):
        for keyword in keywords:
            my_bot.auto_rt(keyword, count=1)
        keywordcount += 1
    followcount = 0
    while followcount < len(follow):
        for user in follow:
            my_bot.auto_follow_followers_of_user(user, count=1)
        followcount += 1
    charitycount = 0
    while charitycount < len(charities):
        for charity in charities:
            my_bot.send_tweet("Dont forget to help out people at" + charity)
        charitycount += 1
    print("Should start from top")

print("Good bye :(")
Пример #5
0
from TwitterFollowBot import TwitterBot
import sys
import random
import time

#decale le start du bot
if (len(sys.argv) < 3 or sys.argv[2] != "nowait"):
    time.sleep(random.random() * 30 + 1)

#gestion du cache
my_bot = TwitterBot()
my_bot.sync_follows()

#decale le start du bot
if (len(sys.argv) < 3 or sys.argv[2] != "nowait"):
    time.sleep(random.random() * 50 + 1)

#FollowBackUSer
my_bot.auto_follow_followers_of_user(sys.argv[1])
from TwitterFollowBot import TwitterBot

my_bot = TwitterBot()
my_bot.auto_follow_followers_of_user("bandsintown", count=10)
my_bot.auto_follow_followers_of_user("songkick", count=10)
my_bot.auto_follow_followers_of_user("thefader", count=10)
my_bot.auto_follow_followers_of_user("billboard", count=10)
my_bot.auto_follow_followers_of_user("pitchfork", count=10)
my_bot.auto_follow_followers_of_user("noiseymusic", count=10)
Пример #7
0
    if command == 'afh':
        my_bot.auto_follow("#FollowBack #Bounty", count=1000)

    if command == 'b':
        while True:
            following_bot = my_bot.get_follows_list()
            followers_bot = my_bot.get_followers_list()
            not_following_back_bot = following_bot - followers_bot
            not_following_back_bot = list(not_following_back_bot)

            if len(not_following_back_bot) < 900:

                print('%sPhase of follow #1%s' % (stars, stars))
                print(time.asctime(), '\n') #_FireAnt - 100% audit, vasial9 99.5
                my_bot.auto_follow_followers_of_user('alzambek', count = random.randint(180, 210))

                print('%sWaiting 8.5-10.5h%s' % (stars, stars))
                print(time.asctime(), '\n')
                random.seed()
                time.sleep(random.randint(8.5*60*60, 10.5*60*60))

                print('%sPhase of follow #2%s' % (stars, stars))
                print(time.asctime(), '\n')
                my_bot.auto_follow_followers_of_user('alzambek', count = random.randint(180, 210))

                print('%sWaiting 5-6h%s' % (stars, stars))
                print(time.asctime(), '\n')
                time.sleep(random.randint(5*60*60, 6*60*60))

                print('%sPhase of follow followers%s' % (stars, stars))