From 052163084b708cb984d570772394a0c1c5be2ffe Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Wed, 17 Dec 2025 17:24:22 +0800 Subject: [PATCH] change to x.com in url template --- utils/tweet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/tweet.py b/utils/tweet.py index 83bc45d..93a4a83 100644 --- a/utils/tweet.py +++ b/utils/tweet.py @@ -84,7 +84,7 @@ class Tweet: @cached_property def url(self) -> str: - return f"https://twitter.com/{self._author_id}/status/{self._id}" + return f"https://x.com/{self._author_id}/status/{self._id}" @property def author(self) -> str: @@ -92,7 +92,7 @@ class Tweet: @cached_property def author_url(self) -> str: - return f"https://twitter.com/{self._author_id}" + return f"https://x.com/{self._author_id}" @property def text(self) -> str: