add referer to DownloadChapterImages

This commit is contained in:
TheyCallMeTravis 2025-03-14 21:18:51 -05:00 committed by GitHub
parent b00b0ee030
commit 08f26dd21d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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/");
}
}