Commit Graph

76 Commits

Author SHA1 Message Date
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
LuanRT
656c0fb7b8 fix: just a typo 2021-10-13 15:23:49 -03:00
LuanRT
d4dce16be0 feat: add method to change notification preferences and get unseen notifications count 2021-10-13 05:55:02 -03:00
LuanRT
80a9ece314 format: remove unnecessary async keyword 2021-10-12 21:08:08 -03:00
LuanRT
1c2e24dea4 style: change some variables to pascalcase 2021-10-12 19:24:43 -03:00
LuanRT
5d6a1e70ef refactor: remove unused option in the search method 2021-10-12 19:15:24 -03:00
LuanRT
6639687d76 refactor: remove some unnecessary code in the signIn method 2021-10-12 19:11:35 -03:00
LuanRT
3ad04a4c6e feat: easily sign-in using OAuth2 2021-10-12 01:16:09 -03:00
LuanRT
d34d8f9f38 style: format code 2021-10-06 01:17:22 -03:00
LuanRT
a08b14448c refactor: remove unnecessary url parameters 2021-10-06 01:14:03 -03:00
LuanRT
f0bb46f2ee revert: put back code that I accidentally removed 2021-10-05 18:49:58 -03:00
LuanRT
f3c1df74a6 fix: n value is now encoded even when the url YouTube provide doesn't have a signature 2021-10-05 18:45:36 -03:00
LuanRT
28e42a3f11 feat: add possibility to fetch video notifications 2021-10-05 15:12:18 -03:00
LuanRT
03f861d2e9 style: format & organize code 2021-10-04 05:01:04 -03:00
LuanRT
117f56dcd9 fix: streams are now piped correctly 2021-10-04 02:20:59 -03:00
LuanRT
bdc6b534c0 fix: minor bug 2021-10-04 02:18:34 -03:00
LuanRT
f5408b5904 feat: add support for subscribing/unsubscribing to channels 2021-10-04 02:00:14 -03:00
LuanRT
5624524682 Update Innertube.js 2021-10-03 04:52:15 -03:00
LuanRT
584e9e485c Update Innertube.js 2021-10-03 04:49:54 -03:00
LuanRT
f6f3ced67e Update Innertube.js 2021-10-02 22:50:37 -03:00
LuanRT
97b247bbb9 Oops :v 2021-10-02 22:46:18 -03:00
LuanRT
0e1c80874b Fix - stream was being piped incorrectly 2021-10-02 22:42:53 -03:00
LuanRT
4a9717e392 Remove unused code 2021-10-02 20:43:23 -03:00