|
@@ -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
|