修正分片range处理

This commit is contained in:
nilaoda 2022-07-20 23:58:21 +08:00
parent c838e0b08a
commit 1e671ffc20
1 changed files with 1 additions and 1 deletions

View File

@ -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);