forked from snobu/destreamer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/snobu/destreamer into dev
- Loading branch information
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,18 +64,23 @@ Options: | |
[boolean] [default: false] | ||
# Make sure you use the right escape char for your shell if using line breaks (as this example shows). | ||
# For PowerShell your escape char is the backtick (`) instead of backslash (\), for cmd.exe use caret (^). | ||
$ node destreamer.js --username [email protected] --outputDirectory "videos" \ | ||
--videoUrls "https://web.microsoftstream.com/video/VIDEO-1" \ | ||
"https://web.microsoftstream.com/video/VIDEO-2" \ | ||
"https://web.microsoftstream.com/video/VIDEO-3" | ||
``` | ||
|
||
You can create a txt file containing your video urls, separated by `new line`, and run destreamer as follow: | ||
You can create a `.txt` file containing your video URLs, one video per line. The text file can have any name, followed by the `.txt` extension. Run destreamer as follows: | ||
``` | ||
$ node destreamer.js --username [email protected] --outputDirectory "videos" \ | ||
--videoUrls myUrlsFile.txt | ||
--videoUrls list.txt | ||
``` | ||
|
||
**DO NOT RUN IN AN ELEVATED SHELL ON WINDOWS**, not going to work, Chromium will keep crashing. | ||
|
||
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`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters