From 08f26dd21d69c705d30d97d76365bd0d9b3eefeb Mon Sep 17 00:00:00 2001 From: TheyCallMeTravis <130942749+TheyCallMeTravis@users.noreply.github.com> Date: Fri, 14 Mar 2025 21:18:51 -0500 Subject: [PATCH] add referer to DownloadChapterImages --- Tranga/MangaConnectors/WeebCentral.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tranga/MangaConnectors/WeebCentral.cs b/Tranga/MangaConnectors/WeebCentral.cs index 1ed1438..6dd82fd 100644 --- a/Tranga/MangaConnectors/WeebCentral.cs +++ b/Tranga/MangaConnectors/WeebCentral.cs @@ -210,6 +210,6 @@ public class Weebcentral : MangaConnector document.DocumentNode.SelectNodes($"//section[@hx-get='{chapter.url}/images']/img")?.ToArray() ?? []; string[] urls = imageNodes.Select(imgNode => imgNode.GetAttributeValue("src", "")).ToArray(); - return DownloadChapterImages(urls, chapter, RequestType.MangaImage, progressToken: progressToken); + return DownloadChapterImages(urls, chapter, RequestType.MangaImage, progressToken: progressToken, referrer: "https://weebcentral.com/"); } -} \ No newline at end of file +}