mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
parent
890ce5ee23
commit
51a49a8dc6
1 changed files with 7 additions and 0 deletions
|
@ -145,6 +145,13 @@ class MangaUpdatesApi(
|
||||||
suspend fun search(query: String): List<Record> {
|
suspend fun search(query: String): List<Record> {
|
||||||
val body = buildJsonObject {
|
val body = buildJsonObject {
|
||||||
put("search", query)
|
put("search", query)
|
||||||
|
put(
|
||||||
|
"filter_types",
|
||||||
|
buildJsonArray {
|
||||||
|
add("drama cd")
|
||||||
|
add("novel")
|
||||||
|
},
|
||||||
|
)
|
||||||
}
|
}
|
||||||
return client.newCall(
|
return client.newCall(
|
||||||
POST(
|
POST(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue