0
0
Fork 0
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 and a31953b0e6
This commit is contained in:
pukkandan 2021-04-14 09:57:48 +05:30
parent b5be6dd504
commit 72e1fe969f
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -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':