youtube-dl: add example for the --format option (#2714)

italian
P_Q_H 2019-02-25 13:34:32 +08:00 committed by Agniva De Sarker
parent 6956cd5348
commit 04ae522268
1 changed files with 8 additions and 0 deletions

View File

@ -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}}`