mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 02:12:42 +01:00
parent
e6431a6fac
commit
a94413af93
@ -3,7 +3,7 @@ ext {
|
||||
extClass = '.MangasNoSekai'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://mangasnosekai.com'
|
||||
overrideVersionCode = 14
|
||||
overrideVersionCode = 15
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -231,6 +231,9 @@ class MangasNoSekai : Madara(
|
||||
do {
|
||||
val xhrRequest = altChapterRequest(url, mangaId, page, objects)
|
||||
val xhrResponse = client.newCall(xhrRequest).execute()
|
||||
if (!xhrResponse.isSuccessful) {
|
||||
throw Exception("HTTP ${xhrResponse.code}: Intente iniciar sesión en WebView")
|
||||
}
|
||||
val xhrBody = xhrResponse.body.string()
|
||||
if (xhrBody.startsWith("{")) {
|
||||
return chaptersFromJson(xhrBody, mangaSlug)
|
||||
|
Loading…
Reference in New Issue
Block a user