mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
youtube-dl: extend the custom filenames example (#6434)
Extend the custom filenames example to also include the playlist_index (a useful way to keep the downloaded playlist sorted).
This commit is contained in:
parent
56b2de928c
commit
2945238a01
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
- Download video(s) as MP4 files with custom filenames:
|
||||
|
||||
`youtube-dl --format {{mp4}} -o "{{%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s}}" '{{url}}'`
|
||||
`youtube-dl --format {{mp4}} -o "{{%(playlist_index)s-%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s}}" '{{url}}'`
|
||||
|
||||
- Download a particular language's subtitles along with the video:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue