]> jfr.im git - yt-dlp.git/commitdiff
[downloader] Fix external downloader selection for m3u8
authorpukkandan <redacted>
Mon, 12 Apr 2021 17:04:11 +0000 (22:34 +0530)
committerpukkandan <redacted>
Mon, 12 Apr 2021 17:04:11 +0000 (22:34 +0530)
Closes #239

yt_dlp/downloader/__init__.py

index 3c800889076c96503ff7d4804d8664116076a73f..3519982241c69546e863d5421d4af515b2f958d1 100644 (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