# YouTube downloads with yt-dlp

## Download in max resolution

``` bash
yt-dlp CHANNEL_URL|PLAYLIST_URL|VIDEO_URL
```

## Change default resolution to 1080

``` bash
yt-dlp CHANNEL_URL|PLAYLIST_URL|VIDEO_URL -S res:1080
```

## Download to location by source meta mask

``` bash
yt-dlp CHANNEL_URL/playlists -o '%(uploader)s/%(playlist)s/%(title)s.%(ext)s'
```

## Extract audio

``` bash
yt-dlp CHANNEL_URL|PLAYLIST_URL|VIDEO_URL --extract-audio --audio-format vorbis
```

## Get help

``` bash
yt-dlp --help
```