[Ru]Mangahub. Update page list selector name (#5325)

Co-authored-by: pavkazzz <me@pavkazzz.ru>
This commit is contained in:
Pavka 2021-01-06 00:20:49 +03:00 committed by GitHub
parent 91963858bf
commit c8a8f7d99b
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 = 'Mangahub' extName = 'Mangahub'
pkgNameSuffix = 'ru.mangahub' pkgNameSuffix = 'ru.mangahub'
extClass = '.Mangahub' extClass = '.Mangahub'
extVersionCode = 8 extVersionCode = 9
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -114,7 +114,7 @@ open class Mangahub : ParsedHttpSource() {
} }
override fun pageListParse(document: Document): List<Page> { override fun pageListParse(document: Document): List<Page> {
val chapInfo = document.select("reader").attr("data-reader-store").replace("&quot;", "\"").replace("\\/", "/") val chapInfo = document.select("reader").attr("data-store").replace("&quot;", "\"").replace("\\/", "/")
val chapter = jsonParser.parse(chapInfo).asJsonObject val chapter = jsonParser.parse(chapInfo).asJsonObject
val scans = chapter["scans"].asJsonArray val scans = chapter["scans"].asJsonArray