Skip to main content

A user-friendly cli tool for downloading video and audio from url. YTXD is wrapper around the yt-dlp.

Project description

YouTube X Download (YTXD)

An easy to use wrapper around yt-dlp CLI.

YTXD is a command line tool that allows You to download from YouTube (or X, etc ...). The main purpose of YTXD is to provide easy to use interface for downloading video or audio scores.

Usage

direct commands

# download video to current working directory
$ ytxd video <video-url>

# download audio score of video to current working directory
$ ytxd audio <video-url>

# download video or audio to path with given extansion and filename, path can be relative
$ ytxd video -o Videos/clip.mkv <video-url>

# download best quality avaiable
$ ytxd video --best <video-url>

# specify path, resolution and video format
$ ytxd video --resolution 720p --format flac --path ~/Downloads <video-url>

Installation

ytxd is avaiable on PyPI:

pip install ytxd

Once installed, ytxd will be exposed as a command-line tool:

ytxd --help

ytxd requires ffmpeg to run. Ffmpeg installation site https://www.ffmpeg.org/download.html and/or commands:

# ubuntu / debian
$ sudo apt-get update && sudo apt-get install ffmpeg
# windows 10/11
> winget install ffmpeg

Recomendation

I suggest to use ytxd via uv, an extremely fast Python package and project manager, written in Rust.. After following guide and installing uv from https://docs.astral.sh/uv/getting-started/installation/, ytxd can be used by typing command:

uvx ytxd --help

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

ytxd-0.0.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ytxd-0.0.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file ytxd-0.0.1.tar.gz.

File metadata

  • Download URL: ytxd-0.0.1.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.27

File hashes

Hashes for ytxd-0.0.1.tar.gz
Algorithm Hash digest
SHA256 784413a35e26bb42cadbe817997f84be76b650ba045e7f2169f630129f1aef3c
MD5 e6f9bb3b2f8041408963f7056a9a5c63
BLAKE2b-256 326bcca90e9255a94fa3f96821d9623e17a11c82ff917816abfb4e51e4b2ef4f

See more details on using hashes here.

File details

Details for the file ytxd-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ytxd-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.27

File hashes

Hashes for ytxd-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97c8eb4eba8cf91f2e01740755fde453fed40416f7f072558eb3afa88c39109f
MD5 ab9727a940691dc4f22549aad6c1abaf
BLAKE2b-256 06bc72af5e279bc3c5eac784dedc2deec91287c9d99cfbaf627abc6a8d6b8081

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