Files
twitter-scraper/README.md
2025-01-21 01:42:47 +13:00

16 lines
495 B
Markdown

## Twitter scraper
Scrape user's tweets :D
### Usage:
`tweets = TweetsScraper().get_tweets_anonymous("<user_id>")`
returns a list of tweets from the user as viewed from a logged-out session. Will only return 100 tweets (not necessarily the most recent)
`tweets = TweetsScraper().get_tweets("<user_id>")`
not implemented yet, will get tweets as a logged in user
### Tweet object
Contains the text of the tweet, along with the timestamp and some stats (like count, repost count, views, etc)