diff options
-rwxr-xr-x | twitter.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -141,7 +141,9 @@ def parse_tweet(user, tweet, included_tweets, included_media): title, description, ref_tweet.get("entities", {}).get("urls", []) ) elif rt["type"] == "replied_to": - description += f"<br/><br/>This was a reply to {rt['id']}" + description += "<br/>This was a reply to:<br/>" + rt["id"] + elif rt["type"] == "quoted": + description += '<br/>Quoted tweet:<br/>' + rt["text"] else: description += f"<br/><br/>Unknown reference type: {rt['type']}" |