1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-21 15:32:16 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Adrian Calinescu
0f2d902d2e Fix verbose logging when we get JSON back
Which i guess was like 99% of the time? :)
2020-11-14 19:59:11 +02:00
Luca Armaroli
3249759c29 Merge branch 'master' of https://github.com/snobu/destreamer into aria2c_forRealNow 2020-10-11 21:52:20 +02:00
lukaarma
22968f42ea Misc fixes (#244)
* cleared up docs

* fix 401 bug for images thumbnail
2020-10-08 16:00:28 +03:00
Luca Armaroli
796753f170 change user agent 2020-09-12 13:51:52 +02:00
Luca Armaroli
8b61f86639 added debug logging 2020-09-09 04:51:03 +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
0d8b4204fa changed UserAgent version
added debug logging
2020-09-05 12:40:16 +02: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
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