Commit f3c60f93 authored by 吴升宇's avatar 吴升宇

Merge branch 'wsy3' into 'master'

fix args

See merge request !569
parents 6e3fb3c7 1791251e
......@@ -41,7 +41,7 @@ def batch_handle(auto_follow_list):
cookies = login()
if cookies is not None:
# 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)
except:
......@@ -56,7 +56,7 @@ def auto_follow_per_2h_by_post_and_regist():
numtime1, numtime2 = time_conv_hour(0, 1)
user_ids = get_commnet_id(numtime2, numtime1, content_level_low=0, content_level_top=6)
for user_id in user_ids:
follow_num = random.randint(1, 3)
follow_num = random.randint(3, 5)
for i in range(follow_num):
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