aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-09-10 03:46:54 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-09-10 03:46:54 +0530
commitdeae7c171180ddd4735c414306f084f86ef27e07 (patch)
tree872f2af39e7d3481b99657c7169bd8c7d49064a2 /yt_dlp/utils.py
parent941e881e1fe20ee8955f3b751ce26953d9e86656 (diff)
downloadhypervideo-pre-deae7c171180ddd4735c414306f084f86ef27e07.tar.lz
hypervideo-pre-deae7c171180ddd4735c414306f084f86ef27e07.tar.xz
hypervideo-pre-deae7c171180ddd4735c414306f084f86ef27e07.zip
[cleanup] Misc
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r--yt_dlp/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py
index a036e2233..666ef67ff 100644
--- a/yt_dlp/utils.py
+++ b/yt_dlp/utils.py
@@ -3625,7 +3625,7 @@ def determine_protocol(info_dict):
ext = determine_ext(url)
if ext == 'm3u8':
- return 'm3u8'
+ return 'm3u8' if info_dict.get('is_live') else 'm3u8_native'
elif ext == 'f4m':
return 'f4m'