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.9.tar.gz
(40.3 kB
view details)
Built Distribution
tweety_ns-0.9.9-py3-none-any.whl
(45.7 kB
view details)
File details
Details for the file tweety-ns-0.9.9.tar.gz
.
File metadata
- Download URL: tweety-ns-0.9.9.tar.gz
- Upload date:
- Size: 40.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1013baf90f55a74a34188f919a5449a85c7a034ddc39231ad10422f728b2e77 |
|
MD5 | ad9cc9db7c4333bb5736001a2f465435 |
|
BLAKE2b-256 | 401b6ddd50ed3c3a4202daace85b3934b65d470f4d13d1b1362df920207530aa |
File details
Details for the file tweety_ns-0.9.9-py3-none-any.whl
.
File metadata
- Download URL: tweety_ns-0.9.9-py3-none-any.whl
- Upload date:
- Size: 45.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e924ed80f083d7107fe51334182ca2071c934ebd6898ee0cf8e7dd6732a840b1 |
|
MD5 | e1104c795d84c5487cafe6edf895a36a |
|
BLAKE2b-256 | c19828e63fdb9d5df5a2d733f638e92611d483381a32b3f5bbfa39f329157c0f |