fix chapter url suffix location (#6119)

This commit is contained in:
Seishirou101 2021-03-10 06:55:51 -06:00 committed by GitHub
parent 818eef3cf9
commit 8d253f03e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'MangaLife'
pkgNameSuffix = 'en.mangalife'
extClass = '.MangaLife'
extVersionCode = 11
extVersionCode = 12
libVersion = '1.2'
}

View File

@ -217,7 +217,7 @@ class MangaLife : HttpSource() {
var suffix = ""
val path = e.substring(e.length - 1).toInt()
if (0 != path) { suffix = ".$path" }
return "-chapter-$n$index$suffix.html"
return "-chapter-$n$suffix$index.html"
}
private val chapterImageRegex = Regex("""^0+""")