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

251 Commits

Author SHA1 Message Date
snobu
f9bc0c7128 I've had enough of Node 8.x horse manure 2021-01-13 20:53:00 +02:00
snobu
2c38517bcd Fix some dumb npm s*** 2021-01-13 20:18:50 +02:00
lukaarma
f8207f4fd1 Group parsing fix and error out on old ffmpeg version (#298)
* fixed parsing for group with more than 100 videos

* updated all packages to latest version

* Error on old ffmpeg binaries (closes #294)
minor linting fixes

* automatic update of files

Co-authored-by: Adrian Calinescu <foo@snobu.org>
2021-01-13 20:12:12 +02:00
lukaarma
58122d5c4e Merge pull request #307 from snobu/dependabot/npm_and_yarn/axios-0.21.1
Bump axios from 0.19.2 to 0.21.1 (vulnerability fix)
2021-01-08 16:16:23 +01:00
Adrian Calinescu
0726bd90f4 Holiday cleanup 2021-01-07 18:33:57 +02:00
dependabot[bot]
2d0407e5c8 Bump axios from 0.19.2 to 0.21.1
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-05 23:14:38 +00:00
Adrian Calinescu
0da9c6fb5f Fixup for the holidays 2020-12-22 21:51:07 +02:00
Adrian Calinescu
f26204c38a Revert "Fixed parsing for group with more than 100 videos (#288)" (#295)
This reverts commit cd1ac82fea.
2020-12-15 13:02:23 +02:00
lukaarma
cd1ac82fea Fixed parsing for group with more than 100 videos (#288)
* fixed parsing for group with more than 100 videos
* updated all packages to latest version
2020-12-15 12:55:10 +02:00
Adrian Calinescu
fbe8de00de Added link to aria branch in README 2020-12-03 00:07:13 +02:00
fulminemizzega
b48af65285 fix quotes in input file example in README.md (#283)
This should close #281
2020-11-22 20:54:42 +02:00
snobu
e9070511cf Srsly really fixed group download this time 2020-11-14 20:08:45 +02:00
snobu
ad483f3eb7 Fix group download, now limited to first 100 videos 2020-11-14 19:54:50 +02:00
Adrian Calinescu
ac0fdf5468 Fix MSEdge launch params 2020-10-15 16:07:20 +03:00
lukaarma
15c420333e Update report-trouble.md (#240) 2020-10-08 16:02:36 +03:00
lukaarma
22968f42ea Misc fixes (#244)
* cleared up docs

* fix 401 bug for images thumbnail
2020-10-08 16:00:28 +03:00
lukaarma
ec24ff9e1b Merge pull request #242 from rohit404404/patch-1
Update README.md
2020-10-03 21:00:46 +02:00
Rohit Devmore
389be33f74 Update README.md
made videos path clearer
2020-10-04 00:18:33 +05:30
Rohit Devmore
8848f293d7 Update README.md
made videos path clear
2020-10-04 00:07:40 +05:30
Adrian Calinescu
de6ab1d8af Fix syntax highlight 2020-09-17 12:12:54 +03:00
Adrian Calinescu
01014df068 Added README section on plugging in your own browser 2020-09-17 12:11:58 +03:00
Adrian Calinescu
f2b7a9ba96 Add help us pick a codename 2020-09-12 22:59:42 +03:00
Adrian Calinescu
b6c0dfe98d Update README.md 2020-09-12 22:58:51 +03:00
Adrian Calinescu
1fbe36629b Add v3 teaser 2020-09-12 22:33:20 +03: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
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
Adrian Calinescu
5b62c50b22 Fix version number 2020-08-14 18:15:48 +03:00
Adrian Calinescu
6d99ae7d85 Fix wording for title template in README 2020-08-12 19:20:18 +03:00
Adrian Calinescu
e1108aed9f Add missing --outputTemplate to Usage in README 2020-08-12 19:14:41 +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
Adrian Calinescu
ddecd9e2bc Minor correction in README 2020-07-23 22:49:29 +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
dependabot[bot]
0be6ad8b60 Bump lodash from 4.17.15 to 4.17.19 (#179) 2020-07-18 22:58:55 +03:00
Adrian Calinescu
400aeceb76 Update README to refrect 2.1 changes 2020-07-18 22:57:12 +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
lukaarma
89a942eb24 Merge pull request #157 from Simizfo/master
Fixed a typo in an error string
2020-06-09 18:06:49 +02:00
Simone Franco
81220ebe44 Fixed a typo in an error string 2020-06-09 17:59:39 +02:00
Adrian Calinescu
5f4ea274c6 Add UniPi link 2020-05-28 22:49:14 +03: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
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