stranothus
e20e671d16
Include available video qualities to metadata
...
The playerResponse streamingData adaptiveFormats are filter to include only those which
include a qualityLabel. This array is then mapped to an array of qualityLabels and sorted
from lowest to highest quality.
2021-12-13 09:29:45 -06:00
LuanRT
d0e1140029
chore: yes, more code formatting
2021-12-09 23:24:50 -03:00
LuanRT
bf483256fe
chore: remove useless comments & format code
2021-12-09 22:45:18 -03:00
LuanRT
70feab80da
fix: check if dislike count is available to avoid unexpected errors
2021-11-23 07:17:17 -03:00
LuanRT
c006f49dc1
chore: remove unnecessary param
2021-11-23 06:09:12 -03:00
LuanRT
00d67ed417
chore (OAuth): better & simpler regular expression
2021-11-19 13:29:02 -03:00
LuanRT
78f93c7118
fix: add “g” flag so it matches all possible strings
2021-11-19 13:27:07 -03:00
UnbreakCode
cf48385f72
fixed x-goog-visitor-id for downloader
2021-11-14 15:46:21 +01:00
LuanRT
771c6050c4
fix (n-token): yet again YouTube added new functions that do exactly the same thing as before but in a different way
2021-11-13 01:04:03 -03:00
LuanRT
5dd6ef9e24
fix: don't limit range end
2021-11-04 08:01:03 -03:00
LuanRT
af4a4b8b82
.
2021-11-04 04:13:50 -03:00
LuanRT
b9c9d40077
feat: add support for custom data range
2021-11-04 04:05:16 -03:00
LuanRT
62fbc166c5
chore: format code
2021-11-03 23:34:58 -03:00
LuanRT
c3991dda32
fix (OAuth): forgot to change some variables to uppercase
2021-11-03 23:33:34 -03:00
LuanRT
e52e6138bd
chore: format & fix typos
2021-11-02 07:57:33 -03:00
LuanRT
94f441a4e2
chore: format code
2021-11-02 07:45:16 -03:00
LuanRT
685e14fcc1
perf: move to object literal and simplify transformation functions
2021-11-02 07:40:31 -03:00
LuanRT
3cd115461f
refactor: change constants to uppercase and refactor some code
2021-11-02 07:37:28 -03:00
LuanRT
ba2b757fdb
fix (OAuth): remove any new lines so the client identity can be found more easily
2021-10-29 22:10:43 -03:00
LuanRT
9d7d0d83e1
fix: catch any possible errors when transforming the n token
2021-10-28 22:52:43 -03:00
LuanRT
b893e46634
chore: fix typo
2021-10-25 18:14:35 -03:00
LuanRT
d8ab6f3887
fix: handle errors when initializing
2021-10-25 18:04:28 -03:00
LuanRT
eea5ebfd04
fix: handle errors when initializing
2021-10-25 18:03:57 -03:00
LuanRT
b2117f11b9
chore: add comments and format code
2021-10-25 18:02:28 -03:00
LuanRT
389b0f362f
chore: format code
2021-10-25 02:25:52 -03:00
LuanRT
368dfc4ea3
format: remove unused param
2021-10-24 17:07:14 -03:00
LuanRT
3a9d8a411e
refactor: descramble n token algorithm instead of executing it directly for better security
2021-10-24 17:03:09 -03:00
LuanRT
47ea630329
feat: now it's possible to fetch the comments section
2021-10-23 15:48:01 -03:00
LuanRT
c8e8f34a83
refactor: change pref index order
2021-10-22 17:37:18 -03:00
LuanRT
14a5b0f0e8
chore: improve protobuf encoding
2021-10-22 17:33:47 -03:00
LuanRT
e817eb46d4
chore: remove unnecessary keyword from proto file
2021-10-22 04:42:48 -03:00
LuanRT
27962242b7
dev: encode with actual an actual protobuf lib instead of hard-coding stuff
2021-10-22 04:32:51 -03:00
LuanRT
d2ec5ebe9c
dev: add proto file
2021-10-22 02:38:59 -03:00
LuanRT
10abf386b4
revert: put back accidentally removed code
2021-10-20 02:53:32 -03:00
LuanRT
f0360cac69
format: rephrase comments
2021-10-20 02:51:21 -03:00
LuanRT
24c11f2c06
fix: remove unnecessary chat polling call
2021-10-20 02:47:06 -03:00
LuanRT
ff2ca5ad3b
format: remove unnecessary async keyword
2021-10-20 02:21:05 -03:00
LuanRT
391a4300c1
refactor: organize live chat actions
2021-10-20 02:17:13 -03:00
LuanRT
73bac32886
fix: don't make additional requests if there aren't any more chunks to download
2021-10-17 02:37:35 -03:00
LuanRT
7072485782
format: organize code & fix accidental typos
2021-10-15 00:39:29 -03:00
LuanRT
4bd79e5903
fix(livechat): clear message queue once its contents are no longer necessary
2021-10-15 00:31:53 -03:00
LuanRT
028e723226
format: rephrasing error messages
2021-10-15 00:09:14 -03:00
LuanRT
1a68875aad
fix: add some better error handling
2021-10-15 00:04:39 -03:00
LuanRT
de7d52a62c
fix: don't try polling the livechat if the live has already ended
2021-10-14 23:56:37 -03:00
LuanRT
b9ea6e36c8
fix: streams with both audio and video should always emit 'end'
2021-10-14 19:13:22 -03:00
LuanRT
783e6d2435
format: rephrasing comment
2021-10-14 17:11:19 -03:00
LuanRT
0b11e441ff
chore: final adjustments
2021-10-14 17:06:20 -03:00
LuanRT
d7db0d2304
style: format code and remove unused stuff
2021-10-14 16:55:35 -03:00
LuanRT
d674eef530
feat: add support for livechats
2021-10-14 16:54:02 -03:00
LuanRT
17aa4edb66
refactor: remove unused parameter in the Innertube constructor
2021-10-13 21:54:44 -03:00