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.3.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.3-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: staaar_youtube-1.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 520d90d3b6543016744514d8810e1f582dc76b2672b1d0a236176696da9df8fe
MD5 aa5b0b6979bc10606bdd553846feb253
BLAKE2b-256 f14d15f4dbe45c3f08cef09c3a9881addabc0455fbda693fa82c59625d42cedb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: staaar_youtube-1.2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2de4903a8d93a858b5d7b28bca4f7eabf0c0fefa3b24f942593727a23e0dde17
MD5 ae76e4ebc43a378bb9bcf36b55940d6b
BLAKE2b-256 4caaf359b3ef44f6a517929eee1bb9196c4cfe47020c03d091fb2819f8e2bf82

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