[MimiHentai] Add exclude tags support (#1872)

master
Draken 11 months ago committed by GitHub
parent c81628c027
commit d94cf53624
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -50,6 +50,7 @@ internal class MimiHentai(context: MangaLoaderContext) :
isSearchWithFiltersSupported = true,
isMultipleTagsSupported = true,
isAuthorSearchSupported = true,
isTagsExclusionSupported = true,
)
init {
@ -83,6 +84,11 @@ internal class MimiHentai(context: MangaLoaderContext) :
append("&genre=")
append(filter.tags.joinToString(",") { it.key })
}
filter.tagsExclude.isNotEmpty() -> {
append("&ex=")
append(filter.tagsExclude.joinToString(",") { it.key })
}
}
append("&sort=")

Loading…
Cancel
Save