1、博主签名字符串长度限制
2、仅下载图片时-一直重复下载BUG修复 3、cookie授权界面优化
This commit is contained in:
@@ -646,6 +646,12 @@ namespace dy.net.job
|
||||
}
|
||||
else
|
||||
{
|
||||
//2026-06-16 21:56:40 bug修复 ,之前会一直重复下载这个图片
|
||||
//判断如果文件路径="/" 说明是仅下载图片的记录,不处理,直接跳过也不用删除记录
|
||||
if(exitVideo.VideoUrl=="/"&& exitVideo.IsMergeVideo == 1)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
//文件不存在,直接删掉原始记录
|
||||
await douyinVideoService.DeleteById(exitVideo.Id);
|
||||
}
|
||||
@@ -1212,6 +1218,7 @@ namespace dy.net.job
|
||||
VideoHeight = height > 0 ? height : 1920, // 视频高度
|
||||
};
|
||||
|
||||
|
||||
// 执行图片合成视频操作
|
||||
var mergeResult = await douyinMergeVideoService.MergeToVideo(cookie.Cookies, AppContext.BaseDirectory, reqParams, savePath, fileNamefolder, config.DownImageVideo, config.DownImage, config.DownMp3);
|
||||
if (!mergeResult)
|
||||
@@ -1220,7 +1227,6 @@ namespace dy.net.job
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
// 获取不带扩展名的完整路径
|
||||
//string fullPathWithoutExtension = Path.Combine(Path.GetDirectoryName(savePath),Path.GetFileNameWithoutExtension(savePath) );
|
||||
if (config.DownImageVideo)
|
||||
|
||||
Reference in New Issue
Block a user