mirror of https://github.com/yt-dlp/yt-dlp.git
[documentation] Fix documentation of "Extractor Options"
This commit is contained in:
parent
310c2ed2c6
commit
e409895f13
29
README.md
29
README.md
|
@ -531,18 +531,6 @@ Then simply type this
|
||||||
(default)
|
(default)
|
||||||
--list-formats-old Present the output of -F in the old form
|
--list-formats-old Present the output of -F in the old form
|
||||||
(Alias: --no-list-formats-as-table)
|
(Alias: --no-list-formats-as-table)
|
||||||
--youtube-include-dash-manifest Download the DASH manifests and related
|
|
||||||
data on YouTube videos (default)
|
|
||||||
(Alias: --no-youtube-skip-dash-manifest)
|
|
||||||
--youtube-skip-dash-manifest Do not download the DASH manifests and
|
|
||||||
related data on YouTube videos
|
|
||||||
(Alias: --no-youtube-include-dash-manifest)
|
|
||||||
--youtube-include-hls-manifest Download the HLS manifests and related data
|
|
||||||
on YouTube videos (default)
|
|
||||||
(Alias: --no-youtube-skip-hls-manifest)
|
|
||||||
--youtube-skip-hls-manifest Do not download the HLS manifests and
|
|
||||||
related data on YouTube videos
|
|
||||||
(Alias: --no-youtube-include-hls-manifest)
|
|
||||||
--merge-output-format FORMAT If a merge is required (e.g.
|
--merge-output-format FORMAT If a merge is required (e.g.
|
||||||
bestvideo+bestaudio), output to given
|
bestvideo+bestaudio), output to given
|
||||||
container format. One of mkv, mp4, ogg,
|
container format. One of mkv, mp4, ogg,
|
||||||
|
@ -700,6 +688,23 @@ Then simply type this
|
||||||
(Alias: --no-ignore-dynamic-mpd)
|
(Alias: --no-ignore-dynamic-mpd)
|
||||||
--ignore-dynamic-mpd Do not process dynamic DASH manifests
|
--ignore-dynamic-mpd Do not process dynamic DASH manifests
|
||||||
(Alias: --no-allow-dynamic-mpd)
|
(Alias: --no-allow-dynamic-mpd)
|
||||||
|
--hls-split-discontinuity Split HLS playlists to different formats at
|
||||||
|
discontinuities such as ad breaks
|
||||||
|
--no-hls-split-discontinuity Do not split HLS playlists to different
|
||||||
|
formats at discontinuities such as ad
|
||||||
|
breaks (default)
|
||||||
|
--youtube-include-dash-manifest Download the DASH manifests and related
|
||||||
|
data on YouTube videos (default)
|
||||||
|
(Alias: --no-youtube-skip-dash-manifest)
|
||||||
|
--youtube-skip-dash-manifest Do not download the DASH manifests and
|
||||||
|
related data on YouTube videos
|
||||||
|
(Alias: --no-youtube-include-dash-manifest)
|
||||||
|
--youtube-include-hls-manifest Download the HLS manifests and related data
|
||||||
|
on YouTube videos (default)
|
||||||
|
(Alias: --no-youtube-skip-hls-manifest)
|
||||||
|
--youtube-skip-hls-manifest Do not download the HLS manifests and
|
||||||
|
related data on YouTube videos
|
||||||
|
(Alias: --no-youtube-include-hls-manifest)
|
||||||
|
|
||||||
# CONFIGURATION
|
# CONFIGURATION
|
||||||
|
|
||||||
|
|
|
@ -364,7 +364,7 @@ class YoutubeDL(object):
|
||||||
nopart, updatetime, buffersize, ratelimit, min_filesize, max_filesize, test,
|
nopart, updatetime, buffersize, ratelimit, min_filesize, max_filesize, test,
|
||||||
noresizebuffer, retries, continuedl, noprogress, consoletitle,
|
noresizebuffer, retries, continuedl, noprogress, consoletitle,
|
||||||
xattr_set_filesize, external_downloader_args, hls_use_mpegts,
|
xattr_set_filesize, external_downloader_args, hls_use_mpegts,
|
||||||
hls_split_discontinuity, http_chunk_size.
|
http_chunk_size.
|
||||||
|
|
||||||
The following options are used by the post processors:
|
The following options are used by the post processors:
|
||||||
prefer_ffmpeg: If False, use avconv instead of ffmpeg if both are available,
|
prefer_ffmpeg: If False, use avconv instead of ffmpeg if both are available,
|
||||||
|
@ -376,11 +376,19 @@ class YoutubeDL(object):
|
||||||
postprocessor/executable. The dict can also have "PP+EXE" keys
|
postprocessor/executable. The dict can also have "PP+EXE" keys
|
||||||
which are used when the given exe is used by the given PP.
|
which are used when the given exe is used by the given PP.
|
||||||
Use 'default' as the name for arguments to passed to all PP
|
Use 'default' as the name for arguments to passed to all PP
|
||||||
The following options are used by the Youtube extractor:
|
|
||||||
|
The following options are used by the extractors:
|
||||||
|
dynamic_mpd: Whether to process dynamic DASH manifests (default: True)
|
||||||
|
hls_split_discontinuity: Split HLS playlists to different formats at
|
||||||
|
discontinuities such as ad breaks (default: False)
|
||||||
youtube_include_dash_manifest: If True (default), DASH manifests and related
|
youtube_include_dash_manifest: If True (default), DASH manifests and related
|
||||||
data will be downloaded and processed by extractor.
|
data will be downloaded and processed by extractor.
|
||||||
You can reduce network I/O by disabling it if you don't
|
You can reduce network I/O by disabling it if you don't
|
||||||
care about DASH.
|
care about DASH. (only for youtube)
|
||||||
|
youtube_include_hls_manifest: If True (default), HLS manifests and related
|
||||||
|
data will be downloaded and processed by extractor.
|
||||||
|
You can reduce network I/O by disabling it if you don't
|
||||||
|
care about HLS. (only for youtube)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
_NUMERIC_FIELDS = set((
|
_NUMERIC_FIELDS = set((
|
||||||
|
|
|
@ -504,22 +504,6 @@ def parseOpts(overrideArguments=None):
|
||||||
'--list-formats-old', '--no-list-formats-as-table',
|
'--list-formats-old', '--no-list-formats-as-table',
|
||||||
action='store_false', dest='listformats_table',
|
action='store_false', dest='listformats_table',
|
||||||
help='Present the output of -F in the old form (Alias: --no-list-formats-as-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(
|
video_format.add_option(
|
||||||
'--merge-output-format',
|
'--merge-output-format',
|
||||||
action='store', dest='merge_output_format', metavar='FORMAT', default=None,
|
action='store', dest='merge_output_format', metavar='FORMAT', default=None,
|
||||||
|
@ -1235,6 +1219,22 @@ def parseOpts(overrideArguments=None):
|
||||||
'--no-hls-split-discontinuity',
|
'--no-hls-split-discontinuity',
|
||||||
dest='hls_split_discontinuity', action='store_false',
|
dest='hls_split_discontinuity', action='store_false',
|
||||||
help='Do not split HLS playlists to different formats at discontinuities such as ad breaks (default)')
|
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(general)
|
||||||
parser.add_option_group(network)
|
parser.add_option_group(network)
|
||||||
|
|
Loading…
Reference in New Issue