* added template option and validation
* update comment link to element list
* get author info when fetching video info
* added template elements to video object
* minor function naming changes
* better exit message for template error
* changed template elements for better substitution
* implemented video title template
* removed trailing decimals on duration
* added template description
* removed hashing from uniqueId
removed debug logger.warn()
* fixed typos in default template
added elements to template fail message
* moved ffmpeg version logging to verbose
* Added Chromium caching of identity provider cookies
* Moved token expiry check in standalone method
* Created refreshSession function
* Session is now refreshed if the token expires
* Linting fixes
* Removed debug console.log()
* Added CC support
* Created function to prompt user for download parameters (interactive mode)
* Fix data folder for puppeteer
* Fixed multiple session error
* Fix token expire time
* Moved session refreshing to a more sensible place
* Changed Metadata name to Video (to better reflect the data structure)
* Complete CLI refactoring
* Removed useless sleep function
* Added outDir check from CLI
* Complete input parsing refactoring (both inline and file)
* Fixed and improved tests to work with the new input parsing
* Moved and improved output path generation to videoUtils
* Main code refactoring, added outpath to video type
* Minor changes in spacing and type definition style
* Updated readme after code refactoring
* Fix if inputFile doesn't start with url on line 1
* Minor naming change
* Use module 'winston' for logging
* Created logge, changed all console.log and similar to use the logger
* Added verbose logging, changed posterUrl property name on Video type
* Moved GUID extraction to input parsing
* Added support for group links
* Fixed test after last input parsing update
* Removed debug proces.exit()
* Changed from desc to asc order for group videos
* Updated test to reflect GUIDs output after parsing
* Added couple of comments and restyled some imports
* More readable verbose GUIDs logging
* Removed unused errors
* Temporary fix for timeout not working in ApiClient
* Explicit class member accessibility
* Defined array naming schema to be Array<T>
* Defined type/interface schema to be type only
* A LOT of type definitions
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.