wangkun 2 år sedan
förälder
incheckning
9bdc8fd854
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      main/kanyikan_recommend.py

+ 1 - 1
main/kanyikan_recommend.py

@@ -39,7 +39,7 @@ class Kanyikanrecommend:
     def download_rule(cls, video_dict):
         now = int(time.time())
         publish_day = int(int(now - video_dict["publish_time_stamp"]) / (3600*24))
-        if (int(video_dict["video_width"]) or int(video_dict["video_height"]) >= 720) \
+        if (int(video_dict["video_width"]) or int(video_dict["video_height"]) >= 0) \
             and int(video_dict["duration"]) >= 40\
             and ((publish_day >= 7 and int(video_dict["play_cnt"]) >= 500) or (publish_day < 7 and int(video_dict["play_cnt"]) >= 100)):
             return True