]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/downloader/__init__.py
New upstream version 2017.05.18.1
[youtubedl] / youtube_dl / downloader / __init__.py
index 16952e359bc19337dc4f8682061d169ff956e264..2e485df9dac09e197af6183ded3570e57805fad2 100644 (file)
@@ -43,6 +43,9 @@ def get_suitable_downloader(info_dict, params={}):
         if ed.can_download(info_dict):
             return ed
 
+    if protocol.startswith('m3u8') and info_dict.get('is_live'):
+        return FFmpegFD
+
     if protocol == 'm3u8' and params.get('hls_prefer_native') is True:
         return HlsFD