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.
Do not run destreamer as privileged user
chromium does not run as root/admin unless its sandbox is disabled. To prevent security breaches, we will not support running as privileged user. Everyone is free to make the necessary changes to remove this restriction, in which case destreamer will not be responsible for any issue or data loss. + Update README
- Loading branch information
kylon
committed
Apr 6, 2020
1 parent
f01ef06
commit c519795
Showing
4 changed files
with
443 additions
and
243 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 |
---|---|---|
|
@@ -62,11 +62,13 @@ Options: | |
--verbose, -v Print additional information to the console | ||
(use this before opening an issue on GitHub) | ||
[boolean] [default: false] | ||
``` | ||
|
||
Make sure you use the right escape char for your shell if using line breaks (as this example shows). | ||
|
||
# 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 (^). | ||
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" \ | ||
|
@@ -79,8 +81,6 @@ $ node destreamer.js --username [email protected] --outputDirectory "videos" | |
--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
Oops, something went wrong.