diff --git a/Cargo.lock b/Cargo.lock index 272e840..11a7170 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -418,7 +418,7 @@ dependencies = [ [[package]] name = "nhentairs" -version = "0.6.0" +version = "0.6.1" dependencies = [ "quick-xml", "reqwest", diff --git a/Cargo.toml b/Cargo.toml index 4986230..e6eb13d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nhentairs" -version = "0.6.0" +version = "0.6.1" authors = ["blank X "] edition = "2018" diff --git a/src/commands/download.rs b/src/commands/download.rs index f85eed4..c43f496 100644 --- a/src/commands/download.rs +++ b/src/commands/download.rs @@ -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();