mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-22 19:12:51 +08:00
[README.md] Clarify playlist_index description
This commit is contained in:
parent
c246773599
commit
ac7a1b0dfb
@ -278,7 +278,7 @@ The `-o` option allows users to indicate a template for the output file names. T
|
|||||||
- `epoch`: The sequence will be replaced by the Unix epoch when creating the file.
|
- `epoch`: The sequence will be replaced by the Unix epoch when creating the file.
|
||||||
- `autonumber`: The sequence will be replaced by a five-digit number that will be increased with each download, starting at zero.
|
- `autonumber`: The sequence will be replaced by a five-digit number that will be increased with each download, starting at zero.
|
||||||
- `playlist`: The name or the id of the playlist that contains the video.
|
- `playlist`: The name or the id of the playlist that contains the video.
|
||||||
- `playlist_index`: The index of the video in the playlist, a five-digit number.
|
- `playlist_index`: The sequence will be replaced by the index of the video in the playlist padded with leading zeros according to the total length of the playlist.
|
||||||
- `format_id`: The sequence will be replaced by the format code specified by `--format`.
|
- `format_id`: The sequence will be replaced by the format code specified by `--format`.
|
||||||
|
|
||||||
The current default template is `%(title)s-%(id)s.%(ext)s`.
|
The current default template is `%(title)s-%(id)s.%(ext)s`.
|
||||||
|
Loading…
Reference in New Issue
Block a user