From 83f31a4360d5ff197b0154de3c8f73ae185f632f Mon Sep 17 00:00:00 2001 From: Henrik <22085664+henrik9999@users.noreply.github.com> Date: Wed, 11 Jan 2023 06:02:28 -0500 Subject: [PATCH] Filter mangaupdates search --- .../tachiyomi/data/track/mangaupdates/MangaUpdatesApi.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/mangaupdates/MangaUpdatesApi.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/mangaupdates/MangaUpdatesApi.kt index 68d7d5de36..8d43c00db3 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/mangaupdates/MangaUpdatesApi.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/mangaupdates/MangaUpdatesApi.kt @@ -149,6 +149,13 @@ class MangaUpdatesApi( suspend fun search(query: String, manga: Manga, wasPreviouslyTracked: Boolean): List { val body = buildJsonObject { put("search", query) + put( + "filter_types", + buildJsonArray { + add("drama cd") + add("novel") + }, + ) } return client.newCall( POST(