Skip to content

A feature-rich command-line audio/video downloader

[downloader] Fix downloader selection for m3u8 Bug introduced by: 52a8a1e1b93dbc88f0018d4842f1e90ba96e095f and a31953b0e69f710f737643cb36b0ca1caf69e04c

pukkandan72e1fe969f77
diff --git a/yt_dlp/downloader/__init__.py b/yt_dlp/downloader/__init__.py
index 3519982241..510c7b6014 100644
--- a/yt_dlp/downloader/__init__.py
+++ b/yt_dlp/downloader/__init__.py
@@ -80,7 +80,7 @@ def get_suitable_downloader(info_dict, params={}, default=HttpFD):
if ed.can_download(info_dict, external_downloader):
return ed
- if protocol.startswith('m3u8'):
+ if protocol in ('m3u8', 'm3u8_native'):
if info_dict.get('is_live'):
return FFmpegFD
elif external_downloader == 'native':