X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/af7585c824a1e405bd8afa46d87b4be322edc93c..db3ad8a67661d7b234a6954d9c6a4a9b1749f5eb:/yt_dlp/options.py 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 @@ -720,6 +720,10 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs): '--netrc-location', 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',