zhangyong 10 miesięcy temu
rodzic
commit
54fd565421

+ 4 - 3
kuaishou/kuaishou_author/kuaishou_author_scheduling_new.py

@@ -100,19 +100,19 @@ class KuaishouauthorScheduling:
                 if flag == "V1":
                     rule_dict = {
                         "play_cnt": {"min": 10000, "max": 0},
-                        'period': {"min": 90, "max": 90},
+                        'period': {"min": 90, "max": 0},
                     }
                     special = 0.01
                 elif flag == "V2":
                     rule_dict = {
                         "play_cnt": {"min": 2000, "max": 0},
-                        'period': {"min": 90, "max": 90},
+                        'period': {"min": 90, "max": 0},
                     }
                     special = 0.01
                 elif flag == "V3":
                     rule_dict = {
                         "play_cnt": {"min": 100, "max": 0},
-                        'period': {"min": 90, "max": 90},
+                        'period': {"min": 90, "max": 0},
                     }
                     special = 0.01
             else:
@@ -208,6 +208,7 @@ class KuaishouauthorScheduling:
                     env=env,
                     message= f"没有更多视频啦 ~\n"
                 )
+                Feishu.bot(log_type, 'kuaishou', f'快手cookie失效,请及时更换~')
                 return
             pcursor = response.json()['data']['visionProfilePhotoList']['pcursor']
             feeds = response.json()['data']['visionProfilePhotoList']['feeds']