mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-17 05:22:18 +00:00
Update README.md
This commit is contained in:
17
README.md
17
README.md
@@ -33,12 +33,23 @@ Destreamer takes a [honeybadger](https://www.youtube.com/watch?v=4r7wHMg5Yjg) ap
|
||||
* Edit `destreamer.ts` and replace the username const with your own, you may still need to enter your password or go through 2FA if you don't have the STS cookie saved in Chrome. If you do (i.e. you usually log in to Microsoft Stream with Chrome), then you may try turning `headless: false` to `true` for a truly headless experience)
|
||||
=======
|
||||
* Edit `destreamer.ts` (`.js` if using the vanilla JS master branch) and replace the username const with your own, you may still need to enter your password or go through 2FA if you don't have the STS cookie saved in Chrome. If you do (i.e. you usually log in to Microsoft Stream with Chrome), then you may try turning `headless: false` to `true` for a truly headless experience)
|
||||
* `npm install` to restore packages
|
||||
* `npm start <URL of the video>`
|
||||
* `npm install` to restore packages* `npm install` to restore packages
|
||||
* `npm run -s build` to transpile TypeScript to JavaScript
|
||||
* `node ./destreamer.js`
|
||||
```
|
||||
Options:
|
||||
--help Show help [boolean]
|
||||
--version Show version number [boolean]
|
||||
--videoUrls [array] [required]
|
||||
--username [string] [required]
|
||||
--outputDirectory [string] [default: "videos"]
|
||||
```
|
||||
* `node destreamer.js --username username@example.com --outputDirectory "C:\videos" --videoUrls "https://web.microsoftstream.com/video/VIDEO-1" "https://web.microsoftstream.com/video/VIDEO-2" "https://web.microsoftstream.com/video/VIDEO-3"`
|
||||
|
||||
### To download a list of videos
|
||||
|
||||
There's no implementation that does that (yet). There's some work happening to support this, give it some time.
|
||||
~~There's no implementation that does that (yet). There's some work happening to support this, give it some time.~~
|
||||
See usage above.
|
||||
|
||||
## EXPECTED OUTPUT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user