Add webp support
This commit is contained in:
parent
acea5d26df
commit
9f0afd6ae8
|
@ -418,7 +418,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nhentairs"
|
||||
version = "0.6.0"
|
||||
version = "0.6.1"
|
||||
dependencies = [
|
||||
"quick-xml",
|
||||
"reqwest",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "nhentairs"
|
||||
version = "0.6.0"
|
||||
version = "0.6.1"
|
||||
authors = ["blank X <theblankx@protonmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@ pub async fn run(args: env::Args) {
|
|||
"j" => ".jpg",
|
||||
"p" => ".png",
|
||||
"g" => ".gif",
|
||||
"w" => ".webp",
|
||||
_ => panic!("Unknown extension type: {}", page.t),
|
||||
};
|
||||
let mut file_name = page_num.to_string();
|
||||
|
|
Loading…
Reference in New Issue