diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-05-04 21:24:00 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-05-06 20:50:44 +0530 |
commit | e8e738406a01f2a2ca07ef348b453a49d19d1614 (patch) | |
tree | 0875879fc2512c0fef9c5fe7b7945566355131db /yt_dlp/options.py | |
parent | e625be0d10d96a20702d630dcc88e3269554e172 (diff) | |
download | hypervideo-pre-e8e738406a01f2a2ca07ef348b453a49d19d1614.tar.lz hypervideo-pre-e8e738406a01f2a2ca07ef348b453a49d19d1614.tar.xz hypervideo-pre-e8e738406a01f2a2ca07ef348b453a49d19d1614.zip |
Add experimental option `--check-formats` to test the URLs before format selection
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r-- | yt_dlp/options.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py index a3fd9d122..7505e8c78 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -503,6 +503,10 @@ def parseOpts(overrideArguments=None): action='store_true', dest='prefer_free_formats', default=False, 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)") + video_format.add_option( '-F', '--list-formats', action='store_true', dest='listformats', help='List all available formats of requested videos') |