LuanRT
3dee7fc12f
fix: forgot to export getVideoInfo :v
2021-12-18 12:20:17 -03:00
LuanRT
4dff129b74
chore: update tests
2021-12-18 12:17:00 -03:00
LuanRT
7e86bb15e0
refactor (OAuth): a simpler & more efficient auth system
2021-12-18 12:03:44 -03:00
LuanRT
d0de164722
chore: update examples & format code
2021-12-18 00:24:57 -03:00
LuanRT
5d165ebb61
refactor: move all internal actions to Actions.js for better maintainability
2021-12-18 00:16:47 -03:00
LuanRT
2ad19adbe4
refactor: move search request code to Actions.js for better maintainability & organization
2021-12-17 23:55:39 -03:00
LuanRT
cabbdc9f50
chore: encode search filters correctly
2021-12-17 23:08:35 -03:00
LuanRT
fe84f31432
chore: add search filter protobuf message
2021-12-17 21:12:14 -03:00
LuanRT
22c605f528
perf (OAuth): check access token validity in a more efficient way
2021-12-13 21:58:02 -03:00
stranothus
de70d851d8
Desktop version compatible
...
The desktop version is sent a different resopnse by the Innertube API
and streamingData needs to be accessed from data, rather than the third
index of data and through playerResponse.
2021-12-13 15:40:44 -06:00
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