[RU]Remanga fix out-of-sync manga in the library and catalog (again) (#12991)

This commit is contained in:
Ejan 2022-08-15 21:53:17 +05:00 committed by GitHub
parent 917b91afc8
commit c6cd3bfb62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Remanga'
pkgNameSuffix = 'ru.remanga'
extClass = '.Remanga'
extVersionCode = 52
extVersionCode = 53
}
dependencies {

View File

@ -432,7 +432,7 @@ class Remanga : ConfigurableSource, HttpSource() {
override fun imageUrlParse(response: Response): String = throw NotImplementedError("Unused")
private fun searchMangaByIdRequest(id: String): Request {
return GET("$baseUrl/api/titles/$id", headers)
return GET("$baseUrl/api/titles/$id/", headers)
}
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> {
@ -442,7 +442,7 @@ class Remanga : ConfigurableSource, HttpSource() {
.asObservableSuccess()
.map { response ->
val details = mangaDetailsParse(response)
details.url = "/api/titles/$realQuery"
details.url = "/api/titles/$realQuery/"
MangasPage(listOf(details), false)
}
} else {