diff options
author | dirkf <fieldhouse@gmx.net> | 2024-07-02 14:54:25 +0100 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2024-07-02 15:38:50 +0100 |
commit | 37cea84f775129ad715b9bcd617251c831fcc980 (patch) | |
tree | 88b8024cabe8d56a67b18ffb53e19d00238169ab /youtube_dl/options.py | |
parent | 46521096433aceaa41b4caa845bed22ca6f377ce (diff) |
[core,utils] Support unpublicised `--no-check-extensions`
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r-- | youtube_dl/options.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 434f520d3..61705d1f0 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -534,6 +534,10 @@ def parseOpts(overrideArguments=None): action='store_true', dest='no_check_certificate', default=False, help='Suppress HTTPS certificate validation') workarounds.add_option( + '--no-check-extensions', + action='store_true', dest='no_check_extensions', default=False, + help='Suppress file extension validation') + workarounds.add_option( '--prefer-insecure', '--prefer-unsecure', action='store_true', dest='prefer_insecure', help='Use an unencrypted connection to retrieve information about the video. (Currently supported only for YouTube)') |