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: update Twitter platform detection to include additional domains

Tonho0d264cc94488
diff --git a/src-tauri/src/platforms/mod.rs b/src-tauri/src/platforms/mod.rs
index fedb0622..dfa23436 100644
--- a/src-tauri/src/platforms/mod.rs
+++ b/src-tauri/src/platforms/mod.rs
@@ -2,6 +2,7 @@ pub mod traits;
pub mod hotmart;
pub mod pinterest;
pub mod tiktok;
+pub mod twitter;
pub mod twitch;
pub mod bluesky;
pub mod reddit;
@@ -84,7 +85,7 @@ impl Platform {
Some(Platform::Instagram)
} else if matches("tiktok.com") {
Some(Platform::TikTok)
- } else if matches("twitter.com") || matches("x.com") {
+ } else if matches("twitter.com") || matches("x.com") || matches("vxtwitter.com") || matches("fixvx.com") {
Some(Platform::Twitter)
} else if matches("reddit.com") || host == "v.redd.it" || host == "redd.it" {
Some(Platform::Reddit)