diff --git a/src/BlueCatKoKo.Ui/BlueCatKoKo.Ui.csproj b/src/BlueCatKoKo.Ui/BlueCatKoKo.Ui.csproj index 8f8c4f6..9b47a68 100644 --- a/src/BlueCatKoKo.Ui/BlueCatKoKo.Ui.csproj +++ b/src/BlueCatKoKo.Ui/BlueCatKoKo.Ui.csproj @@ -8,7 +8,7 @@ applicationIcon.ico AnyCPU;x64 BlueCatKoKo - 1.3.0.1 + 1.4.0 true false @@ -58,7 +58,7 @@ - + diff --git a/src/BlueCatKoKo.Ui/ViewModels/Pages/HomeViewModel.cs b/src/BlueCatKoKo.Ui/ViewModels/Pages/HomeViewModel.cs index 156ed7d..0cca062 100644 --- a/src/BlueCatKoKo.Ui/ViewModels/Pages/HomeViewModel.cs +++ b/src/BlueCatKoKo.Ui/ViewModels/Pages/HomeViewModel.cs @@ -181,13 +181,13 @@ private async Task DownloadAll() throw new InvalidDataException("无效的下载链接"); } - var filename = _appConfig.Value.DownloadPath + Data.VideoId + ".mp4"; + var filename = _appConfig.Value.DownloadPath + Data.Desc + ".mp4"; switch (Data.Platform) { case ShortVideoPlatformEnum.DouYin: await _douYinShortVideoService.DownloadAsync(Data.VideoUrl, _appConfig.Value.DownloadPath, - Data.VideoId + ".mp4", + Data.Desc + ".mp4", (sender, e) => { DownloadProcess = e.ProgressPercentage; @@ -199,7 +199,7 @@ await _douYinShortVideoService.DownloadAsync(Data.VideoUrl, _appConfig.Value.Dow break; case ShortVideoPlatformEnum.KuaiShou: await _kuaiShortVideoService.DownloadAsync(Data.VideoUrl, _appConfig.Value.DownloadPath, - Data.VideoId + ".mp4", + Data.Desc + ".mp4", (sender, e) => { DownloadProcess = e.ProgressPercentage; diff --git a/src/BlueCatKoKo.Ui/Views/Pages/HomePage.xaml b/src/BlueCatKoKo.Ui/Views/Pages/HomePage.xaml index 82641cb..22b672f 100644 --- a/src/BlueCatKoKo.Ui/Views/Pages/HomePage.xaml +++ b/src/BlueCatKoKo.Ui/Views/Pages/HomePage.xaml @@ -21,7 +21,7 @@