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.1.tar.gz
(40.3 kB
view details)
Built Distribution
File details
Details for the file tweety-ns-0.9.9.1.tar.gz
.
File metadata
- Download URL: tweety-ns-0.9.9.1.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 | 91b30eaa2e5be72515dc995e1610f52c1c1134d49ae8ca560a9502c7b8ef1220 |
|
MD5 | 23f7c2548d6159a64fafa1087e3d7187 |
|
BLAKE2b-256 | 936cfeee0cde67654e2ab0f15008297a5ce1ef88d0d6dc04791244d232e587d5 |
File details
Details for the file tweety_ns-0.9.9.1-py3-none-any.whl
.
File metadata
- Download URL: tweety_ns-0.9.9.1-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 | df9aff65bd9a1112669eb72feb671ee9f0e76d94e3994e5f8c1d7c3fa5574ed3 |
|
MD5 | 62f38054a363240fb57e38a0183c3a43 |
|
BLAKE2b-256 | 4b6417210d8994cfe1e62abc222fa5460d4c1b9d674657a646f6f8fb72489ec7 |