Nitter is a simple library to scrap Twitter data using the Nitter website
Project description
Nitter
Simple Twitter scraper using Nitter
For now, It's used only to scrap media (images)
How To Install
You can use the following command to install it.
pip install nitter
Getting Started
from nitter import Nitter
n = Nitter()
from nitter import Nitter
nitter = Nitter()
username = "X"
for media in nitter.get_media(username):
print("Caption:", media.caption)
print("Pub Date:", media.pub_date)
print("Images:", "\n".join(img.src for img in media.images), "\n")
Licence
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
nitter-0.0.3.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file nitter-0.0.3.tar.gz
.
File metadata
- Download URL: nitter-0.0.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03eb8a06fd026dae5c528a01baf260de655acfcb7811c3e0ceccb9a1bf85d5e6 |
|
MD5 | 1abd90e87892e498f345ce6bbcb85efc |
|
BLAKE2b-256 | 047882a13741cfd674874a6f90dd5b26995a6cc2ff63a8899350db5dc9f914a8 |
File details
Details for the file nitter-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: nitter-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b73745990afe13bcdb82257cb86a2652cbdfe7d67f54532ca3728524cf32326b |
|
MD5 | 22171f17496b774841ff16197170cf28 |
|
BLAKE2b-256 | 6f5b4c6fe27dc10fc509a6be5416ca2a6a35ce37fc7973cdbb275dcf48240bbb |