Commit 0255bd8e authored by lixiaofang's avatar lixiaofang

add

parent aa3c776d
......@@ -34,22 +34,22 @@ if __name__ == "__main__":
print(lenn)
random = []
randoms_id = []
for i in range(lenn % 2):
rand_num = random.randint(0, len(user_ids))
random.append(lenn[rand_num])
randoms_id.append(lenn[rand_num])
print(random)
for i in random:
if randoms_id:
for i in randoms_id:
time.sleep(random.randint(10, 50))
time.sleep(random.randint(10, 50))
cook = login()
cook = login()
if cook is not None:
click(cook, i)
if cook is not None:
click(cook, i)
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment