mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 23:26:53 +01:00
Deprecate more options
* `--all-formats` = `-f all` * `--include-ads` is not implemented
This commit is contained in:
parent
f37468c41f
commit
d9aa233295
@ -297,9 +297,6 @@ ## Video Selection:
|
|||||||
--break-on-reject Stop the download process when encountering
|
--break-on-reject Stop the download process when encountering
|
||||||
a file that has been filtered out
|
a file that has been filtered out
|
||||||
--no-download-archive Do not use archive file (default)
|
--no-download-archive Do not use archive file (default)
|
||||||
--include-ads Download advertisements as well
|
|
||||||
(experimental)
|
|
||||||
--no-include-ads Do not download advertisements (default)
|
|
||||||
|
|
||||||
## Download Options:
|
## Download Options:
|
||||||
-N, --concurrent-fragments N Number of fragments to download
|
-N, --concurrent-fragments N Number of fragments to download
|
||||||
@ -558,7 +555,6 @@ ## Video Format Options:
|
|||||||
into a single file
|
into a single file
|
||||||
--no-audio-multistreams Only one audio stream is downloaded for
|
--no-audio-multistreams Only one audio stream is downloaded for
|
||||||
each output file (default)
|
each output file (default)
|
||||||
--all-formats Download all available video formats
|
|
||||||
--prefer-free-formats Prefer video formats with free containers
|
--prefer-free-formats Prefer video formats with free containers
|
||||||
over non-free ones of same quality. Use
|
over non-free ones of same quality. Use
|
||||||
with "-S ext" to strictly prefer free
|
with "-S ext" to strictly prefer free
|
||||||
@ -1245,6 +1241,7 @@ # DEPRECATED OPTIONS
|
|||||||
-A, --auto-number -o "%(autonumber)s-%(id)s.%(ext)s"
|
-A, --auto-number -o "%(autonumber)s-%(id)s.%(ext)s"
|
||||||
-t, --title -o "%(title)s-%(id)s.%(ext)s"
|
-t, --title -o "%(title)s-%(id)s.%(ext)s"
|
||||||
-l, --literal -o accepts literal names
|
-l, --literal -o accepts literal names
|
||||||
|
--all-formats -f all
|
||||||
--autonumber-size NUMBER Use string formatting. Eg: %(autonumber)03d
|
--autonumber-size NUMBER Use string formatting. Eg: %(autonumber)03d
|
||||||
--metadata-from-title FORMAT --parse-metadata "%(title)s:FORMAT"
|
--metadata-from-title FORMAT --parse-metadata "%(title)s:FORMAT"
|
||||||
--prefer-avconv avconv is no longer officially supported (Alias: --no-prefer-ffmpeg)
|
--prefer-avconv avconv is no longer officially supported (Alias: --no-prefer-ffmpeg)
|
||||||
@ -1254,6 +1251,8 @@ # DEPRECATED OPTIONS
|
|||||||
--avconv-location avconv is no longer officially supported
|
--avconv-location avconv is no longer officially supported
|
||||||
-C, --call-home Not implemented
|
-C, --call-home Not implemented
|
||||||
--no-call-home Default
|
--no-call-home Default
|
||||||
|
--include-ads Not implemented
|
||||||
|
--no-include-ads Default
|
||||||
--write-srt --write-subs
|
--write-srt --write-subs
|
||||||
--no-write-srt --no-write-subs
|
--no-write-srt --no-write-subs
|
||||||
--srt-lang LANGS --sub-langs LANGS
|
--srt-lang LANGS --sub-langs LANGS
|
||||||
|
@ -402,11 +402,11 @@ def _dict_from_multiple_values_options_callback(
|
|||||||
selection.add_option(
|
selection.add_option(
|
||||||
'--include-ads',
|
'--include-ads',
|
||||||
dest='include_ads', action='store_true',
|
dest='include_ads', action='store_true',
|
||||||
help='Download advertisements as well (experimental)')
|
help=optparse.SUPPRESS_HELP)
|
||||||
selection.add_option(
|
selection.add_option(
|
||||||
'--no-include-ads',
|
'--no-include-ads',
|
||||||
dest='include_ads', action='store_false',
|
dest='include_ads', action='store_false',
|
||||||
help='Do not download advertisements (default)')
|
help=optparse.SUPPRESS_HELP)
|
||||||
|
|
||||||
authentication = optparse.OptionGroup(parser, 'Authentication Options')
|
authentication = optparse.OptionGroup(parser, 'Authentication Options')
|
||||||
authentication.add_option(
|
authentication.add_option(
|
||||||
@ -489,7 +489,7 @@ def _dict_from_multiple_values_options_callback(
|
|||||||
video_format.add_option(
|
video_format.add_option(
|
||||||
'--all-formats',
|
'--all-formats',
|
||||||
action='store_const', dest='format', const='all',
|
action='store_const', dest='format', const='all',
|
||||||
help='Download all available video formats')
|
help=optparse.SUPPRESS_HELP)
|
||||||
video_format.add_option(
|
video_format.add_option(
|
||||||
'--prefer-free-formats',
|
'--prefer-free-formats',
|
||||||
action='store_true', dest='prefer_free_formats', default=False,
|
action='store_true', dest='prefer_free_formats', default=False,
|
||||||
|
Loading…
Reference in New Issue
Block a user