Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
feat: remove YouTube and Facebook platform support from URL matching
Tonho66c2c3426280
diff --git a/src-tauri/src/platforms/mod.rs b/src-tauri/src/platforms/mod.rsindex 43bb67c3..91b3a152 100644--- a/src-tauri/src/platforms/mod.rs+++ b/src-tauri/src/platforms/mod.rs@@ -80,8 +80,6 @@ impl Platform {if matches("hotmart.com") {Some(Platform::Hotmart)- } else if matches("youtube.com") || matches("youtu.be") {- Some(Platform::YouTube)} else if matches("instagram.com") || matches("ddinstagram.com") {Some(Platform::Instagram)} else if matches("tiktok.com") {@@ -90,8 +88,6 @@ impl Platform {Some(Platform::Twitter)} else if matches("reddit.com") || host == "v.redd.it" || host == "redd.it" {Some(Platform::Reddit)- } else if matches("facebook.com") || matches("fb.watch") || matches("fb.com") {- Some(Platform::Facebook)} else if matches("twitch.tv") {Some(Platform::Twitch)} else if matches("vimeo.com") {