Fix readmanga search
This commit is contained in:
@@ -28,7 +28,7 @@ abstract class GroupleRepository(loaderContext: MangaLoaderContext) :
|
||||
val doc = when {
|
||||
!query.isNullOrEmpty() -> loaderContext.httpPost(
|
||||
"https://$domain/search",
|
||||
mapOf("q" to query, "offset" to offset.toString())
|
||||
mapOf("q" to query.urlEncoded(), "offset" to offset.toString())
|
||||
)
|
||||
tag == null -> loaderContext.httpGet(
|
||||
"https://$domain/list?sortType=${getSortKey(
|
||||
|
||||
@@ -5,6 +5,6 @@ import org.koitharu.kotatsu.domain.MangaLoaderContext
|
||||
|
||||
class ReadmangaRepository(loaderContext: MangaLoaderContext) : GroupleRepository(loaderContext) {
|
||||
|
||||
override val defaultDomain = "readmanga.me"
|
||||
override val defaultDomain = "readmanga.live"
|
||||
override val source = MangaSource.READMANGA_RU
|
||||
}
|
||||
Reference in New Issue
Block a user