Mangasee: fix chapter url suffix location (#4027)

Mangasee: fix chapter url suffix location
This commit is contained in:
E3FxGaming 2020-08-06 14:48:50 +02:00 committed by GitHub
parent f372ba8cd7
commit dc5db55a8f
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 = 'Mangasee' extName = 'Mangasee'
pkgNameSuffix = 'en.mangasee' pkgNameSuffix = 'en.mangasee'
extClass = '.Mangasee' extClass = '.Mangasee'
extVersionCode = 11 extVersionCode = 12
libVersion = '1.2' libVersion = '1.2'
} }

View File

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