mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-24 00:36:52 +01:00
Document %(format)s (#1612)
This commit is contained in:
parent
cce722b79c
commit
fdefe96bf2
@ -332,7 +332,9 @@ def parseOpts(overrideArguments=None):
|
|||||||
help=('output filename template. Use %(title)s to get the title, '
|
help=('output filename template. Use %(title)s to get the title, '
|
||||||
'%(uploader)s for the uploader name, %(uploader_id)s for the uploader nickname if different, '
|
'%(uploader)s for the uploader name, %(uploader_id)s for the uploader nickname if different, '
|
||||||
'%(autonumber)s to get an automatically incremented number, '
|
'%(autonumber)s to get an automatically incremented number, '
|
||||||
'%(ext)s for the filename extension, %(upload_date)s for the upload date (YYYYMMDD), '
|
'%(ext)s for the filename extension, '
|
||||||
|
'%(format)s for the format description (like "22 - 1280x720" or "HD")'
|
||||||
|
'%(upload_date)s for the upload date (YYYYMMDD), '
|
||||||
'%(extractor)s for the provider (youtube, metacafe, etc), '
|
'%(extractor)s for the provider (youtube, metacafe, etc), '
|
||||||
'%(id)s for the video id , %(playlist)s for the playlist the video is in, '
|
'%(id)s for the video id , %(playlist)s for the playlist the video is in, '
|
||||||
'%(playlist_index)s for the position in the playlist and %% for a literal percent. '
|
'%(playlist_index)s for the position in the playlist and %% for a literal percent. '
|
||||||
|
Loading…
Reference in New Issue
Block a user