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:
Manuel Haussmann
2021-09-01 11:57:21 +00:00
committed by GitHub
parent 56b2de928c
commit 2945238a01

View File

@@ -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: