]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/options.py
Add option `--netrc-cmd` (#6682)
[yt-dlp.git] / yt_dlp / options.py
index 1c8d73f16e06fe64e8ca2b6aa67bb9fbd5fe346c..b174a24af76375f84b22cdf16ea904dd97ddcc5e 100644 (file)
@@ -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',