Skip to content

Commit

Permalink
feat: match Twitter x.com URL
Browse files Browse the repository at this point in the history
  • Loading branch information
y-young committed Aug 11, 2023
1 parent 6037c0a commit 557f50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nazurin/sites/twitter/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# https://twitter.com/abcdefg/status/1234567890123456789
# https://www.twitter.com/abcdefg/status/1234567890123456789
# https://mobile.twitter.com/abcdefg/status/1234567890123456789
r"(?:mobile\.|www\.)?twitter\.com/[^.]+/status/(\d+)"
r"(?:mobile\.|www\.)?(?:twitter|x)\.com/[^.]+/status/(\d+)"
]


Expand Down

0 comments on commit 557f50b

Please sign in to comment.