2
0
Эх сурвалжийг харах

Fix doc of extractor field

Philipp Hagemeister 13 жил өмнө
parent
commit
f48ce130c7

+ 1 - 1
youtube_dl/__init__.py

@@ -269,7 +269,7 @@ def parseOpts():
 			action='store_true', dest='autonumber',
 			action='store_true', dest='autonumber',
 			help='number downloaded files starting from 00000', default=False)
 			help='number downloaded files starting from 00000', default=False)
 	filesystem.add_option('-o', '--output',
 	filesystem.add_option('-o', '--output',
-			dest='outtmpl', metavar='TEMPLATE', help='output filename template. Use %(stitle)s to get the title, %(uploader)s for the uploader name, %(autonumber)s to get an automatically incremented number, %(ext)s for the filename extension, %(upload_date)s for the upload date (YYYYMMDD), %(provider)s for the provider (youtube, metacafe, etc), %(id)s for the video id and %% for a literal percent. Use - to output to stdout.')
+			dest='outtmpl', metavar='TEMPLATE', help='output filename template. Use %(stitle)s to get the title, %(uploader)s for the uploader name, %(autonumber)s to get an automatically incremented number, %(ext)s for the filename extension, %(upload_date)s for the upload date (YYYYMMDD), %(extractor)s for the provider (youtube, metacafe, etc), %(id)s for the video id and %% for a literal percent. Use - to output to stdout.')
 	filesystem.add_option('-a', '--batch-file',
 	filesystem.add_option('-a', '--batch-file',
 			dest='batchfile', metavar='FILE', help='file containing URLs to download (\'-\' for stdin)')
 			dest='batchfile', metavar='FILE', help='file containing URLs to download (\'-\' for stdin)')
 	filesystem.add_option('-w', '--no-overwrites',
 	filesystem.add_option('-w', '--no-overwrites',