LuanRT
6312e97f95
chore: use timestamp in seconds for visitorData
...
YouTube also accepts timestamps in milliseconds, but since all clients generate visitorData with timestamps in seconds then the library should do the same.
2022-05-15 21:49:28 -03:00
LuanRT
7a5490452a
chore: remove uneeded jsdoc param
2022-05-12 14:47:03 -03:00
LuanRT
b4bb44b797
fix: add missing await key, #51
2022-05-11 06:29:46 -03:00
LuanRT
43f3c3fbf8
feat: add type search filter
...
The `no_filters` protobuf message was also implemented so playlists, channels, etc can be retrived from a search without any filter. #44
2022-05-11 06:14:25 -03:00
LuanRT
b48ae0b8d3
chore: update search filter protobuf message
2022-05-11 06:09:41 -03:00
LuanRT
8cf3e67f79
chore: fix getTrending() jsdoc, #50
2022-05-11 03:11:43 -03:00
LuanRT
039ebb7c0c
chore(docs): remove unneeded stuff
2022-05-09 18:37:23 -03:00
LuanRT
46a385aa06
chore: fix major bugs and improve error handling
...
Seems like some methods weren't working due to a typo in the browseId, this commit should fix it. Also, additional checks were added so unexpected errors aren't thrown.
2022-05-09 18:30:22 -03:00
LuanRT
f656ccd690
chore: remove unneeded code
2022-05-09 15:15:28 -03:00
LuanRT
5fbeaeabb6
chore: update Utils.js jsdoc
2022-05-08 22:58:41 -03:00
LuanRT
18e62f6ff8
chore: rename variable
2022-05-08 22:35:58 -03:00
LuanRT
6235985871
fix: use polling interval provided by the OAuth server
2022-05-08 22:34:40 -03:00
LuanRT
4eef0ddab0
chore: update jsdoc
2022-05-08 21:51:16 -03:00
LuanRT
a5c9c9d863
feat: add support for comment translation
2022-05-06 17:50:33 -03:00
LuanRT
cf95d82d3e
chore: update comment action protobuf schemas
2022-05-06 17:49:28 -03:00
LuanRT
2315306d9f
chore: oops
2022-05-05 16:23:46 -03:00
LuanRT
1dfd4b6263
chore: add more metadata to the error class
2022-05-05 16:21:43 -03:00
LuanRT
b0a861dec8
refactor: generate sessions manually
...
Session generation has been moved to `core/SessionBuilder.js`, which retrieves & generates all the required data to create a valid session. This should also decrease initialization time by over 600 milliseconds!
2022-05-05 04:33:24 -03:00
LuanRT
4943685e57
refactor: simplify the player class
2022-05-05 04:17:11 -03:00
LuanRT
b773f5668c
feat: add visitor data protobuf schema
2022-05-05 04:13:46 -03:00
LuanRT
16bb879689
chore: use prettyPrint parameter to reduce response sizes
2022-05-02 21:15:36 -03:00
LuanRT
a852cd22c8
chore: generate cpn for videoplayback urls
2022-05-02 21:05:17 -03:00
LuanRT
90bb3e20c0
feat: implement sound search endpoint
2022-05-02 05:07:11 -03:00
LuanRT
eab40c0034
chore: move getTimeWatched() placeholder to Innertube.account
2022-05-02 03:54:14 -03:00
LuanRT
19f7336a48
chore: add jsdoc for debug mode option
2022-05-02 02:10:11 -03:00
LuanRT
75895e5492
chore: update deciphers jsdoc
2022-05-02 01:49:37 -03:00
LuanRT
0cdfac1812
feat: add sound info protobuf schema and remove required keys, #38
2022-05-02 00:22:22 -03:00
LuanRT
29897981f0
feat: finalize protobuf encoder for comment translations
2022-05-01 17:49:23 -03:00
LuanRT
a8b9487b58
feat: add comment translation protobuf schema
2022-05-01 17:00:56 -03:00
LuanRT
80a338e5ff
chore: update compiled proto messages
2022-05-01 03:48:18 -03:00
LuanRT
e2ca022a47
chore: add jsdoc to protobuf encoders
2022-05-01 03:16:45 -03:00
luan.lrt4@gmail.com
2ebcd49f02
chore: remove unneeded async key
2022-05-01 00:14:18 -03:00
luan.lrt4@gmail.com
98a62c31da
chore: remove unneeded code
2022-04-30 23:39:52 -03:00
luan.lrt4@gmail.com
1bfe2676d8
refactor!: handle all request errors in Request.js and add debug mode
2022-04-30 23:16:17 -03:00
luan.lrt4@gmail.com
4db0a0358f
fix: remove unneeded if statement, #43
2022-04-29 18:49:44 -03:00
luan.lrt4@gmail.com
6bdccb89e5
chore: update protobuf messages
2022-04-28 03:12:10 -03:00
luan.lrt4@gmail.com
f79d4b635d
feat: full support for playlist management, closes #36
2022-04-26 04:27:03 -03:00
luan.lrt4@gmail.com
2010714f50
fix: uncaught exception when retrieving private playlists
2022-04-24 22:52:21 -03:00
luan.lrt4@gmail.com
02ece1ddda
chore: fix typo
2022-04-22 00:32:43 -03:00
luan.lrt4@gmail.com
b175e02f6d
chore: oops
2022-04-22 00:27:03 -03:00
luan.lrt4@gmail.com
d3394f846a
feat: add support for reporting comments and add comments sorting option
2022-04-22 00:22:50 -03:00
luan.lrt4@gmail.com
07b73ab78d
chore: remove unneeded code
2022-04-20 06:19:36 -03:00
luan.lrt4@gmail.com
d743b5a088
refactor: use a single axios instance and remove redundant code
2022-04-20 06:18:07 -03:00
luan.lrt4@gmail.com
d48065405d
chore: use compiled protobuf schemas to reduce dependency footprint
2022-04-20 03:52:44 -03:00
luan.lrt4@gmail.com
dbc8b62ba2
feat: add option to change geolocation & fix minor bugs, closes #34
2022-04-19 05:35:11 -03:00
luan.lrt4@gmail.com
e32981728b
chore(release): add support for trending content and release v1.4.1
2022-04-17 22:27:42 -03:00
luan.lrt4@gmail.com
7b33dcbb79
chore: fix typo
2022-04-16 23:04:47 -03:00
luan.lrt4@gmail.com
4bbc2d50f4
refactor!: move everything that needs parsing to parser and improve oauth system
2022-04-16 22:08:01 -03:00
luan.lrt4@gmail.com
12baec0b0d
feat: method to bulk add videos to a playlist
2022-04-15 05:59:44 -03:00
luan.lrt4@gmail.com
b793c61fd8
chore: oops
2022-04-15 05:28:12 -03:00