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")
|
id("lib-multisrc")
|
||||||
}
|
}
|
||||||
|
|
||||||
baseVersionCode = 41
|
baseVersionCode = 42
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":lib:cryptoaes"))
|
api(project(":lib:cryptoaes"))
|
||||||
|
@ -245,11 +245,13 @@ abstract class Madara(
|
|||||||
val mangaUrl = baseUrl.toHttpUrl().newBuilder().apply {
|
val mangaUrl = baseUrl.toHttpUrl().newBuilder().apply {
|
||||||
addPathSegment(mangaSubString)
|
addPathSegment(mangaSubString)
|
||||||
addPathSegment(query.substringAfter(URL_SEARCH_PREFIX))
|
addPathSegment(query.substringAfter(URL_SEARCH_PREFIX))
|
||||||
|
addPathSegment("") // add trailing slash
|
||||||
}.build()
|
}.build()
|
||||||
return client.newCall(GET(mangaUrl, headers))
|
return client.newCall(GET(mangaUrl, headers))
|
||||||
.asObservableSuccess().map { response ->
|
.asObservableSuccess().map { response ->
|
||||||
val manga = mangaDetailsParse(response).apply {
|
val manga = mangaDetailsParse(response).apply {
|
||||||
setUrlWithoutDomain(mangaUrl.toString())
|
setUrlWithoutDomain(mangaUrl.toString())
|
||||||
|
initialized = true
|
||||||
}
|
}
|
||||||
|
|
||||||
MangasPage(listOf(manga), false)
|
MangasPage(listOf(manga), false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user