aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/options.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-10-13 00:03:08 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-10-13 00:03:08 +0200
commit203fb43f3602a6363041ee9323ee718e6c71606c (patch)
tree4b58ca44547c4c1edb411dc9403e33b4c45752c3 /youtube_dl/options.py
parent4d7b03f1f28760abee5a1326f1c902b081c75976 (diff)
[youtube] Download DASH manifest by default (Closes #3887)
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r--youtube_dl/options.py12
1 files changed, 8 insertions, 4 deletions
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(