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: add GenericYtdlpDownloader as a fallback in the platform registry

Tonhof77fa8689dd6
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index cf446b98..c6968f7d 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -80,6 +80,10 @@ pub fn run() {
telegram_session.clone(),
),
));
+ // Generic yt-dlp fallback — MUST be last so specific downloaders take priority
+ registry.register(Arc::new(
+ platforms::generic_ytdlp::GenericYtdlpDownloader::new(),
+ ));
let mut auth_registry = core::auth::AuthRegistry::new();
auth_registry.register(Arc::new(core::auth::SpotifyAuth::new(