mirror of
https://github.com/kristoferssolo/tg-relay-rs.git
synced 2025-12-20 11:04:41 +00:00
feat(twitter): add x url
This commit is contained in:
parent
9e80eebde0
commit
da38ec8d69
@ -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!(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user