Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
--password does not allow for asking interactively #10075
Comments
|
Left out means |
|
Note that the |
youtube-dl's--helppage says-p, --password PASSWORD Account password. If this option is left out, youtube-dl will ask interactively.This means that, when the argument to
-p(and--password, respectively) is omitted, it is to prompt for the user's password for downloading a video. This is a useful feature to have, as typing a password as plain text into one's shell is insecure, especially if it saves a log of commands run (i.e. GNU Bash).However, with the current latest stable version of
youtube-dl, the following error can be seen when attempting to makeyoutube-dlprompt for the password.youtube-dl: error: --password option requires an argumentHowever, the
--helppage states that--passwordshould not require an argument so that it can allow one to be prompted for a password. This shows a conflict betweenyoutube-dl's behavior and its documentation.