Anitubeinua: fix search
This commit is contained in:
parent
398b7395fa
commit
5d2f3f505f
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ class AnitubeinuaProvider : MainAPI() {
|
||||||
|
|
||||||
override suspend fun search(query: String): List<SearchResponse> {
|
override suspend fun search(query: String): List<SearchResponse> {
|
||||||
val document = app.post(
|
val document = app.post(
|
||||||
url = "$mainUrl",
|
url = mainUrl,
|
||||||
data = mapOf(
|
data = mapOf(
|
||||||
"do" to "search",
|
"do" to "search",
|
||||||
"subaction" to "search",
|
"subaction" to "search",
|
||||||
|
@ -62,7 +62,7 @@ class AnitubeinuaProvider : MainAPI() {
|
||||||
)
|
)
|
||||||
).document
|
).document
|
||||||
|
|
||||||
return document.select("article.short").map {
|
return document.select("article.story").map {
|
||||||
it.toSearchResponse()
|
it.toSearchResponse()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue