From 9864b2560e89b2f858078bc135bedb35f02b857b Mon Sep 17 00:00:00 2001 From: nilaoda Date: Wed, 3 Aug 2022 18:57:24 +0800 Subject: [PATCH] Update SimpleDownloadManager.cs --- src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs b/src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs index d54e617..ecb4826 100644 --- a/src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs +++ b/src/N_m3u8DL-RE/DownloadManager/SimpleDownloadManager.cs @@ -48,8 +48,6 @@ namespace N_m3u8DL_RE.DownloadManager var tmpDir = Path.Combine(DownloaderConfig.TmpDir ?? Environment.CurrentDirectory, dirName); var saveDir = DownloaderConfig.SaveDir ?? Environment.CurrentDirectory; var saveName = DownloaderConfig.SaveName != null ? $"{DownloaderConfig.SaveName}.{type}.{streamSpec.Language}".TrimEnd('.') : dirName; - //去除非法字符 - dirName = ConvertUtil.GetValidFileName(dirName, filterSlash: true); var headers = DownloaderConfig.Headers; var output = Path.Combine(saveDir, saveName + $".{streamSpec.Extension ?? "ts"}"); //检测目标文件是否存在