twintproject / twint

An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
MIT License
15.65k stars 2.72k forks source link

How to get the whole content of someone's one tweet? #951

Closed helloqwerasdf closed 3 years ago

helloqwerasdf commented 3 years ago

Hi, I have a problem with getting whole content of one tweet. Part of my codes is below:

tweets  = snscrape.modules.twitter.TwitterProfileScraper(username = username)
for i in tweets.get_items():
      tweet_content = i.content

The result of my code is like this: RT @thezdi: A new blog from Trend Micro Research details CVE-2020-9496 - Remote code execution in #Apache OFBiz XMLRPC via deserialization… But the actual tweet is like this: https://twitter.com/gentilkiwi/status/1306404122489491456 My problem is that the content is not complete and most of the contents have ellipsis. Anyone can help me to get the complete tweet?

silverdrake11 commented 3 years ago

Hello you are in the wrong thread. This is twint, the code snippet you are describe is not from twint but from snscrape

helloqwerasdf commented 3 years ago

I am sorry~