diff --git a/BBDown/Program.cs b/BBDown/Program.cs index 07ee5196f..bfaee78e1 100644 --- a/BBDown/Program.cs +++ b/BBDown/Program.cs @@ -514,7 +514,7 @@ private static async Task DoWorkAsync(MyOption myOption) await SubUtil.SaveSubtitleAsync(s.url, s.path); if (subOnly && File.Exists(s.path) && File.ReadAllText(s.path) != "") { - var _outSubPath = FormatSavePath(savePathFormat, title, null, null, p, pagesCount); + var _outSubPath = FormatSavePath(savePathFormat, title, null, null, p, pagesCount, tvApi, appApi, intlApi); if (_outSubPath.Contains('/')) { if (!Directory.Exists(_outSubPath.Split('/').First())) @@ -663,7 +663,7 @@ private static async Task DoWorkAsync(MyOption myOption) } LogDebug("Format Before: " + savePathFormat); - savePath = FormatSavePath(savePathFormat, title, videoTracks.ElementAtOrDefault(vIndex), audioTracks.ElementAtOrDefault(aIndex), p, pagesCount); + savePath = FormatSavePath(savePathFormat, title, videoTracks.ElementAtOrDefault(vIndex), audioTracks.ElementAtOrDefault(aIndex), p, pagesCount, tvApi, appApi, intlApi); LogDebug("Format After: " + savePath); if (downloadDanmaku) @@ -818,7 +818,7 @@ private static async Task DoWorkAsync(MyOption myOption) } } if (infoMode) continue; - savePath = FormatSavePath(savePathFormat, title, videoTracks.ElementAtOrDefault(vIndex), null, p, pagesCount); + savePath = FormatSavePath(savePathFormat, title, videoTracks.ElementAtOrDefault(vIndex), null, p, pagesCount, tvApi, appApi, intlApi); if (File.Exists(savePath) && new FileInfo(savePath).Length != 0) { Log($"{savePath}已存在, 跳过下载..."); @@ -954,7 +954,7 @@ private static List