1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-03-03 12:49:37 +00:00

[downloader] Do not use aria2c for non-native m3u8

Closes #2718
This commit is contained in:
pukkandan
2022-02-11 12:09:03 +05:30
parent 3856407a86
commit 079a7cfc71
4 changed files with 4 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ def _get_suitable_downloader(info_dict, protocol, params, default):
return FFmpegFD
elif (external_downloader or '').lower() == 'native':
return HlsFD
elif get_suitable_downloader(
elif protocol == 'm3u8_native' and get_suitable_downloader(
info_dict, params, None, protocol='m3u8_frag_urls', to_stdout=info_dict['to_stdout']):
return HlsFD
elif params.get('hls_prefer_native') is True: