mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-23 23:32:05 +00:00
change to x.com in url template
This commit is contained in:
+2
-2
@@ -84,7 +84,7 @@ class Tweet:
|
|||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def url(self) -> str:
|
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
|
@property
|
||||||
def author(self) -> str:
|
def author(self) -> str:
|
||||||
@@ -92,7 +92,7 @@ class Tweet:
|
|||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def author_url(self) -> str:
|
def author_url(self) -> str:
|
||||||
return f"https://twitter.com/{self._author_id}"
|
return f"https://x.com/{self._author_id}"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def text(self) -> str:
|
def text(self) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user