小优化

This commit is contained in:
jianzhichu
2025-12-01 17:15:16 +08:00
parent b6b915b0c5
commit 13dfe09d93
6 changed files with 9 additions and 26 deletions
+2 -2
View File
@@ -418,7 +418,7 @@ namespace dy.net.job
{
if (File.Exists(exitVideo.VideoSavePath))
{
Log.Debug($"视频-{exitVideo.AwemeId}-[{exitVideo.VideoTitle}]已存在,跳过");
//Log.Debug($"视频-{exitVideo.AwemeId}-[{exitVideo.VideoTitle}]已存在,跳过");
continue;// 已存在则跳过
}
}
@@ -483,7 +483,7 @@ namespace dy.net.job
// 如果文件已存在,跳过
if (File.Exists(savePath))
{
Log.Debug($"{JobType}-视频[{DouyinFileNameHelper.SanitizePath(item.Desc)}]已存在,跳过下载.");
//Log.Debug($"{JobType}-视频[{DouyinFileNameHelper.SanitizePath(item.Desc)}]已存在,跳过下载.");
return null;
}