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

Uploaded Source

Built Distribution

nitter-0.0.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file nitter-0.0.4.tar.gz.

File metadata

  • Download URL: nitter-0.0.4.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for nitter-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c0799d0ff63608f15b6210a3791d053f1494d2d169d1030a89b36555ab0225df
MD5 e368a87b79e298db39a6857780c0de1f
BLAKE2b-256 17811a9124ee581bedeb72d641d26e3a8a417d6831b044a80bd3dd721761e1e7

See more details on using hashes here.

File details

Details for the file nitter-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: nitter-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for nitter-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 98e6ed3466522873c0a30a2b297445a5173c63c4db85cbf85c32e7f5a9dea0a6
MD5 8da381d0c1e312aeb3f2076b9cd5a9c8
BLAKE2b-256 c04b8bebd00fc0d6f7cf6ac50ae740d47c28f3c9d308b17fd779388425222689

See more details on using hashes here.

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