Skip to content

Commit

Permalink
Add support for .webp image extension
Browse files Browse the repository at this point in the history
  • Loading branch information
KenjieDec authored Nov 30, 2024
1 parent 26cfb48 commit dac319d
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 dac319d

Please sign in to comment.