add support for "-f mp4" for YouTube

This commit is contained in:
Allan Zhou 2013-08-30 17:51:50 -07:00
parent 483e0ddd4d
commit bdc6b3fc64
2 changed files with 31 additions and 8 deletions

View file

@ -192,7 +192,7 @@ def parseOpts(overrideArguments=None):
video_format.add_option('-f', '--format',
action='store', dest='format', metavar='FORMAT',
help='video format code, specifiy the order of preference using slashes: "-f 22/17/18"')
help='video format code, specifiy the order of preference using slashes: "-f 22/17/18". "-f mp4" and "-f flv" are also supported')
video_format.add_option('--all-formats',
action='store_const', dest='format', help='download all available video formats', const='all')
video_format.add_option('--prefer-free-formats',