Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

fix: use cached ytdlp path in download_from_url function

Tonho35e57b4fb0e2
diff --git a/src-tauri/src/commands/downloads.rs b/src-tauri/src/commands/downloads.rs
index a87f3ac7..893c6ce5 100644
--- a/src-tauri/src/commands/downloads.rs
+++ b/src-tauri/src/commands/downloads.rs
@@ -117,7 +117,7 @@ pub async fn download_from_url(
.map(|p| p.to_string())
.unwrap_or_else(|| "generic".to_string());
let title = url.clone();
- let ytdlp_path = ytdlp::find_ytdlp().await;
+ let ytdlp_path = ytdlp::find_ytdlp_cached().await;
{
let mut q = download_queue.lock().await;