|
@@ -58,20 +58,20 @@ class DouyinauthorScheduling:
|
|
|
flag = user_dict["link"].split("_")[0]
|
|
|
if flag == "V1":
|
|
|
rule_dict = {
|
|
|
- "play_cnt": {"min": 100000, "max": 0},
|
|
|
- 'period': {"min": 15, "max": 15},
|
|
|
- 'special': 0.03
|
|
|
+ "like_cnt": {"min": 10000, "max": 0},
|
|
|
+ 'period': {"min": 90, "max": 90},
|
|
|
+ 'special': 0.01
|
|
|
}
|
|
|
elif flag == "V2":
|
|
|
rule_dict = {
|
|
|
- "play_cnt": {"min": 80000, "max": 0},
|
|
|
- 'period': {"min": 7, "max": 7},
|
|
|
- 'special': 0.02
|
|
|
+ "like_cnt": {"min": 2000, "max": 0},
|
|
|
+ 'period': {"min": 90, "max": 90},
|
|
|
+ 'special': 0.01
|
|
|
}
|
|
|
elif flag == "V3":
|
|
|
rule_dict = {
|
|
|
- "play_cnt": {"min": 10000, "max": 0},
|
|
|
- 'period': {"min": 3, "max": 3},
|
|
|
+ "like_cnt": {"min": 100, "max": 0},
|
|
|
+ 'period': {"min": 90, "max": 90},
|
|
|
'special': 0.01
|
|
|
}
|
|
|
cookie = cls.get_cookie(log_type, crawler, env)["cookie"]
|