Destreamer waits for the `<input type="email">` tag to appear. But in
some corporate environments, like mine, the videos are protected by
proxies, which in turn ar protected by SSO/SAML. Since the SSO login may
not have that input field's type set to 'email', the wait would
eventually timeout.
With this fix we wait for the "email" field only if --username option
was used. Otherwise we let the user take the actions manually to take
the browser to the video page.
* Fix `makeUniqueTitle` was not working with (custom) output format
* Add option to skip already existing files
* Update README to include --skip option
Co-authored-by: molikuner <molikuner@gmail.com>
This change enables the user to select a specific
container and/or encoder for the output. As this change
forces ffmpeg to use copy by default, destreamer now uses
mkv as default output. This might be needed when MS Streams
doesn't offer a mp4 compatible stream. mkv offers much more
support.
* Delete the video file on ffmpeg error
* rework chunk calculation (with more tests it turns out it was not good for all durations)
Co-authored-by: kylon <kylonux@gmail.com>
* 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>
* Add fluent-ffmpeg back and cross-platform progress bar
* Repo clean up
Move ts files to src, build and output js files to build folder
* Do not print messages when exit code is 0
this is triggered by signal events
Co-authored-by: kylon <kylonux@gmail.com>