mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-17 05:22:18 +00:00
Fixes and refactoring (#59)
* Input url list: Fix bad Windows behavior * Minor output fix * Fix all download issues - downloads are synchronous again - fix progress bar (fix #39) - nuke fluent and switch to a bug-free ffmpeg module (fessonia) * Move destreamer process events to a new file, we may add more in the future, lets give them their own space * Destreamer: Release packages and builder script ETA when? :P * Clean up * Implement yargs checks and add --videoUrlsFile option * Refactor error handling - Human readable - No magic numbers * Handle mkdir error - remove reduntant message * gitignore: don't add hidden files * Implement --outputDirectories This gives us more flexibility on where to save videos ..especially if your videos have all the same name <.< * Rename utils -> Utils * Fix tests don't import yargs on files other than main * Create scripts directory * Update make_release path * Fix typo * Create CONTRIBUTING.md Co-authored-by: kylon <kylonux@gmail.com>
This commit is contained in:
28
README.md
28
README.md
@@ -23,7 +23,7 @@ Roadmap -
|
||||
- [X] Token cache (so you don't have to log in every time you run destreamer)
|
||||
- [ ] Download closed captions if available
|
||||
- [ ] Performance improvements (via aria2c maybe?) // _This is under consideration, we're not sure if this borders on abusing the streaming endpoints or not._
|
||||
- [ ] Single static binary (for each major OS)
|
||||
- [x] Single static binary (for each major OS)
|
||||
|
||||
Send a quality PR first and i'll add you as a contributor to the repository.
|
||||
|
||||
@@ -38,11 +38,33 @@ Hopefully this doesn't break the end user agreement for Microsoft Stream. Since
|
||||
|
||||
Destreamer takes a [honeybadger](https://www.youtube.com/watch?v=4r7wHMg5Yjg) approach towards the OS it's running on, tested on Windows, macOS and Linux, results may vary, feel free to open an issue if trouble arise.
|
||||
|
||||
|
||||
## HOW TO BUILD
|
||||
You can build destreamer on any OS.
|
||||
|
||||
You will find destreamer.js in `build/src` folder.
|
||||
|
||||
To build destreamer.js run the following commands:
|
||||
* `npm install`
|
||||
* `npm run -s build`
|
||||
|
||||
## USAGE
|
||||
|
||||
* `npm install` to restore packages
|
||||
* `npm run -s build` to transpile TypeScript to JavaScript
|
||||
* Unpack destreamer and chromium into the same folder
|
||||
* Open a new terminal and navigate to that folder
|
||||
* Run destreamer executable
|
||||
|
||||
Linux / MacOS
|
||||
```
|
||||
$ ./destreamer
|
||||
```
|
||||
|
||||
Windows
|
||||
```
|
||||
destreamer.exe
|
||||
```
|
||||
|
||||
## Options
|
||||
```
|
||||
$ node ./destreamer.js
|
||||
|
||||
|
||||
Reference in New Issue
Block a user