mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 03:10:38 +00:00
[downloader] Fix downloader selection for m3u8
Bug introduced by:52a8a1e1b9
anda31953b0e6
This commit is contained in:
parent
b5be6dd504
commit
72e1fe969f
@ -80,7 +80,7 @@ def get_suitable_downloader(info_dict, params={}, default=HttpFD):
|
|||||||
if ed.can_download(info_dict, external_downloader):
|
if ed.can_download(info_dict, external_downloader):
|
||||||
return ed
|
return ed
|
||||||
|
|
||||||
if protocol.startswith('m3u8'):
|
if protocol in ('m3u8', 'm3u8_native'):
|
||||||
if info_dict.get('is_live'):
|
if info_dict.get('is_live'):
|
||||||
return FFmpegFD
|
return FFmpegFD
|
||||||
elif external_downloader == 'native':
|
elif external_downloader == 'native':
|
||||||
|
Loading…
Reference in New Issue
Block a user