mirror of
https://codeberg.org/postscriptum/gemlog.git
synced 2026-02-19 22:42:39 +00:00
31 lines
No EOL
514 B
Text
31 lines
No EOL
514 B
Text
# 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
|
|
``` |