From dcca071905ad5cd0c16b489b4a45e57f13a6e523 Mon Sep 17 00:00:00 2001 From: Dinesh Solanki <15937452+dineshsolanki@users.noreply.github.com> Date: Tue, 3 Sep 2024 19:37:58 +0530 Subject: [PATCH] Change browse/newest endpoint to browse/home as the first one is removed by DeviantArt in revision 20240701 --- FoliCon/Modules/DeviantArt/DArt.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FoliCon/Modules/DeviantArt/DArt.cs b/FoliCon/Modules/DeviantArt/DArt.cs index 64506d8..28f9d3d 100644 --- a/FoliCon/Modules/DeviantArt/DArt.cs +++ b/FoliCon/Modules/DeviantArt/DArt.cs @@ -180,7 +180,7 @@ private string GetTokenApiUrl() private string GetBrowseApiUrl(string query, int offset) { - return $"https://www.deviantart.com/api/v1/oauth2/browse/newest?timerange=alltime&offset={offset}&q={query} folder icon&limit=20&access_token={ClientAccessToken}"; + return $"https://www.deviantart.com/api/v1/oauth2/browse/home?offset={offset}&q={query} folder icon&limit=20&access_token={ClientAccessToken}"; } private string GetDownloadApiUrl(string deviationId)