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.4.tar.gz (13.6 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.4-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: staaar_youtube-1.2.4.tar.gz
  • Upload date:
  • Size: 13.6 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.4.tar.gz
Algorithm Hash digest
SHA256 88eedb915f7c51e7d085cd389a9488030e57bbd30b18d6377cb2d3532cd9c180
MD5 b4491faa684e89111283f52dd1750778
BLAKE2b-256 d60677b8318e6647e5ac55bca0008c2d34b05a6f1aa639c98ade7d985aca4f54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: staaar_youtube-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 17.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2ec597d625b9bfbab7403f124ade68b1b3f69f8f9346788fb66f9644c5e100b0
MD5 e743bd03f4acc48accb8488ae1045253
BLAKE2b-256 f161a61b8c3d904b1e6cbde9678664ad5af483a4e028613c11c372e6077346f6

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