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.1.7.tar.gz (15.2 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.7-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: staaar_youtube-1.1.7.tar.gz
  • Upload date:
  • Size: 15.2 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.7.tar.gz
Algorithm Hash digest
SHA256 ecc44f0ff32439782d7a7a8950524a2a06b6598b8cc848b02dc7d2f41f345b2b
MD5 3ce58324663dcff481874ecf552c23f7
BLAKE2b-256 7bda10fd9da90e09b57e8a4c68789597981e359b4f377b52cc57153fe0968ba6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: staaar_youtube-1.1.7-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.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 073ec96b51c1d4ec62703ef26e0065b4fe906a1b7f656b48a77acd4207c7f50d
MD5 a118d45d0c69489ca869d7b07935eded
BLAKE2b-256 172a167d7f8e8487dcf68146dd5b75992cb82b624632a1229b92c38b7a58877b

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