1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-18 14:02:17 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
Luca Armaroli
331efd9773 fix for *nix platforms 2020-09-25 10:32:46 +02:00
Luca Armaroli
020518e542 minor comments and variables name changes 2020-09-25 10:32:29 +02:00
Luca Armaroli
502565dcea better webSocket initialization
It should solve all timing issues
2020-09-24 02:36:00 +02:00
Luca Armaroli
c7e0415786 process.exit on uncaught exceptions 2020-09-24 02:30:49 +02:00
Luca Armaroli
14cfe7c18e typo fix 2020-09-24 02:30:16 +02:00
Luca Armaroli
95c7150449 improved shutdown sequence
done a couple of TODOs
2020-09-20 23:15:56 +02:00
Luca Armaroli
482a506145 fixed bug on hanging on shutdown
improved shutdown sequence
2020-09-20 23:15:15 +02:00
Luca Armaroli
38edbadf4a check for aria existance
changed ffmpeg error message
2020-09-20 02:01:28 +02:00
Luca Armaroli
af4725c371 fixed linting errors 2020-09-20 01:57:04 +02:00
Luca Armaroli
c9c9fefd2d removed random useless linting test 2020-09-20 01:28:19 +02:00
Luca Armaroli
8df51555f7 implemented port finding
upgraded logging during execution
2020-09-20 01:24:01 +02:00
Luca Armaroli
3e472f9ae0 created error for no port aviable 2020-09-20 01:23:34 +02:00
Luca Armaroli
7cab44a2e4 added debug statement 2020-09-19 23:29:44 +02:00
Luca Armaroli
6c8628e5e1 code cleanup 2020-09-19 23:16:55 +02:00
Luca Armaroli
796753f170 change user agent 2020-09-12 13:51:52 +02:00
Luca Armaroli
6f082e163b marked unused code 2020-09-09 21:18:40 +02:00
Luca Armaroli
16a85325d9 removed useless old code 2020-09-09 21:18:17 +02:00
Luca Armaroli
e9dea1484e removed bug in quality selection 2020-09-09 05:40:25 +02:00
Luca Armaroli
a93b32879c updating comments 2020-09-09 05:00:28 +02:00
Luca Armaroli
f1476ffe39 done decryption/merging of video/audio/sub traks 2020-09-09 04:56:12 +02:00
Luca Armaroli
ec099e9124 - fixed progress bar not updating
- fixed comments
2020-09-09 04:55:14 +02:00
Luca Armaroli
96f4c90277 - removed useless function/properties
- added filename property to Video type
2020-09-09 04:54:17 +02:00
Luca Armaroli
a185f51eb5 fixed typo and added comment 2020-09-09 04:52:21 +02:00
Luca Armaroli
aa21e54a3d added quality option 2020-09-09 04:51:35 +02:00
Luca Armaroli
8b61f86639 added debug logging 2020-09-09 04:51:03 +02:00
Luca Armaroli
d037b7cfb2 renamed and finished decrypter 2020-09-09 04:50:24 +02:00
Luca Armaroli
1dff41c1bf Merge branch 'master' of https://github.com/snobu/destreamer into aria2c_forRealNow 2020-09-07 14:34:26 +02:00
lukaarma
4545b010b3 Mino changes (#217)
* added Unipr info in the Specialized vesion section

* added response body on API call error (verbose)
2020-09-05 19:03:11 +03:00
Luca Armaroli
903f2bfafc updated destreamer to use the new download method 2020-09-05 12:51:01 +02:00
Luca Armaroli
0c65ff7dfe added parsing of m3u8 file down to a list of links 2020-09-05 12:42:47 +02:00
Luca Armaroli
5350bc324b added debug logging 2020-09-05 12:42:00 +02:00
Luca Armaroli
d29bd54d5b very simple test for SIGINT 2020-09-05 12:41:39 +02:00
Luca Armaroli
29a6fab20b minor formatting changes 2020-09-05 12:41:05 +02:00
Luca Armaroli
6c0e37ad98 created WebSocket/Aria2c errors 2020-09-05 12:40:41 +02:00
Luca Armaroli
0d8b4204fa changed UserAgent version
added debug logging
2020-09-05 12:40:16 +02:00
Luca Armaroli
685fa27cc7 added debug and best quality flags 2020-09-05 12:39:21 +02:00
Luca Armaroli
53342932d9 first draft of Decrypter 2020-09-05 12:37:07 +02:00
Luca Armaroli
0cbc962bf3 first draft of DownloadManager 2020-09-05 12:36:39 +02:00
beppe9000
7fc7c4733a fix lint problems (#207) 2020-08-17 23:37:51 +03:00
beppe9000
a9f8b02f08 fix typo & sanitize video names on win32 (#205)
* fix typo & sanitize video names on win32
* add warning for invalid path
2020-08-15 16:38:01 +03:00
lukaarma
292c72aa1f Title template (#194)
* 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
2020-08-12 19:10:04 +03:00
lukaarma
23b71d47d4 Fix first login failing session evaluation (#191)
* fix first login triggering early using '-k' option

* updated specialized Destreamer versions
2020-07-23 22:48:10 +03:00
lukaarma
3144014a34 check for single url files/ files ending in url (#186) 2020-07-22 04:56:57 +03:00
lukaarma
78e5818cc3 Fix login for private tenants, improved refresh reliability (#181) 2020-07-19 10:50:23 +03:00
lukaarma
7bfc565a05 Major code refactoring (#164)
* 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
2020-07-18 22:49:36 +03:00
Simone Franco
81220ebe44 Fixed a typo in an error string 2020-06-09 17:59:39 +02:00
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
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