Skip to content

Commit

Permalink
Filter mangaupdates search
Browse files Browse the repository at this point in the history
  • Loading branch information
henrik9999 authored and nonproto committed Jan 11, 2023
1 parent 6197028 commit 83f31a4
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ class MangaUpdatesApi(
suspend fun search(query: String, manga: Manga, wasPreviouslyTracked: Boolean): List<Record> {
val body = buildJsonObject {
put("search", query)
put(
"filter_types",
buildJsonArray {
add("drama cd")
add("novel")
},
)
}
return client.newCall(
POST(
Expand Down

0 comments on commit 83f31a4

Please sign in to comment.