Commit graph

9 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
3cf49c5d1c
Fix passing arguments to Utils.ts (#137) 2020-05-18 20:15:22 +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
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
kylon
81a15b2023
Discard url queries when sanitizing urls (#77)
authored-by: kylon <kylonux@gmail.com>
2020-04-26 00:51:07 +03:00
snobu
609cf43ee0 v2.0 RELEASE 2020-04-18 15:34:26 +03:00
kylon
d89c0eea8c
Fix progress bar, remove temp file on ffmpeg error (#66)
* Delete the video file on ffmpeg error

* rework chunk calculation (with more tests it turns out it was not good for all durations)

Co-authored-by: kylon <kylonux@gmail.com>
2020-04-16 19:21:02 +03:00
kylon
176fa6e214
Fixes and refactoring (#59)
* Input url list: Fix bad Windows behavior

* Minor output fix

* Fix all download issues
  - downloads are synchronous again
  - fix progress bar (fix #39)
  - nuke fluent and switch to a bug-free ffmpeg module (fessonia)

* Move destreamer process events to a new file, we may add more in the future, lets give them their own space

* Destreamer: Release packages and builder script

ETA when? :P

* Clean up

* Implement yargs checks and add --videoUrlsFile option

* Refactor error handling
  - Human readable
  - No magic numbers

* Handle mkdir error
  - remove reduntant message

* gitignore: don't add hidden files

* Implement --outputDirectories

This gives us more flexibility on where to save videos

..especially if your videos have all the same name <.<

* Rename utils -> Utils

* Fix tests

don't import yargs on files other than main

* Create scripts directory

* Update make_release path

* Fix typo

* Create CONTRIBUTING.md

Co-authored-by: kylon <kylonux@gmail.com>
2020-04-14 15:59:14 +03:00
Renamed from src/utils.ts (Browse further)