我最近遇到了与您相同的问题,这仅发生在转发上,我发现您可以在此处找到全文:
tweet._json['retweeted_status']['full_text']
程式码片段:
...search_tweets = api.search('trump',count=1,tweet_mode='extended')for tweet in search_tweets: if 'retweeted_status' in tweet._json: print(tweet._json['retweeted_status']['full_text']) else: print(tweet.full_text)...编辑 也请注意,这不会显示
RT @....在文本的开头,您可能想在文本的开头添加
RT任何适合您的内容。
编辑2 您可以获取鸣叫作者的姓名,并将其添加为以下内容的开头
retweet_text = 'RT @ ' + api.get_user(tweet.retweeted_status.user.id_str).screen_name



