Skip to main content

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

MIT

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.5.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

nitter-0.0.5-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

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