mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-02-02 21:17:18 +01:00
[downloader] Fix downloader selection for m3u8
Bug introduced by: 52a8a1e1b93dbc88f0018d4842f1e90ba96e095f and a31953b0e69f710f737643cb36b0ca1caf69e04c
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):
|
||||
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…
x
Reference in New Issue
Block a user