|
@@ -64,19 +64,19 @@ class DouyinauthorScheduling:
|
|
special = 0.01
|
|
special = 0.01
|
|
rule_dict = {
|
|
rule_dict = {
|
|
"like_cnt": {"min": 10000, "max": 0},
|
|
"like_cnt": {"min": 10000, "max": 0},
|
|
- 'period': {"min": 90, "max": 90},
|
|
|
|
|
|
+ 'period': {"min": 15, "max": 0},
|
|
}
|
|
}
|
|
elif flag == "V2":
|
|
elif flag == "V2":
|
|
special = 0.01
|
|
special = 0.01
|
|
rule_dict = {
|
|
rule_dict = {
|
|
"like_cnt": {"min": 2000, "max": 0},
|
|
"like_cnt": {"min": 2000, "max": 0},
|
|
- 'period': {"min": 90, "max": 90},
|
|
|
|
|
|
+ 'period': {"min": 15, "max": 0},
|
|
}
|
|
}
|
|
elif flag == "V3":
|
|
elif flag == "V3":
|
|
special = 0.01
|
|
special = 0.01
|
|
rule_dict = {
|
|
rule_dict = {
|
|
"like_cnt": {"min": 100, "max": 0},
|
|
"like_cnt": {"min": 100, "max": 0},
|
|
- 'period': {"min": 90, "max": 90},
|
|
|
|
|
|
+ 'period': {"min": 15, "max": 0},
|
|
}
|
|
}
|
|
cookie = cls.get_cookie(log_type, crawler, env)["cookie"]
|
|
cookie = cls.get_cookie(log_type, crawler, env)["cookie"]
|
|
if user_dict['link'][0] == "V":
|
|
if user_dict['link'][0] == "V":
|