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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nitter-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 e222ec9bc6553063992df4d8d2d479a775f5fe242a1dac0f2adfaba685e461a8
MD5 d5eecb101e000881030191174ca31ec8
BLAKE2b-256 af03ac4503c8b9a9aa7f5aca847394b9256c2f1f9abd72cdf4d17a3d8028f618

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nitter-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 edbafaec03128ac59faaac8f471826582126de4ca77209ad5f280a580c5116df
MD5 85712fa1d0a4ffe93cb769075690b54e
BLAKE2b-256 02188a13f45a1b328d327f1c2bd81db4133f1a44a1d99e0c666a3995862f3990

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