parent
29624cca71
commit
6617b33598
|
@ -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