diff options
author | Nicolai Dagestad <nicolai.github@dagestad.fr> | 2023-06-21 05:07:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 08:37:42 +0530 |
commit | db3ad8a67661d7b234a6954d9c6a4a9b1749f5eb (patch) | |
tree | f3ad8c554513bd06901ae78b2642c9a1ff407d81 /yt_dlp/options.py | |
parent | af7585c824a1e405bd8afa46d87b4be322edc93c (diff) | |
download | hypervideo-pre-db3ad8a67661d7b234a6954d9c6a4a9b1749f5eb.tar.lz hypervideo-pre-db3ad8a67661d7b234a6954d9c6a4a9b1749f5eb.tar.xz hypervideo-pre-db3ad8a67661d7b234a6954d9c6a4a9b1749f5eb.zip |
Add option `--netrc-cmd` (#6682)
Authored by: NDagestad, pukkandan
Closes #1706
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 1c8d73f16..b174a24af 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -721,6 +721,10 @@ def create_parser(): dest='netrc_location', metavar='PATH', help='Location of .netrc authentication data; either the path or its containing directory. Defaults to ~/.netrc') authentication.add_option( + '--netrc-cmd', + dest='netrc_cmd', metavar='NETRC_CMD', + help='Command to execute to get the credentials for an extractor.') + authentication.add_option( '--video-password', dest='videopassword', metavar='PASSWORD', help='Video password (vimeo, youku)') |