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.

feat: remove rate limit handling for 429 errors in video download function

Tonho9099c28949ea
diff --git a/src-tauri/src/core/ytdlp.rs b/src-tauri/src/core/ytdlp.rs
index c46be222..15c56553 100644
--- a/src-tauri/src/core/ytdlp.rs
+++ b/src-tauri/src/core/ytdlp.rs
@@ -804,10 +804,6 @@ pub async fn download_video(
base_args.push("--sleep-subtitles".to_string());
base_args.push("2".to_string());
- if RATE_LIMIT_429_COUNT.load(Ordering::Relaxed) > 0 {
- base_args.push("--sleep-requests".to_string());
- base_args.push("1".to_string());
- }
}
base_args.extend([