[MimiHentai] Add exclude tags support (#1872)
This commit is contained in:
@@ -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=")
|
||||
|
||||
Reference in New Issue
Block a user