Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imoneo/ytxd

An easy to use tool for downloading video and audio. YTXD is wrapper around the yt-dlp.
https://github.com/imoneo/ytxd

audio cli downloader ffmpeg typer uv video youtube-dl yt-dlp

Last synced: 20 days ago
JSON representation

An easy to use tool for downloading video and audio. YTXD is wrapper around the yt-dlp.

Awesome Lists containing this project

README

        

# **Y**ou**T**ube **X** **D**ownload (**_YTXD_**)

An easy to use wrapper around [`yt-dlp`](https://github.com/yt-dlp/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

```bash
# download video to current working directory
$ ytxd video

# download audio score of video to current working directory
$ ytxd audio

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

# download best quality avaiable
$ ytxd video --best

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

![usage-example-1729975255462](https://github.com/user-attachments/assets/3e80ae19-9d80-4258-a810-6676766a96fc)

## Installation

**_ytxd_** is avaiable on _PyPI_:

```bash
pip install ytxd
```

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

```bash
ytxd --help
```

_**ytxd**_ requires [`ffmpeg`](https://www.ffmpeg.org/) to run. `Ffmpeg` installation site [https://www.ffmpeg.org/download.html](https://www.ffmpeg.org/download.html) and/or commands:

```bash
# ubuntu / debian
$ sudo apt-get update && sudo apt-get install ffmpeg
```

```PowerShell
# windows 10/11
> winget install ffmpeg
```

### Recomendation

I suggest to use **_ytxd_** via [`uv`](https://docs.astral.sh/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/](https://docs.astral.sh/uv/getting-started/installation/), **_ytxd_** can be used by typing command:

```bash
uvx ytxd --help
```