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
Luca
b3fd6544cc
changed function name to be more significant
2020-04-10 12:59: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
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
snobu
427b58d97d
Less convoluted console coloring
2020-04-09 12:42:14 +03:00
snobu
be783e84e4
Remove unused imports
2020-04-09 11:35:14 +03:00
snobu
adda6828a6
Switched to terminal-image for inlining thumbnails
2020-04-08 23:52:48 +03:00
snobu
1fc80d8366
Will thumbnails render on Windows?
2020-04-08 11:26:02 +03:00
snobu
c48e4c54ca
Mid-apocalypse working release with token cache
2020-04-06 12:13:48 +03:00
snobu
73aeb92e66
Mid-apocalypse progress
2020-04-05 17:20:10 +03:00
snobu
37d596b4f0
Pulled types separately
2020-04-03 21:43:02 +03:00
snobu
6091a6952e
For real this time
2020-04-01 01:04:46 +03:00
snobu
b20bbe0b5e
Still a way long to go
2020-03-31 12:41:21 +03:00
snobu
7c0a2b53ce
We need to move the interactive logon to its own method
2020-03-30 16:15:10 +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
snobu
3bfb3212b8
I've made the code worse since map is an antipattern if you discard the resulting array but YOLO
2020-03-30 13:29:59 +03:00
snobu
8827618296
Fix lowercase aliases for parameters
2020-03-30 11:32:16 +03:00
snobu
85c38f23cd
Username is now optional and we're using the about:blank tab to login
2020-03-30 11:20:15 +03:00
snobu
9046fd897b
Let's use an ES6 array filter cause we influencers boy
2020-03-30 11:05:42 +03:00
snobu
914b9d751c
Minor code cleanup
2020-03-30 10:36:56 +03:00
snobu
9507a604da
Removed stale comment
2020-03-30 10:28:52 +03:00
snobu
633678404c
Fix removed hardcoded API version since we get it from sessionInfo
2020-03-30 10:27:32 +03:00
snobu
7cbd3c7472
Fix API endpoint is now read from sessionInfo no longer 'winged'
2020-03-30 10:16:46 +03:00
snobu
ee1d9b3cf1
Workaround for MS tenant
2020-03-30 01:02:22 +03:00
snobu
b399193426
Fix API address to use Traffic Manager endpoint
2020-03-30 00:49:38 +03:00
snobu
847f825964
Cleanup comments
2020-03-30 00:26:08 +03:00
snobu
ccb2be81ed
Changed API endpoint to use2-2
2020-03-30 00:15:43 +03:00
Adrian Calinescu
b7277b8ba6
Fix debug phrasing
2020-03-30 00:02:29 +03:00
Luca
0cb8594d0f
added verbose option for additional information
...
fixed the response error printing
2020-03-29 22:56:01 +02:00
Luca
089fec6001
fixed the import syntax
...
now the simulation flag properly translate in youtube-del flag too
2020-03-29 21:41:53 +02:00
Luca
ec407d1e9b
minor change in th epage loading
...
created function that fetchs title and hlsUrl from the Microsoft api after beeing authenticated with the token fetched from the page
2020-03-26 21:43:21 +01:00
Luca
047e164a86
Added a simulation flag to only extract video tile and urls without any file downloaded
...
Removede an outdated argv check because all arguments are now parsed with yargs
2020-03-26 16:44:28 +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
a06b698d85
Fix --format bug
2020-03-22 23:52:09 +02:00
Adrian Calinescu
470ab23d1c
Merge branch 'dev' into patch-1
2020-03-22 14:17:08 +02:00
snobu
bf38507535
Fix for double quotes in video title https://github.com/snobu/destreamer/issues/11
2020-03-21 21:36:33 +02:00