Skip to main content

An easy Twitter Scraper

Project description

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. xtremely fast.

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")
  
  all_tweets = app.get_tweets("elonmusk")
  for tweet in all_tweets:
      print(tweet)

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-0.9.6.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

tweety_ns-0.9.6-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

Details for the file tweety-ns-0.9.6.tar.gz.

File metadata

  • Download URL: tweety-ns-0.9.6.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for tweety-ns-0.9.6.tar.gz
Algorithm Hash digest
SHA256 82bc21a5184d6c60c4e3813107487e0582bd6ea3f37f2d618f443d49a181a4eb
MD5 bf2965eed2c937e21f79efc145414b30
BLAKE2b-256 42b3e1aacbd1c00ce51a464cb09abccf7eef79bfd4eb572fee6cd1b6f9d583f8

See more details on using hashes here.

File details

Details for the file tweety_ns-0.9.6-py3-none-any.whl.

File metadata

  • Download URL: tweety_ns-0.9.6-py3-none-any.whl
  • Upload date:
  • Size: 40.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for tweety_ns-0.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 910f625ca98a921a367505e2954253185fdc70cd723565e0c677d548d2cdd371
MD5 441c7ad3ff9206d55940b1d8fba78652
BLAKE2b-256 1aeeeba8ca7b8d0357f07edba91871ef8d95d295aa532d308385b17d0a5a7a2f

See more details on using hashes here.

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