youtube-dl: add download playlist example (#4174)

client-spec/clarity
shyneko 2020-07-21 22:46:21 +03:00 committed by GitHub
parent 4deb3d0916
commit 66bfc92e70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -27,10 +27,10 @@
`youtube-dl --format {{mp4}} -o {{"%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s"}} {{url}}`
- List available subtitles:
`youtube-dl --list-subs {{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}`
- Download a particular language's subtitles along with the video:
`youtube-dl --sub-lang {{en}} --write-sub {{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}`
- Download a playlist and extract mp3 from it:
`youtube-dl -i --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" {{url to playlist}}`