From eeab755b9fb4f1ed83021ad322b01e8413fbac87 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Tue, 21 Jun 2022 23:21:34 +0000 Subject: [PATCH] add detect for manga illust(But do nothing special for this type) --- src/download.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/download.rs b/src/download.rs index f6b0a95..d109579 100644 --- a/src/download.rs +++ b/src/download.rs @@ -189,7 +189,8 @@ impl Main { if illust_type.is_some() { let illust_type = illust_type.unwrap(); match illust_type { - 0 => {} + 0 => {} // Normal illust + 1 => {} // Manga illust 2 => { let ugoira_data = pw .get_ugoira(id)