优化MPD识别

This commit is contained in:
nilaoda 2022-07-10 17:47:03 +08:00
parent e02798d2fe
commit db0498f939
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ namespace N_m3u8DL_RE.Parser
Logger.InfoMarkUp(ResString.matchHLS); Logger.InfoMarkUp(ResString.matchHLS);
extractor = new HLSExtractor(parserConfig); extractor = new HLSExtractor(parserConfig);
} }
else if (rawText.Contains("<MPD ")) else if (rawText.Contains("</MPD>") && rawText.Contains("<MPD"))
{ {
Logger.InfoMarkUp(ResString.matchDASH); Logger.InfoMarkUp(ResString.matchDASH);
//extractor = new DASHExtractor(parserConfig); //extractor = new DASHExtractor(parserConfig);