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.5.tar.gz (14.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.5-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: staaar_youtube-1.2.5.tar.gz
  • Upload date:
  • Size: 14.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.5.tar.gz
Algorithm Hash digest
SHA256 564123173de592a4d191d5db2628a256079ef775d9985361c059e1bc79e25ed4
MD5 3dfc5adc3299fbeacef77d9ab3bc0fe2
BLAKE2b-256 747a32dd3a792ce3c28fee328c4ed47b487b0fd9e37fec369fcce69da1408338

See more details on using hashes here.

File details

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

File metadata

  • Download URL: staaar_youtube-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 18.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5fe75432c67df224ffcddcaba46e544315a58264e7d8a487313babd2c7a9995b
MD5 bdd9f91ff36fab4df35ac53700754243
BLAKE2b-256 bef5a4a4d4dc6c91b52e0a6c7a0a4b1d7b4c67775249603d8f9f380c3e7f5801

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