summaryrefslogtreecommitdiff
path: root/twitter.py
diff options
context:
space:
mode:
Diffstat (limited to 'twitter.py')
-rwxr-xr-xtwitter.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/twitter.py b/twitter.py
index 87dfc68..40cd5ac 100755
--- a/twitter.py
+++ b/twitter.py
@@ -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']}"