wangkun il y a 2 ans
Parent
commit
119aefd8ee
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      main/haokan_channel.py

+ 2 - 2
main/haokan_channel.py

@@ -16,8 +16,8 @@ from main.get_cookies import GetCookies
 class Channel:
     @classmethod
     def download_rule(cls, play_cnt, duration):
-        if int(play_cnt) >= 50000:
-            if int(duration) >= 60:
+        if int(play_cnt) >= 10000:
+            if int(duration) >= 30:
                 return True
             else:
                 return False