mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 22:15:42 +02:00
youtube-dl: add example for the --format option (#2714)
This commit is contained in:
parent
6956cd5348
commit
04ae522268
1 changed files with 8 additions and 0 deletions
|
@ -7,6 +7,14 @@
|
|||
|
||||
`youtube-dl {{https://www.youtube.com/watch?v=oHg5SJYRHA0}}`
|
||||
|
||||
- List all formats that a video or playlist is available in:
|
||||
|
||||
`youtube-dl --list-formats {{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}`
|
||||
|
||||
- Download a video or playlist at a specific quality:
|
||||
|
||||
`youtube-dl --format {{best[height<=480]}} {{https://www.youtube.com/watch?v=oHg5SJYRHA0}}`
|
||||
|
||||
- Download the audio from a video and convert it to an MP3:
|
||||
|
||||
`youtube-dl -x --audio-format {{mp3}} {{url}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue