diff --git a/src/handler.rs b/src/handler.rs index fe641b1..54a2abd 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -82,7 +82,7 @@ pub fn create_handlers() -> Arc<[Handler]> { ), handler!( "twitter", - r"https?://(?:www\.)?twitter\.com/([A-Za-z0-9_]+(?:/[A-Za-z0-9_]+)?)/status/(\d{1,20})", + r"https?://(?:www\.)?(?:twitter\.com|x\.com)/([A-Za-z0-9_]+(?:/[A-Za-z0-9_]+)?)/status/(\d{1,20})", crate::download::download_twitter ), handler!(