From 1e671ffc2090b482d5116a49125558132a6ecf70 Mon Sep 17 00:00:00 2001 From: nilaoda Date: Wed, 20 Jul 2022 23:58:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=88=86=E7=89=87range?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs b/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs index abb2111..93e96a7 100644 --- a/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs +++ b/src/N_m3u8DL-RE.Parser/Extractor/DASHExtractor2.cs @@ -249,7 +249,7 @@ namespace N_m3u8DL_RE.Parser.Extractor { var segmentURL = segmentURLs.ElementAt(segmentIndex); var mediaUrl = ParserUtil.CombineURL(segBaseUrl, segmentURL.Attribute("media")?.Value!); - var mediaRange = segmentURL.Attribute("range")?.Value; + var mediaRange = segmentURL.Attribute("mediaRange")?.Value; MediaSegment mediaSegment = new(); mediaSegment.Duration = Convert.ToDouble(duration); mediaSegment.Url = PreProcessUrl(mediaUrl);