From 6cd3759dbe7e39e0876354650098c4b272428f77 Mon Sep 17 00:00:00 2001 From: nyne Date: Sun, 27 Oct 2024 16:53:59 +0800 Subject: [PATCH] fix ranking page --- ehentai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ehentai.js b/ehentai.js index d157b47..60748e6 100644 --- a/ehentai.js +++ b/ehentai.js @@ -385,7 +385,7 @@ class Ehentai extends ComicSource { * @returns {Promise<{comics: Comic[], maxPage: number}>} */ load: async (option, page) => { - let res = await this.getGalleries(`${this.baseUrl}/toplist.php?tl=${option}&=${page}`, true); + let res = await this.getGalleries(`https://e-hentai.org/toplist.php?tl=${option}&=${page}`, true); return { comics: res.comics, maxPage: 200,