File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ def parse_tweet(tweet: dict, update_tweet_id: bool = False):
69
69
is_long_tweet = False
70
70
71
71
## TODO: split the below logic up into functions
72
+ print (tweet )
73
+ print ()
72
74
73
75
# To be able to get the tweet and the reply
74
76
if "items" in tweet .keys ():
@@ -210,8 +212,8 @@ def parse_tweet(tweet: dict, update_tweet_id: bool = False):
210
212
211
213
if retweeted_status_result and replied_tweet :
212
214
e_title = f"{ util .vars .custom_emojis ['retweet' ]} { user_name } retweeted { r_user_name } "
213
- # Remove the "RT @username: " from the text
214
- text = re . sub ( r"^RT @\w+: " , "" , text )
215
+ # Use the full retweeted text (otherwise the tweet text is cut off)
216
+ text = r_text
215
217
216
218
media += r_media
217
219
media_types += r_media_types
You can’t perform that action at this time.
0 commit comments