[downloader] Fix external downloader selection for m3u8

Closes #239
pull/310/head
pukkandan 4 years ago
parent 54670cf084
commit a31953b0e6
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

@ -85,7 +85,7 @@ def get_suitable_downloader(info_dict, params={}, default=HttpFD):
return FFmpegFD
elif external_downloader == 'native':
return HlsFD
elif _get_real_downloader(info_dict, 'frag_urls', params, None):
elif _get_real_downloader(info_dict, 'm3u8_frag_urls', params, None):
return HlsFD
elif params.get('hls_prefer_native') is True:
return HlsFD

Loading…
Cancel
Save