Compare commits
No commits in common. "7805a3bee2e6f03f3613436b63d84f2a898d95b8" and "fc50e6cd4eb6408ea34dac1b6e5e85934ad9e43b" have entirely different histories.
7805a3bee2
...
fc50e6cd4e
BIN
dist/Ragnar-1.3.37-py3-none-any.whl
vendored
Normal file
BIN
dist/Ragnar-1.3.37-py3-none-any.whl
vendored
Normal file
Binary file not shown.
BIN
dist/ragnar-1.3.37.tar.gz
vendored
Normal file
BIN
dist/ragnar-1.3.37.tar.gz
vendored
Normal file
Binary file not shown.
@ -19,12 +19,10 @@ def parse_args():
|
||||
def bot_task(username, password):
|
||||
log.info(f"Created new bot runniner. Username: {username}")
|
||||
time.sleep(random.randint(1, 20))
|
||||
bot = Bot(username=username, password=password)
|
||||
bot.login()
|
||||
while True:
|
||||
|
||||
time.sleep(random.randint(1, 120))
|
||||
bot = Bot(username=username, password=password)
|
||||
bot.login()
|
||||
|
||||
time.sleep(random.randint(1, 20))
|
||||
try:
|
||||
bot.fight()
|
||||
except Exception as ex:
|
||||
@ -33,33 +31,23 @@ def bot_task(username, password):
|
||||
|
||||
def main():
|
||||
args = parse_args()
|
||||
usernames = [
|
||||
# "no-spam1",
|
||||
# "no-spam2",
|
||||
# "no-spam3",
|
||||
# "no-spam4",
|
||||
# "no-spam",
|
||||
"no-spam2353",
|
||||
"no-spam2351",
|
||||
"no-spam2350",
|
||||
"no-spam2349",
|
||||
"JamesMedina",
|
||||
"MichelleWeeks",
|
||||
"JaredRuiz",
|
||||
"LoriMcgee",
|
||||
"AmandaFloyd",
|
||||
"tcpip",
|
||||
"tcpudp",
|
||||
"JoseRodriguez",
|
||||
"CaseyHernandez",
|
||||
"ToddHarris",
|
||||
"AnneRose",
|
||||
"GregoryBowman",
|
||||
"LeahVasquez",
|
||||
"JamesMedina"
|
||||
]
|
||||
|
||||
with Executor(len(usernames) + 1) as executor:
|
||||
with Executor(500) as executor:
|
||||
usernames = [
|
||||
# "no-spam1",
|
||||
# "no-spam2",
|
||||
# "no-spam3",
|
||||
# "no-spam4",
|
||||
# "no-spam",
|
||||
"no-spam2353",
|
||||
"no-spam2351",
|
||||
"no-spam2350",
|
||||
"no-spam2349",
|
||||
"JamesMedina",
|
||||
"MichelleWeeks",
|
||||
"JaredRuiz",
|
||||
"LoriMcgee",
|
||||
"AmandaFloyd",
|
||||
]
|
||||
for username in usernames:
|
||||
executor.submit(bot_task, f"{username}@molodetz.nl", args.password)
|
||||
executor.shutdown(wait=True)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user