From 451e89e2281910808ef4f5fc2d07d0e64ffd56c6 Mon Sep 17 00:00:00 2001 From: snobu Date: Mon, 30 Mar 2020 11:22:19 +0300 Subject: [PATCH] Fix README for username being optional --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d1c4b8d..3c18e37 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Options: --help Show help [boolean] --version Show version number [boolean] --videoUrls [array] [required] - --username [string] [required] + --username [string] --outputDirectory [string] [default: "videos"] --format, -f Expose youtube-dl --format option, for details see @@ -64,6 +64,8 @@ $ node destreamer.js --username username@example.com --outputDirectory "videos" "https://web.microsoftstream.com/video/VIDEO-2" \ "https://web.microsoftstream.com/video/VIDEO-3" ``` +Passing `--username` is optional. It's there to make logging in faster (the username field will be populated automatically on the login form). + You can use an absolute path for `--outputDirectory`, for example `/mnt/videos`. Your video URLs **must** include the URL schema (the leading `https://`).