9Hentai: Fix download page number broken (#13668)

This commit is contained in:
AntsyLich 2022-10-01 18:03:31 +06:00 committed by GitHub
parent d699789730
commit 765647cf5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'NineHentai'
pkgNameSuffix = 'en.ninehentai'
extClass = '.NineHentai'
extVersionCode = 1
extVersionCode = 2
isNsfw = true
}

View File

@ -282,7 +282,7 @@ class NineHentai : HttpSource() {
}
return (1..totalPages).map {
Page(it, "", "$imageUrl/$it.jpg")
Page(it - 1, "", "$imageUrl/$it.jpg")
}
}