mirror of
https://github.com/C9Glax/tranga.git
synced 2025-04-16 21:33:18 +02:00
add referer to DownloadChapterImages
This commit is contained in:
parent
b00b0ee030
commit
08f26dd21d
@ -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/");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user