diff --git a/Tranga/Connectors/MangaDex.cs b/Tranga/Connectors/MangaDex.cs index f34169d..234f79c 100644 --- a/Tranga/Connectors/MangaDex.cs +++ b/Tranga/Connectors/MangaDex.cs @@ -22,6 +22,7 @@ public class MangaDex : Connector HashSet publications = new(); while (offset < total) { + offset += limit; DownloadClient.RequestResult requestResult = _downloadClient.GetPage(string.Concat(publicationsUrl, "0")); JsonObject? result = JsonSerializer.Deserialize(requestResult.result); if (result is null) @@ -96,7 +97,6 @@ public class MangaDex : Connector ); publications.Add(pub); } - offset += limit; } return publications.ToArray();