wangkun преди 1 година
родител
ревизия
2e9387c9f7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      main/kanyikan_recommend.py

+ 1 - 1
main/kanyikan_recommend.py

@@ -41,7 +41,7 @@ class Kanyikanrecommend:
         publish_day = int(int(now - video_dict["publish_time_stamp"]) / (3600*24))
         publish_day = int(int(now - video_dict["publish_time_stamp"]) / (3600*24))
         if (int(video_dict["video_width"]) or int(video_dict["video_height"]) >= 0) \
         if (int(video_dict["video_width"]) or int(video_dict["video_height"]) >= 0) \
             and int(video_dict["duration"]) >= 40\
             and int(video_dict["duration"]) >= 40\
-            and ((publish_day >= 7 and int(video_dict["play_cnt"]) >= 4000000) or (publish_day < 7 and int(video_dict["play_cnt"]) >= 1500000)):
+            and ((publish_day >= 7 and int(video_dict["play_cnt"]) >= 2000000) or (publish_day < 7 and int(video_dict["play_cnt"]) >= 500000)):
             # and int(video_dict["publish_time_stamp"]) >= 1672502400:  # 发布时间>=2023-01-01 00:00:00
             # and int(video_dict["publish_time_stamp"]) >= 1672502400:  # 发布时间>=2023-01-01 00:00:00
             return True
             return True
         else:
         else: