Skip to content

Tweets Module

Module for scraping tweets


def get_tweets(username: str, pages: int = 25, break_on_tweet_id: Optional[int] = None, address="") -> Tweet

Gets the target users tweets


  • username - Targeted users username.
  • pages - Max number of pages to lookback starting from the latest tweet.
  • break_on_tweet_id - Gives the ability to break out of a loop if a tweets id is found.
  • address - The address to scrape from. The default is which should be used as a fallback address.


Tweet Objects