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.0.tar.gz (15.0 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.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: staaar_youtube-1.2.0.tar.gz
  • Upload date:
  • Size: 15.0 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.0.tar.gz
Algorithm Hash digest
SHA256 97d44fdab4e79fe193d9d7aca83d7b585473ead703a0d234f3c396a883ba6daa
MD5 cad69e92fb08aa6609d77c460afd7717
BLAKE2b-256 8865d2970c503aee7fab8e4b05e9e83afe0611712644ea26d6e2164bf972f9db

See more details on using hashes here.

File details

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

File metadata

  • Download URL: staaar_youtube-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18a30ba1dfae3aa527ec739f758d988097fc8267a0c3385e76045fd5573996f1
MD5 2cbab7c1493b84413817ef3b15cb941b
BLAKE2b-256 b76172959f2b523f6291822bdcda0032396c853ca080280a9467416dd87ead1e

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