mirror of
https://github.com/kristoferssolo/tg-relay-rs.git
synced 2026-02-04 06:42:09 +00:00
feat(twitter): add x url
This commit is contained in:
@@ -82,7 +82,7 @@ pub fn create_handlers() -> Arc<[Handler]> {
|
|||||||
),
|
),
|
||||||
handler!(
|
handler!(
|
||||||
"twitter",
|
"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
|
crate::download::download_twitter
|
||||||
),
|
),
|
||||||
handler!(
|
handler!(
|
||||||
|
|||||||
Reference in New Issue
Block a user