diff --git a/Cargo.toml b/Cargo.toml index ac0ae02..53b444a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = ["ibdl-common", "ibdl-core", "ibdl-extractors"] [package] name = "imageboard_downloader" authors = ["Ferrah Aiko Wolf "] -version = "1.5.0" +version = "1.5.1" edition = "2021" description = "Cli utility to bulk download images from popular imageboard sites (Boorus) using their APIs" license = "MIT" diff --git a/src/async_path.rs b/src/async_path.rs index 748b269..a73abe7 100644 --- a/src/async_path.rs +++ b/src/async_path.rs @@ -43,7 +43,9 @@ pub async fn async_path(args: &Cli) -> Result<()> { let asd = qw.setup_async_downloader(dirname, POST_COUNTER.clone(), channel_rx, length_channel); - let (Ok(removed), Ok(results)) = join!(ext, asd) else {bail!("Failed starting threads!")}; + let (Ok(removed), Ok(results)) = join!(ext, asd) else { + bail!("Failed starting threads!") + }; print_results(results?, removed?); @@ -99,6 +101,10 @@ async fn search_args_async( unit.force_extension(ext); } + if args.pool_id.is_some() { + unit.setup_pool_download(args.pool_id) + } + let client = unit.client(); let ext_thd =