Commit 1791251e authored by 吴升宇's avatar 吴升宇

fix args

parent 573049e3
...@@ -41,7 +41,7 @@ def batch_handle(auto_follow_list): ...@@ -41,7 +41,7 @@ def batch_handle(auto_follow_list):
cookies = login() cookies = login()
if cookies is not None: if cookies is not None:
# follow(cookies, user_id) # follow(cookies, user_id)
time = get_rand_time(hourup=0) time = get_rand_time(hourup=1)
follow.apply_async(args=(cookies, user_id), eta=time) follow.apply_async(args=(cookies, user_id), eta=time)
except: except:
...@@ -56,7 +56,7 @@ def auto_follow_per_2h_by_post_and_regist(): ...@@ -56,7 +56,7 @@ def auto_follow_per_2h_by_post_and_regist():
numtime1, numtime2 = time_conv_hour(0, 1) numtime1, numtime2 = time_conv_hour(0, 1)
user_ids = get_commnet_id(numtime2, numtime1, content_level_low=0, content_level_top=6) user_ids = get_commnet_id(numtime2, numtime1, content_level_low=0, content_level_top=6)
for user_id in user_ids: for user_id in user_ids:
follow_num = random.randint(1, 3) follow_num = random.randint(3, 5)
for i in range(follow_num): for i in range(follow_num):
auto_follow_list.append(user_id) auto_follow_list.append(user_id)
......
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