Skip to main content

High performance YouTube downloader library with OAuth support

Project description

staaar-youtube

High performance YouTube downloader library with support for OAuth authentication.

Installation

pip install staaar-youtube

Usage

from staaar_youtube import DownloadService

# Download audio
service = DownloadService(
    url="https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    is_audio=True,
    token_file="tokens.json"
)
audio_path = service.download()

# Download video
service = DownloadService(
    url="https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    is_audio=False,
    quality="360p"
)
video_path = service.download()

Features

  • Fast downloads with concurrent fragment downloads
  • OAuth authentication support
  • Audio and video download support
  • Smart caching
  • Built with yt-dlp

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

staaar_youtube-1.2.1.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

staaar_youtube-1.2.1-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file staaar_youtube-1.2.1.tar.gz.

File metadata

  • Download URL: staaar_youtube-1.2.1.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for staaar_youtube-1.2.1.tar.gz
Algorithm Hash digest
SHA256 b1699038f1085f78393b287fce05ea85a906658988e6c250d427266c4b6c6342
MD5 6ad3ee55c505376ada4e863063b0af09
BLAKE2b-256 568b9eea875679d2b116ba3418cb4cf1b93c7e7d9d9e18cd2adc955f5bed2830

See more details on using hashes here.

File details

Details for the file staaar_youtube-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: staaar_youtube-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for staaar_youtube-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33cc6cc1f36bcc6761bc979364025b1cfae74d8b14bc457b1a7832849b028f8f
MD5 18ecc810fb0ceebfa7e5a019279d2f07
BLAKE2b-256 bcd1d49fa542b9083effa70458c573d84820fd814c8fc4ae8600b3e002cef2ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page