优化本地文件识别
This commit is contained in:
parent
fd9d5382ba
commit
802bf56ede
|
@ -47,6 +47,7 @@ namespace N_m3u8DL_RE.Parser
|
||||||
}
|
}
|
||||||
else if (File.Exists(url))
|
else if (File.Exists(url))
|
||||||
{
|
{
|
||||||
|
url = Path.GetFullPath(url);
|
||||||
this.rawText = File.ReadAllText(url);
|
this.rawText = File.ReadAllText(url);
|
||||||
parserConfig.Url = new Uri(url).AbsoluteUri;
|
parserConfig.Url = new Uri(url).AbsoluteUri;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue