/tweety

Twitter Scraper

Primary LanguagePython

tweety

Twitter's API is annoying to work with, and has lots of limitations — luckily their frontend (JavaScript) has it's own API, which I reverse–engineered. No API rate limits. No restrictions. Extremely fast.

Downloads

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Internet Connection
  • Python 3.6+
  • httpx
  • openpyxl
  • tqdm

Installation:

pip install tweety-ns

Keep synced with latest fixes

Pip might not be always updated , so to keep everything synced.
pip install git+https://github.com/mahrtayyab/tweety.git --upgrade --force-reinstall

A Quick Example:

  from tweety.bot import Twitter
  
  app = Twitter("elonmusk")
  
  all_tweets = app.get_tweets()
  for tweet in all_tweets:
      print(tweet)

Full Documentation and Changelogs are here