NineManga: Fix not showing all pages (#16666)

Load only 1 image per page
This commit is contained in:
Rolando Lecca 2023-06-06 04:18:39 -05:00 committed by GitHub
parent b34dfcfa38
commit d2a92d7d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'NineManga' extName = 'NineManga'
pkgNameSuffix = "all.ninemanga" pkgNameSuffix = "all.ninemanga"
extClass = '.NineMangaFactory' extClass = '.NineMangaFactory'
extVersionCode = 17 extVersionCode = 18
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -83,6 +83,7 @@ open class NineManga(
element.select("a.chapter_list_a").let { element.select("a.chapter_list_a").let {
name = it.text().replace(mangaTitleForCleaning, "", true) name = it.text().replace(mangaTitleForCleaning, "", true)
url = it.attr("href").substringAfter(baseUrl).replace("%20", " ") url = it.attr("href").substringAfter(baseUrl).replace("%20", " ")
.substringBeforeLast(".html") + "-1-1.html"
} }
date_upload = parseChapterDate(element.select("span").text()) date_upload = parseChapterDate(element.select("span").text())
} }