0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-22 06:00:00 +00:00

[downloader] Fix external downloader selection for m3u8

Closes #239
This commit is contained in:
pukkandan 2021-04-12 22:34:11 +05:30
parent 54670cf084
commit a31953b0e6
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

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