Skip to main content

An async-first Any website downloader library using yt-dlp and ffmpeg

Project description

AsyncYT

AsyncYT is a fully async, high-performance Any website downloader powered by yt-dlp and ffmpeg.
It comes with auto binary setup, progress tracking, playlist support, search, and clean API models using pydantic.

Features

  • ✅ Async from the ground up
  • 🎵 Audio/video/playlist support
  • 🌐 Auto-download yt-dlp and ffmpeg
  • 🧠 Strongly typed config and models
  • 📡 Live progress (WebSocket-friendly)
  • 📚 Clean and extensible

Install

pip install asyncyt

Example

from asyncyt import Downloader, DownloadConfig, Quality

config = DownloadConfig(quality=Quality.HD_720P)
downloader = Downloader()

await downloader.setup_binaries()
info = await downloader.get_video_info("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
print(info.title)

filename = await downloader.download(info.url, config)
print("Downloaded to", filename)

Documentation

👉 Read the Docs

License

MIT © MahiroX36

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

asyncyt-1.3.1.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.

asyncyt-1.3.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file asyncyt-1.3.1.tar.gz.

File metadata

  • Download URL: asyncyt-1.3.1.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for asyncyt-1.3.1.tar.gz
Algorithm Hash digest
SHA256 1bdcf237022d389e01746428ad244ce0ac56cd3016f9a581dfdaada7a420b137
MD5 1e643afde3a6d50a95e50be376efb94a
BLAKE2b-256 1a9e8a2608cdd8f44750114f3ac17252550a52146bd0d156a859bddedf28eeac

See more details on using hashes here.

File details

Details for the file asyncyt-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: asyncyt-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for asyncyt-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ff406bdba1246d4862e88adc00e935950931fe9e442f85c2b64d736c3f8b326
MD5 2d62493e01a57fba2335a080d9a478cf
BLAKE2b-256 fcbb6509fb3591b224150b61667a4b518d184b66acd9167016be724761dfe5af

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