Skip to content

Commit

Permalink
Add support for .webp image extension (jobobby04#1335)
Browse files Browse the repository at this point in the history
  • Loading branch information
KenjieDec authored and jeryjs committed Dec 10, 2024
1 parent b195001 commit ca12b3c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ class NHentaiSearchMetadata : RaisedSearchMetadata() {

fun typeToExtension(t: String?) =
when (t) {
"w" -> "webp"
"p" -> "png"
"j" -> "jpg"
"g" -> "gif"
Expand Down

0 comments on commit ca12b3c

Please sign in to comment.