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)