diff --git a/ehentai.js b/ehentai.js index 5b4be4b..61becb1 100644 --- a/ehentai.js +++ b/ehentai.js @@ -7,7 +7,7 @@ class Ehentai extends ComicSource { // unique id of the source key = "ehentai" - version = "1.1.2" + version = "1.1.3" minAppVersion = "1.0.0" @@ -409,7 +409,7 @@ class Ehentai extends ComicSource { * @returns {Promise<{comics: Comic[], maxPage: number}>} */ load: async (option, page) => { - let res = await this.getGalleries(`https://e-hentai.org/toplist.php?tl=${option}&=${page}`, true); + let res = await this.getGalleries(`https://e-hentai.org/toplist.php?tl=${option}&p=${page-1}`, true); let comics = res.comics if(this.loadSetting('domain') === 'exhentai.org') { comics.forEach((e) => { diff --git a/index.json b/index.json index b37d82a..762930c 100644 --- a/index.json +++ b/index.json @@ -39,7 +39,7 @@ "name": "ehentai", "fileName": "ehentai.js", "key": "ehentai", - "version": "1.1.2" + "version": "1.1.3" }, { "name": "禁漫天堂",