From 765647cf5ffb3a01a39c78086a7877240b36626b Mon Sep 17 00:00:00 2001 From: AntsyLich <59261191+AntsyLich@users.noreply.github.com> Date: Sat, 1 Oct 2022 18:03:31 +0600 Subject: [PATCH] 9Hentai: Fix download page number broken (#13668) --- src/en/ninehentai/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/en/ninehentai/NineHentai.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/en/ninehentai/build.gradle b/src/en/ninehentai/build.gradle index 59197986f..5ddedce94 100644 --- a/src/en/ninehentai/build.gradle +++ b/src/en/ninehentai/build.gradle @@ -6,7 +6,7 @@ ext { extName = 'NineHentai' pkgNameSuffix = 'en.ninehentai' extClass = '.NineHentai' - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } diff --git a/src/en/ninehentai/src/eu/kanade/tachiyomi/extension/en/ninehentai/NineHentai.kt b/src/en/ninehentai/src/eu/kanade/tachiyomi/extension/en/ninehentai/NineHentai.kt index f1191754b..b499aea43 100644 --- a/src/en/ninehentai/src/eu/kanade/tachiyomi/extension/en/ninehentai/NineHentai.kt +++ b/src/en/ninehentai/src/eu/kanade/tachiyomi/extension/en/ninehentai/NineHentai.kt @@ -282,7 +282,7 @@ class NineHentai : HttpSource() { } return (1..totalPages).map { - Page(it, "", "$imageUrl/$it.jpg") + Page(it - 1, "", "$imageUrl/$it.jpg") } }