From 4ead563fa238b2368302f8a2af695c15617bd459 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Mon, 1 Feb 2021 22:57:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=87=AA=E5=AE=9A=E4=B9=89KE?= =?UTF-8?q?Y=E5=88=87=E5=AD=98=E5=9C=A8IV=E6=97=B6=E7=9A=84=E9=9A=90?= =?UTF-8?q?=E6=82=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- N_m3u8DL-CLI/Parser.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/N_m3u8DL-CLI/Parser.cs b/N_m3u8DL-CLI/Parser.cs index d7077d6..d93c0ab 100644 --- a/N_m3u8DL-CLI/Parser.cs +++ b/N_m3u8DL-CLI/Parser.cs @@ -314,8 +314,8 @@ public void Parse() { if (m3u8CurrentKey[2] == "" && line.Contains("IV=0x")) { - var temp = ParseKey(line); - m3u8CurrentKey[2] = temp[2]; //使用m3u8中的IV + var temp = Global.GetTagAttribute(line.Replace(HLSTags.ext_x_key + ":", ""), "IV"); + m3u8CurrentKey[2] = temp; //使用m3u8中的IV } } else