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.2.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.2.2-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: staaar_youtube-1.2.2.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.2.2.tar.gz
Algorithm Hash digest
SHA256 4a02960248d676a947f778bcbe69429aa332397780d587c4aabea3541c84f264
MD5 3fdb70771743c7fb2a6d9459d4cdb5a5
BLAKE2b-256 e29f2b944c3643628db5080b1d79b58d08cdfe587b04c7a91faec1b6f072c3bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: staaar_youtube-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 19.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2614a109f82c6e5e86c9f2400cb8561da9ff923c0e6cda2443eaadd6843e3d7d
MD5 3ba5e9d3e79945ac22460c6939735f15
BLAKE2b-256 22a96781e09eb41100fa5627434d4ed0cde840e4b1ae9655e636428ad9d074bb

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