Skip to main content

An easy Twitter Scraper

Project description

tweety

Reverse Engineered Twitter Frontend API.

Downloads

Prerequisites

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

  • Internet Connection
  • Python 3.6+
  • httpx
  • openpyxl

Installation:

pip install tweety-ns

Keep synced with latest fixes

Pip might not be always updated , so to keep everything synced.
pip install https://github.com/mahrtayyab/tweety/archive/main.zip --upgrade 

A Quick Example:

  from tweety import Twitter
  
  app = Twitter("session")
  
# assuming app is authenticated class instance
  
  all_tweets = app.get_tweets("elonmusk")
  for tweet in all_tweets:
      print(tweet)

[!IMPORTANT] Even Twitter Web Client has a lot of rate limits now, Abusing tweety can lead to read_only Twitter account.

Full Documentation and Changelogs are here

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tweety_ns-1.1.5.tar.gz (64.6 kB view hashes)

Uploaded Source

Built Distribution

tweety_ns-1.1.5-py3-none-any.whl (73.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page