Browse Source

update duration>=30s

wangkun 2 years ago
parent
commit
5c22469746
2 changed files with 4 additions and 1 deletions
  1. 3 0
      README.md
  2. 1 1
      main/shipinhao_recommend.py

+ 3 - 0
README.md

@@ -22,6 +22,9 @@
 
 
 #### 需求
+2022/9/14
+1. 修改视频时长>=30s
+
 2022/9/13
 1. 视频时长>=10s
 2. 点赞>=1000

+ 1 - 1
main/shipinhao_recommend.py

@@ -65,7 +65,7 @@ class Recommend:
     # 下载规则
     @staticmethod
     def download_rule(duration, like_cnt, share_cnt, favorite_cnt, comment_cnt):
-        if int(duration) >= 10:
+        if int(duration) >= 30:
             if int(like_cnt) >= 1000:
                 if int(share_cnt) >= 0:
                     if int(favorite_cnt) >= 0: