Commit 13c7948c authored by lixiaofang's avatar lixiaofang

add

parent ca39d21d
......@@ -42,12 +42,15 @@ if __name__ == "__main__":
user_id = get_data(numtime1)
urge_num = random.randint(0, 1)
for j in range(urge_num):
for i in user_id and user_id:
id = int(i[0])
time.sleep(random.randint(10, 30))
cook = login()
if cook is not None:
follow(cook, id)
try:
for i in user_id and user_id:
id = int(i[0])
time.sleep(random.randint(10, 30))
cook = login()
if cook is not None:
follow(cook, id)
except:
pass
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