优化本地文件识别

This commit is contained in:
nilaoda 2022-07-11 13:39:41 +08:00
parent fd9d5382ba
commit 802bf56ede
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ namespace N_m3u8DL_RE.Parser
}
else if (File.Exists(url))
{
url = Path.GetFullPath(url);
this.rawText = File.ReadAllText(url);
parserConfig.Url = new Uri(url).AbsoluteUri;
}