X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Foptions.py;h=649361bde3a9eee3bd1222393b069ffb8ac0976d;hb=1b10a011ec7544f49159ed60642128720333b8aa;hp=a06850e1c606a417aa6d0ffb3083f608a30a5983;hpb=72ebb5e4b4756a05f37ffcd0efaaf5c07ffc1fd1;p=youtube-dl diff --git a/youtube_dl/options.py b/youtube_dl/options.py index a06850e1c..649361bde 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -225,10 +225,6 @@ def parseOpts(overrideArguments=None): '--include-ads', dest='include_ads', action='store_true', help='Download advertisements as well (experimental)') - selection.add_option( - '--youtube-include-dash-manifest', - action='store_true', dest='youtube_include_dash_manifest', default=False, - help='Try to download the DASH manifest on YouTube videos (experimental)') authentication = optparse.OptionGroup(parser, 'Authentication Options') authentication.add_option( @@ -273,6 +269,14 @@ def parseOpts(overrideArguments=None): '-F', '--list-formats', action='store_true', dest='listformats', help='list all available formats') + video_format.add_option( + '--youtube-include-dash-manifest', + action='store_true', dest='youtube_include_dash_manifest', default=True, + help=optparse.SUPPRESS_HELP) + video_format.add_option( + '--youtube-skip-dash-manifest', + action='store_false', dest='youtube_include_dash_manifest', + help='Do not download the DASH manifest on YouTube videos') subtitles = optparse.OptionGroup(parser, 'Subtitle Options') subtitles.add_option(