fix ranking page

This commit is contained in:
nyne
2024-10-27 16:53:59 +08:00
parent f5eb23dde6
commit 6cd3759dbe

View File

@@ -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,