feat(de/aniworld,serienstream)remove login need (#1993)
This commit is contained in:
@ -6,7 +6,7 @@ ext {
|
||||
extName = 'AniWorld (experimental)'
|
||||
pkgNameSuffix = 'de.aniworld'
|
||||
extClass = '.AniWorld'
|
||||
extVersionCode = 15
|
||||
extVersionCode = 16
|
||||
libVersion = '13'
|
||||
}
|
||||
|
||||
|
@ -30,11 +30,13 @@ class AniWorldInterceptor(private val client: OkHttpClient, private val preferen
|
||||
}
|
||||
|
||||
val newCookie = getNewCookie(originalRequest.url)
|
||||
?: throw Exception("Bitte im Browser oder in den Erweiterungs-Einstellungen einloggen.")
|
||||
// ?: throw Exception("Bitte im Browser oder in den Erweiterungs-Einstellungen einloggen.")
|
||||
val newCookieHeader = buildString {
|
||||
(oldCookie + newCookie).forEachIndexed { index, cookie ->
|
||||
if (index > 0) append("; ")
|
||||
append(cookie.name).append('=').append(cookie.value)
|
||||
if (cookie != null) {
|
||||
append(cookie.name).append('=').append(cookie.value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@ ext {
|
||||
extName = 'Serienstream'
|
||||
pkgNameSuffix = 'de.serienstream'
|
||||
extClass = '.Serienstream'
|
||||
extVersionCode = 10
|
||||
extVersionCode = 11
|
||||
libVersion = '13'
|
||||
}
|
||||
|
||||
|
@ -30,11 +30,13 @@ class SerienstreamInterceptor(private val client: OkHttpClient, private val pref
|
||||
}
|
||||
|
||||
val newCookie = getNewCookie(originalRequest.url)
|
||||
?: throw Exception("Bitte im Browser oder in den Erweiterungs-Einstellungen einloggen.")
|
||||
//?: throw Exception("Bitte im Browser oder in den Erweiterungs-Einstellungen einloggen.")
|
||||
val newCookieHeader = buildString {
|
||||
(oldCookie + newCookie).forEachIndexed { index, cookie ->
|
||||
if (index > 0) append("; ")
|
||||
append(cookie.name).append('=').append(cookie.value)
|
||||
if (cookie != null) {
|
||||
append(cookie.name).append('=').append(cookie.value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user