From e409895f13f3985639562fdb566b36c28d02370a Mon Sep 17 00:00:00 2001 From: pukkandan Date: Wed, 24 Feb 2021 21:31:01 +0530 Subject: [documentation] Fix documentation of "Extractor Options" --- youtube_dlc/options.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'youtube_dlc/options.py') diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py index 47349f928..f2f9dd9dd 100644 --- a/youtube_dlc/options.py +++ b/youtube_dlc/options.py @@ -504,22 +504,6 @@ def parseOpts(overrideArguments=None): '--list-formats-old', '--no-list-formats-as-table', action='store_false', dest='listformats_table', help='Present the output of -F in the old form (Alias: --no-list-formats-as-table)') - video_format.add_option( - '--youtube-include-dash-manifest', '--no-youtube-skip-dash-manifest', - action='store_true', dest='youtube_include_dash_manifest', default=True, - help='Download the DASH manifests and related data on YouTube videos (default) (Alias: --no-youtube-skip-dash-manifest)') - video_format.add_option( - '--youtube-skip-dash-manifest', '--no-youtube-include-dash-manifest', - action='store_false', dest='youtube_include_dash_manifest', - help='Do not download the DASH manifests and related data on YouTube videos (Alias: --no-youtube-include-dash-manifest)') - video_format.add_option( - '--youtube-include-hls-manifest', '--no-youtube-skip-hls-manifest', - action='store_true', dest='youtube_include_hls_manifest', default=True, - help='Download the HLS manifests and related data on YouTube videos (default) (Alias: --no-youtube-skip-hls-manifest)') - video_format.add_option( - '--youtube-skip-hls-manifest', '--no-youtube-include-hls-manifest', - action='store_false', dest='youtube_include_hls_manifest', - help='Do not download the HLS manifests and related data on YouTube videos (Alias: --no-youtube-include-hls-manifest)') video_format.add_option( '--merge-output-format', action='store', dest='merge_output_format', metavar='FORMAT', default=None, @@ -1235,6 +1219,22 @@ def parseOpts(overrideArguments=None): '--no-hls-split-discontinuity', dest='hls_split_discontinuity', action='store_false', help='Do not split HLS playlists to different formats at discontinuities such as ad breaks (default)') + extractor.add_option( + '--youtube-include-dash-manifest', '--no-youtube-skip-dash-manifest', + action='store_true', dest='youtube_include_dash_manifest', default=True, + help='Download the DASH manifests and related data on YouTube videos (default) (Alias: --no-youtube-skip-dash-manifest)') + extractor.add_option( + '--youtube-skip-dash-manifest', '--no-youtube-include-dash-manifest', + action='store_false', dest='youtube_include_dash_manifest', + help='Do not download the DASH manifests and related data on YouTube videos (Alias: --no-youtube-include-dash-manifest)') + extractor.add_option( + '--youtube-include-hls-manifest', '--no-youtube-skip-hls-manifest', + action='store_true', dest='youtube_include_hls_manifest', default=True, + help='Download the HLS manifests and related data on YouTube videos (default) (Alias: --no-youtube-skip-hls-manifest)') + extractor.add_option( + '--youtube-skip-hls-manifest', '--no-youtube-include-hls-manifest', + action='store_false', dest='youtube_include_hls_manifest', + help='Do not download the HLS manifests and related data on YouTube videos (Alias: --no-youtube-include-hls-manifest)') parser.add_option_group(general) parser.add_option_group(network) -- cgit v1.2.3