diff --git a/src/main.rs b/src/main.rs index a080236..e1b6164 100644 --- a/src/main.rs +++ b/src/main.rs @@ -175,7 +175,7 @@ async fn execute_get_media(args: Args, bulk: u16, debug: bool) -> bool { if debug { eprintln!("[DEBUG {download_url}] No filename specified, generating random filename ...") }; let mut hasher = std::hash::DefaultHasher::new(); download_url.hash(&mut hasher); - let mut hash = hasher.finish().to_string(); + let mut hash = format!("{:x}", hasher.finish()); if args.c_twitter_gif { hash.push_str(".gif"); } else {