aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/options.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-07-15 22:49:59 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-07-20 02:42:11 +0530
commit0ba692acc8feffd46b6e1085fb4a2849b685945c (patch)
tree066f255d3e5810cf7a812cd13283cf730853db4c /yt_dlp/options.py
parentd9488f69c111c70e46dbe94773ff3b34c08b0298 (diff)
downloadhypervideo-pre-0ba692acc8feffd46b6e1085fb4a2849b685945c.tar.lz
hypervideo-pre-0ba692acc8feffd46b6e1085fb4a2849b685945c.tar.xz
hypervideo-pre-0ba692acc8feffd46b6e1085fb4a2849b685945c.zip
[youtube] Extract more thumbnails
* The thumbnail URLs are hard-coded and their actual existence is tested lazily * Added option `--no-check-formats` to not test them Closes #340, Related: #402, #337, https://github.com/ytdl-org/youtube-dl/issues/29049
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r--yt_dlp/options.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py
index 2a42712b6..f9201bf01 100644
--- a/yt_dlp/options.py
+++ b/yt_dlp/options.py
@@ -524,8 +524,12 @@ def parseOpts(overrideArguments=None):
help="Don't give any special preference to free containers (default)")
video_format.add_option(
'--check-formats',
- action='store_true', dest='check_formats', default=False,
- help="Check that the formats selected are actually downloadable (Experimental)")
+ action='store_true', dest='check_formats', default=None,
+ help='Check that the formats selected are actually downloadable')
+ video_format.add_option(
+ '--no-check-formats',
+ action='store_false', dest='check_formats',
+ help='Do not check that the formats selected are actually downloadable')
video_format.add_option(
'-F', '--list-formats',
action='store_true', dest='listformats',