Crates.io | idm-rs |
lib.rs | idm-rs |
version | 0.1.0 |
source | src |
created_at | 2023-01-16 15:13:10.632377 |
updated_at | 2023-01-16 15:13:10.632377 |
description | A simple IDM CLI crate to download files with Internet Download Manager. |
homepage | |
repository | |
max_upload_size | |
id | 760222 |
size | 5,125 |
idm-rs is a crate to download files with Internet Download Manager.
Internet Download Manager installed on your system.
Example usage:
use idm_rs::idman;
use std::env;
let mut downloader = idman::new();
downloader.set_download_file_url("https://www.tonec.com/download/idman317.exe");
downloader.set_download_file_name("Internet Download Manager.exe");
downloader.set_download_file_path(&env::current_dir().unwrap().as_path());
downloader.set_mode(idm_rs::Mode::Silent);
downloader.run();