mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-26 02:55:17 +00:00
[downloader] Fix downloader selection for m3u8
Bug introduced by:52a8a1e1b9
anda31953b0e6
This commit is contained in:
parent
b5be6dd504
commit
72e1fe969f
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue