Fix libmanga chapters page parse (#3501)
* Fix libmanga chapters page parse * Bump libmanga version Co-authored-by: pavkazzz <me@pavkazzz.ru>
This commit is contained in:
parent
8eacce0ca3
commit
a45c879f2c
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: MangaLib'
|
appName = 'Tachiyomi: MangaLib'
|
||||||
pkgNameSuffix = 'ru.libmanga'
|
pkgNameSuffix = 'ru.libmanga'
|
||||||
extClass = '.LibManga'
|
extClass = '.LibManga'
|
||||||
extVersionCode = 18
|
extVersionCode = 19
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -257,7 +257,8 @@ class LibManga : ConfigurableSource, HttpSource() {
|
||||||
.html()
|
.html()
|
||||||
.trim()
|
.trim()
|
||||||
.removePrefix("window.__info = ")
|
.removePrefix("window.__info = ")
|
||||||
.removeSuffix(";")
|
.split(";")
|
||||||
|
.first()
|
||||||
|
|
||||||
val chapInfoJson = jsonParser.parse(chapInfo).obj
|
val chapInfoJson = jsonParser.parse(chapInfo).obj
|
||||||
val servers = chapInfoJson["servers"].asJsonObject
|
val servers = chapInfoJson["servers"].asJsonObject
|
||||||
|
|
Loading…
Reference in New Issue