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.
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
Release history Release notifications | RSS feed
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.5.tar.gz
(35.7 kB
view details)
Built Distribution
tweety_ns-0.9.5-py3-none-any.whl
(40.5 kB
view details)
File details
Details for the file tweety-ns-0.9.5.tar.gz
.
File metadata
- Download URL: tweety-ns-0.9.5.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe67d28373b037c6f052396b7666280c66e42b6b393f1d537dceb1479e1c62c6 |
|
MD5 | c7d148d5647eaab7649642586836e1bc |
|
BLAKE2b-256 | 00722d10840c10b2084953d92d692fa115383089437f09c754d3a703c4bdd86e |
File details
Details for the file tweety_ns-0.9.5-py3-none-any.whl
.
File metadata
- Download URL: tweety_ns-0.9.5-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31e462b7341763285a1ad8e01e67716f0801b5b448d9673b2b5e75ef854cb546 |
|
MD5 | 3efab66a53291170a8051f60f2b0391f |
|
BLAKE2b-256 | 68eeb354ed5e17905638f23931f7efa25cc08bccdfaf0090112136532da5da12 |