[downloader] Fix downloader selection for m3u8

Bug introduced by: 52a8a1e1b9 and a31953b0e6
pull/245/head
pukkandan 3 years ago
parent b5be6dd504
commit 72e1fe969f
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -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…
Cancel
Save