# yt-dlp

## Command zum schnellen download von [music.youtube.com](https://music.youtube.com/)

```bash
yt-dlp --embed-metadata --embed-thumbnail -x --audio-format mp3 -f 251 -o '%(album)s/%(title)s.%(ext)s' <link>
```

## To Download a complete cannel:

```bash
yt-dlp -f "bestvideo+bestaudio" --merge-output-format mkv --write-thumbnail --convert-thumbnails jpg -o "./%(playlist_title)s/%(title)s.%(ext)s" https://www.youtube.com/@CHANNEL_NAME/videos
```

<p class="callout info">THis saves all videos with thumbnails in best quality in a subfolder CHANNEL\_NAME - Videos""</p>

To save a list of downloaded videos:

```
--download-archive "/path/to/archive.txt"
```

## If you get Errors:

```bash
--cookies /path/to/cookies.txt
```

add this, with a coockie with your YouTube account