From 41767d119561ae6cd9d1b9c75bbfd299d25c468f Mon Sep 17 00:00:00 2001 From: Megghy Date: Fri, 28 Feb 2025 19:56:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=8D=E4=BD=8Epixiv=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MegghysAPI.csproj | 14 +++++++------- Modules/PixivFavoriteDownloader.cs | 4 ++++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/MegghysAPI.csproj b/MegghysAPI.csproj index 7972e42..6babec2 100644 --- a/MegghysAPI.csproj +++ b/MegghysAPI.csproj @@ -1,17 +1,17 @@ - + net9.0 - disable + annotations enable - - - - - + + + + + diff --git a/Modules/PixivFavoriteDownloader.cs b/Modules/PixivFavoriteDownloader.cs index 1bb14e4..7aaa069 100644 --- a/Modules/PixivFavoriteDownloader.cs +++ b/Modules/PixivFavoriteDownloader.cs @@ -57,6 +57,10 @@ namespace MegghysAPI.Modules .ExecuteAffrows(); Logs.Success($"[{Favorites.Count}] 发现新增收藏: {Favorites.Last().Title}, 类型: {Favorites.Last().Restrict}"); } + else + { + return; // 不存在更新的了 + } }); var next = (string)json["next_url"]; if (next is null)