Deben Oldert 6 سال پیش
والد
کامیت
17e4bfacb8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      sites/helper/download.py

+ 1 - 1
sites/helper/download.py

@@ -50,7 +50,7 @@ def download(item, type='GET', parameters=None, headers=None, cookies=None, stre
 
                 console.output('Bitrate: {0}kbps'.format(int(item.bitrate)))
 
-            if int(item.bitrate) < Settings.MinQuality:
+            if item.duration_seconds is not None and int(item.bitrate) < Settings.MinQuality:
                 ans = console.ask_input('Continue downloading? [y/n]')
 
                 if ans != 'y':