]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[extractor/__init__] disable time range downloading
authorremitamine <remitamine@gmail.com>
Sun, 13 Mar 2016 15:16:26 +0000 (16:16 +0100)
committerremitamine <remitamine@gmail.com>
Sun, 13 Mar 2016 15:16:26 +0000 (16:16 +0100)
youtube_dl/downloader/__init__.py

index 0b65aa3e2ffa261e7bedd082661c21f1aedc0c07..19471a25073dc49fb3acaa7bf46a0cb5d47f0ea4 100644 (file)
@@ -32,8 +32,8 @@ def get_suitable_downloader(info_dict, params={}):
     protocol = determine_protocol(info_dict)
     info_dict['protocol'] = protocol
 
-    if (info_dict.get('start_time') or info_dict.get('end_time')) and FFmpegFD.can_download(info_dict):
-        return FFmpegFD
+    if (info_dict.get('start_time') or info_dict.get('end_time')) and FFmpegFD.can_download(info_dict):
+        return FFmpegFD
 
     external_downloader = params.get('external_downloader')
     if external_downloader is not None: