From 8af8171330808baff4210b002c005f5d381fd506 Mon Sep 17 00:00:00 2001 From: glax <--local> Date: Thu, 18 May 2023 17:42:26 +0200 Subject: [PATCH] fixed wrong url issue on image download --- Tranga/Connectors/MangaDex.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/Connectors/MangaDex.cs b/Tranga/Connectors/MangaDex.cs index 8d5e52b..078b23c 100644 --- a/Tranga/Connectors/MangaDex.cs +++ b/Tranga/Connectors/MangaDex.cs @@ -167,7 +167,7 @@ public class MangaDex : Connector JsonArray imageFileNames = result["chapter"]!["data"]!.AsArray(); HashSet imageUrls = new(); foreach (JsonNode image in imageFileNames) - imageUrls.Add($"{baseUrl}/{hash}/{image!.GetValue()}"); + imageUrls.Add($"{baseUrl}/data/{hash}/{image!.GetValue()}"); string fileName = string.Concat(publication.sortName.Split(Path.GetInvalidFileNameChars()));