From db3ad8a67661d7b234a6954d9c6a4a9b1749f5eb Mon Sep 17 00:00:00 2001 From: Nicolai Dagestad Date: Wed, 21 Jun 2023 05:07:42 +0200 Subject: Add option `--netrc-cmd` (#6682) Authored by: NDagestad, pukkandan Closes #1706 --- yt_dlp/options.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to '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 create_parser(): '--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', -- cgit v1.2.3