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

173 Commits

Author SHA1 Message Date
snobu
dcaf50eb00 Cleanup package.json 2020-04-18 22:35:26 +03:00
snobu
69ee08ac78 Cleanup npm run command 2020-04-18 22:34:29 +03:00
snobu
02946dd7fd Add elevated shell note to README 2020-04-18 20:21:12 +03:00
snobu
de8585888f Fix error message for elevated shell 2020-04-18 20:19:27 +03:00
snobu
41967ab949 Fix typo 2020-04-18 19:42:19 +03:00
snobu
67d3d4fa45 Add error handling improvements to README 2020-04-18 18:09:59 +03:00
snobu
6dd095dcaa Fix GitHub Action for building master branch 2020-04-18 17:22:04 +03:00
snobu
4ec8d3963e Cleanup CONTRIBUTING.md 2020-04-18 17:17:17 +03:00
snobu
32113651f7 Add outstanding bug again 2020-04-18 17:13:32 +03:00
snobu
27fd1ceb6b Add outstanding bug 2020-04-18 17:11:57 +03:00
snobu
0773beec7c Fix contributing 2020-04-18 16:18:59 +03:00
snobu
3809570fba Added contributing section 2020-04-18 16:17:54 +03:00
snobu
c49ed47e65 Added fix more bugs 2020-04-18 16:14:56 +03:00
snobu
85e779cb98 Added usage example for username 2020-04-18 16:12:58 +03:00
snobu
7596b3745f Added comment on art to Readme 2020-04-18 16:09:19 +03:00
snobu
4bd474c32f Fix header in Readme 2020-04-18 16:03:22 +03:00
snobu
4c3d7d25fc More to Readme 2020-04-18 16:02:23 +03:00
snobu
609cf43ee0 v2.0 RELEASE 2020-04-18 15:34:26 +03:00
snobu
65847cb29d Merge branch 'tokencache' of https://github.com/snobu/destreamer into tokencache 2020-04-16 19:47:36 +03:00
snobu
c11c9b6334 Breaking changes in CLI params 2020-04-16 19:47:30 +03:00
Adrian Calinescu
e35ab6a9df Adding temporary bootstrapers until we move to single binary releases (#63) 2020-04-16 19:45:49 +03:00
kylon
3b48221d27 Delete video file on SIGINT too and silence ENOENT error (#67)
Co-authored-by: kylon <kylonux@gmail.com>
2020-04-16 19:36:36 +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
snobu
05c36fe718 Temporary fix for exit code 0 2020-04-11 17:19:53 +03:00
snobu
58d8a872b8 We lost the issue template. Re-adding. 2020-04-11 16:39:21 +03:00
snobu
7da49197b3 Fix typo chuncks -> chunks 2020-04-11 16:19:10 +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
lukaarma
d489b02d03 Created proper error logging (#55)
* changes in the evaluation of sessionInfo

* added Errors struct

* changed error handling if FFmpeg not present

* fixed error loggin thanks to the new Errors struct

* minor fix after changes in sanitizeUrls

* fix for succsesful execution and unknown code
2020-04-11 11:27:48 +03:00
lukaarma
b5df2a83b1 changes in the evaluation of sessionInfo (#54) 2020-04-10 23:18:13 +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
lukaarma
177c3dcf71 Login fixes (#50)
* automated update on install

* changed function name to be more significant

* Fixed the login procedure

-It's now initiated from a video url
-The login is done when we detect that the initial video page has loaded

* Minor fixes
- changed variable to camelCase
- added an exit log
2020-04-10 19:20:55 +03:00
Adrian Calinescu
2dd1a87905 Merge pull request #49 from lukaarma/tokencache
Minor fixes
2020-04-10 15:11:09 +03:00
Luca
b3fd6544cc changed function name to be more significant 2020-04-10 12:59:09 +02:00
Luca
51e86ae593 automated update on install 2020-04-10 12:49:09 +02:00
kylon
268cbaba97 Merge branch 'tokencache' of https://github.com/snobu/destreamer into tokencache 2020-04-10 12:35:32 +02:00
snobu
65ecc54a05 Fix comment 2020-04-10 13:31:44 +03:00
snobu
a9ac46f3e1 Added comment on locating ffmpeg-bar 2020-04-10 13:29:22 +03: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
snobu
f534ca160b Further youtube-dl cleanup 2020-04-10 12:53:34 +03:00
snobu
b9c3aa3a0e Fix updated README and fix indenting 2020-04-10 12:33:06 +03:00
snobu
db950e8f80 Fix comment for bizarre escapes in access token for ffmpeg 2020-04-10 11:27:08 +03:00
Adrian Calinescu
2afe2d4f1c Merge pull request #47 from kylon/tokencache
Merge Puppeteer mocha test from dev branch
2020-04-10 11:02:48 +03:00
kylon
cbcd7a0dd3 Import mocha test from dev branch 2020-04-10 02:00:56 +02:00
snobu
1e97bde964 Tidy up ffmpeg output. Needs more work. 2020-04-09 20:32:05 +03:00
snobu
ab72af9651 Fix ffmpeg arguments 2020-04-09 20:14:05 +03: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
a6bfd54bfd Added eslint rule: prefer single quotes when possible, prefer double to escaping 2020-04-09 12:48:49 +03:00