]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/downloader/__init__.py
debian/copyright: Update my copyright years.
[youtubedl] / youtube_dl / downloader / __init__.py
index eff1122c5c09eff494ad34af835b06e33c9e4751..9fb66e2f7f680a71c05fdd866c72b0db2dd91a77 100644 (file)
@@ -34,6 +34,9 @@ def get_suitable_downloader(info_dict, params={}):
         if ed.supports(info_dict):
             return ed
 
+    if protocol == 'm3u8' and params.get('hls_prefer_native'):
+        return NativeHlsFD
+
     return PROTOCOL_MAP.get(protocol, HttpFD)