Commit graph

27 commits

Author SHA1 Message Date
snobu
c11c9b6334 Breaking changes in CLI params 2020-04-16 19:47:30 +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
kylon
9faa0c4846
Added ffmpeg progress bar via fluent-ffmpeg and progress libs (#57)
* Add fluent-ffmpeg back and cross-platform progress bar

* Repo clean up

Move ts files to src, build and output js files to build folder

* Do not print messages when exit code is 0

this is triggered by signal events

Co-authored-by: kylon <kylonux@gmail.com>
2020-04-11 16:12:46 +03:00
snobu
038832c50f Cleanup fluent-ffmpeg dep 2020-04-10 19:38:40 +03:00
kylon
83fecf2894
Fixes and clean up (#51)
* Simplify main

* Fix init

* Cleaner output for the end user

* Fix extractVideoGuid after sync with dev

* TokenCache: Make variable private

nit: switch to import

* Add option to disable video thumbnails

* Create a unique file name to avoid overwrite

* Remove os dependency

* Reimplement simulate

* Update README

Co-authored-by: @kylon
Co-authored-by: @snobu
2020-04-10 19:35:57 +03:00
kylon
268cbaba97 Merge branch 'tokencache' of https://github.com/snobu/destreamer into tokencache 2020-04-10 12:35:32 +02:00
snobu
cd52b5cefa Implemented ffmpeg progress bar with first real candidate, ffmpeg-progressbar-cli 2020-04-10 13:26:13 +03:00
kylon
48f12f873f Sync tokencache and dev branches 2020-04-10 12:21:41 +02:00
kylon
cbcd7a0dd3 Import mocha test from dev branch 2020-04-10 02:00:56 +02:00
snobu
23bb92e77a Dropped youtube-dl and replaced with ffmpeg, however passing the URL to ffmpeg is broken 2020-04-09 18:40:56 +03:00
snobu
427b58d97d Less convoluted console coloring 2020-04-09 12:42:14 +03:00
snobu
adda6828a6 Switched to terminal-image for inlining thumbnails 2020-04-08 23:52:48 +03:00
snobu
cc195409ed Early work for token cache implementation 2020-03-30 16:00:05 +03:00
snobu
5de6d1b8e6 Enfore semicolon via eslint rules, some code cleanup 2020-03-30 14:01:47 +03:00
Luca
1b6ff66dee added axios package 2020-03-26 21:40:56 +01:00
Luca
84d4ff10fc Chenged url fetching method to a class based one
Implemented control on video title in the eventuality it is null or only special characters

Implemented suggestion of issue #11 about sanitizing the title
2020-03-25 16:37:14 +01:00
snobu
005b8e3e31 Some upgrades in packages.json 2020-03-22 23:52:48 +02:00
Adrian Calinescu
f9d6a6ae20
Fix build command 2020-03-22 14:24:04 +02:00
shirj
ee9ec1aa5f Download a list of videos 2020-02-15 12:06:31 -05:00
snobu
0631fef748 Update puppeteer types 2019-10-15 07:42:37 +03:00
snobu
d57df89b3f Hopefully fixes https://github.com/snobu/destreamer/issues/4 2019-10-15 07:38:10 +03:00
snobu
69639b5ab6 Fix don't use global TypeScript compiler 2019-10-02 11:45:41 +03:00
Adrian Calinescu
b479601235
Add description 2019-10-01 11:03:41 +03:00
snobu
4f3bf4a353 Added repo info 2019-10-01 10:27:23 +03:00
snobu
ffb9c86a7f Added browser test 2019-10-01 10:00:07 +03:00
snobu
c0dbc3e768 Convert to TypeScript project 2019-10-01 07:36:24 +03:00
snobu
b7d07fafca Public release 2019-03-12 12:37:03 +02:00