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

Python Library

from staaar_youtube import DownloadService

# Download audio
service = DownloadService(
    url="https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    is_audio=True,
    token_file="tokens.json"  # Optional OAuth tokens
)
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.1.0.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.1.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: staaar_youtube-1.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 39159b894e0388854be2c45d8d54f7d10e4c76c285e5d74d0d01a77a05f57a48
MD5 697c4c4cb53cc29fa015bc5440116e8c
BLAKE2b-256 06cbb9446a83403855e483619a844454ee09fa7282154990f63dcf88f6829eac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: staaar_youtube-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ea489b30c7d56f2a2c53ebdc4dbf9ec45f1b877fcfcaaef9c1924101b99c785
MD5 e8b0f7e035bab19c43b224fd55e1f522
BLAKE2b-256 9959ad1b57188c50079357cee159fa90da42c5ef266abab0309350e11714ae49

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