Commit graph

260 commits

Author SHA1 Message Date
Adrian Calinescu
fa310661e9
Fix curly braces to comply with eslint rules (#141) 2020-05-19 18:41:28 +03:00
Adrian Calinescu
6132f895f3
Code cleanup to cleanly lint, added lint step to GitHub Action (#138) 2020-05-18 22:36:38 +03:00
Adrian Calinescu
1f6870128b
Add newline before return and mandate curly braces (#98) 2020-05-18 22:27:43 +03:00
snobu
417ddb19a4 Add outstanding bugs to README 2020-05-18 20:52:55 +03:00
snobu
e139465428 Pin puppeteer version so we can still support Node 8.x 2020-05-18 20:43:17 +03:00
Adrian Calinescu
2c48d103f2
Introduce singleton API client with retry policy (#130)
* Add singleton http client
* Removed refresh token logic
* Further cleanup after refresh token
* Make tests faster maybe
2020-05-18 20:34:57 +03:00
Adrian Calinescu
3cf49c5d1c
Fix passing arguments to Utils.ts (#137) 2020-05-18 20:15:22 +03:00
Gurjeet Singh
d9617df5ed
Don't wait for email field if username isn't provided (#123)
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.
2020-05-07 08:52:31 +03:00
molikuner
3a8ed600ac
Fix auto rename for duplicate video titles (#118)
* 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>
2020-05-06 10:28:17 +03:00
snobu
94b6da7fae Fix output format in CLI 2020-05-02 17:03:47 +03:00
snobu
ec959b7133 Fix output format in README 2020-05-02 17:02:59 +03:00
snobu
8902ccef80 Renamed re-encoding parameters, amended README 2020-05-02 16:58:20 +03:00
molikuner
c21fb96ff6
Add option to change encoder and container (#114)
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.
2020-05-02 16:47:18 +03:00
kylon
516f6ce2cd
Preserve input URL array order
* Implement forEachAsync
* Preserve input URL array order

Co-authored-by: kylon <kylonux@gmail.com>
2020-05-01 01:01:15 +03:00
Adrian Calinescu
0f7f585deb
Fix label in .cmd script (#112)
Fixes https://github.com/snobu/destreamer/issues/111
2020-05-01 00:48:34 +03:00
Adrian Calinescu
778488c8ce
Added link to specialized destreamer for Poli Milano (#103) 2020-04-27 21:55:35 +03:00
Adrian Calinescu
98069048a8
Fix test (#99) 2020-04-26 23:49:30 +03:00
Adrian Calinescu
042e79d57f
Add mid-download token refresh, fix headers length overflow bug (#93)
* Add mid-download token refresh and header size fix for Node v8

* Refactor puppeteer test

* Remove note on mid-download token refresh bug

* Add source maps to build step

* Fix npm build script
2020-04-26 22:54:05 +03:00
Don
67cb62ce3c
Add noCleanup argument (#95)
* Added noCleanup argument (don't delete temp audio/video files on ffmpeg error)
* Added argument to README

Co-authored-by: Aleksa Savic <savicaleksa83@gmail.com>
2020-04-26 18:03:03 +03:00
kylon
81a15b2023
Discard url queries when sanitizing urls (#77)
authored-by: kylon <kylonux@gmail.com>
2020-04-26 00:51:07 +03:00
Adrian Calinescu
df7fe98a7f
Link to WSL issue from README 2020-04-25 16:21:03 +03:00
snobu
f339166aa3 Fix git download link 2020-04-24 11:22:00 +03:00
snobu
ef7aca9b7f Added link to Node downloads page 2020-04-24 11:20:45 +03:00
snobu
37ea6e04ab Fix section title 2020-04-24 11:17:28 +03:00
snobu
aa12b2d0fd Reshuffled secions 2020-04-24 11:16:44 +03:00
snobu
08849336a9 Moved unsupported scenarios to its own section 2020-04-24 11:15:49 +03:00
snobu
5fd648cca1 Fix formatting 2020-04-24 11:13:53 +03:00
snobu
167da01ffd Add note on WSL 2020-04-24 11:13:21 +03:00
snobu
be73e119ef Added Mac screenshot and chmoded destreamer.sh for execution 2020-04-22 11:31:23 +03:00
Adrian Calinescu
a209d947b3
Workaround for Cygwin/MSYS progress bar (#84) 2020-04-22 01:22:59 +03:00
Adrian Calinescu
10867cef22
Fix typo 2020-04-21 18:23:56 +03:00
Adrian Calinescu
922b3610ae
Add note on Cygwin/MinGW/MSYS 2020-04-21 18:22:51 +03:00
Adrian Calinescu
352b1eaa5e
Reintroduce Node 8.x support (#79)
* Fix Node 8.x support

* Add Node 8.x to CI build matrix
2020-04-21 12:42:08 +03:00
snobu
64151520e2 Add ffmpeg download link to README 2020-04-20 23:47:11 +03:00
snobu
83a5a9160e Deprecating Node 8.x 2020-04-20 23:29:36 +03:00
Bill
318026895b
Account for addtional query parameters when parsing video ID (#75)
* Account for extra query parameters when parsing video ID
* Use URL module to parse URL
2020-04-20 18:54:41 +03:00
snobu
087850821c Fix git is a dependecy as well 2020-04-20 15:43:38 +03:00
snobu
dcaf50eb00 Cleanup package.json 2020-04-18 22:35:26 +03:00
snobu
69ee08ac78 Cleanup npm run command 2020-04-18 22:34:29 +03:00
snobu
02946dd7fd Add elevated shell note to README 2020-04-18 20:21:12 +03:00
snobu
de8585888f Fix error message for elevated shell 2020-04-18 20:19:27 +03:00
snobu
41967ab949 Fix typo 2020-04-18 19:42:19 +03:00
snobu
67d3d4fa45 Add error handling improvements to README 2020-04-18 18:09:59 +03:00
snobu
6dd095dcaa Fix GitHub Action for building master branch 2020-04-18 17:22:04 +03:00
snobu
4ec8d3963e Cleanup CONTRIBUTING.md 2020-04-18 17:17:17 +03:00
snobu
32113651f7 Add outstanding bug again 2020-04-18 17:13:32 +03:00
snobu
27fd1ceb6b Add outstanding bug 2020-04-18 17:11:57 +03:00
snobu
0773beec7c Fix contributing 2020-04-18 16:18:59 +03:00
snobu
3809570fba Added contributing section 2020-04-18 16:17:54 +03:00
snobu
c49ed47e65 Added fix more bugs 2020-04-18 16:14:56 +03:00