Update options.py

This commit is contained in:
mrfunkycoda 2017-12-05 14:53:18 +02:00 committed by GitHub
parent d4f05d4731
commit 171f0e85ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -563,7 +563,15 @@ def parseOpts(overrideArguments=None):
'Upper bound of a range for randomized sleep before each download '
'(maximum possible number of seconds to sleep). Must only be used '
'along with --min-sleep-interval.'))
workarounds.add_option(
'--youtube-prefer-get-video-info',
action='store_true', dest='youtube_prefer_get_video_info', default=False,
help=(
'By prefering a Youtube link extracted from get_video_info instead '
'of the video\'s webpage, Youtube is likely to send a link with the '
'"content-disposition: Attachment" header added (provided you add the '
'"&title=...." option to the link)'))
verbosity = optparse.OptionGroup(parser, 'Verbosity / Simulation Options')
verbosity.add_option(
'-q', '--quiet',