fix Madara deeplink entry not being marked as in library (#8369)
This commit is contained in:
parent
68c6a5a6af
commit
e91a361ad8
@ -2,7 +2,7 @@ plugins {
|
||||
id("lib-multisrc")
|
||||
}
|
||||
|
||||
baseVersionCode = 41
|
||||
baseVersionCode = 42
|
||||
|
||||
dependencies {
|
||||
api(project(":lib:cryptoaes"))
|
||||
|
@ -245,11 +245,13 @@ abstract class Madara(
|
||||
val mangaUrl = baseUrl.toHttpUrl().newBuilder().apply {
|
||||
addPathSegment(mangaSubString)
|
||||
addPathSegment(query.substringAfter(URL_SEARCH_PREFIX))
|
||||
addPathSegment("") // add trailing slash
|
||||
}.build()
|
||||
return client.newCall(GET(mangaUrl, headers))
|
||||
.asObservableSuccess().map { response ->
|
||||
val manga = mangaDetailsParse(response).apply {
|
||||
setUrlWithoutDomain(mangaUrl.toString())
|
||||
initialized = true
|
||||
}
|
||||
|
||||
MangasPage(listOf(manga), false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user