LuanRT
fc191ae3d9
chore: remove unneeded super()
2022-06-07 06:00:48 -03:00
LuanRT
0661563656
feat: implement chip cloud & compact renderers
2022-06-07 05:57:28 -03:00
LuanRT
2c3f37191d
fix: comments entry point teaser_content always N/A
2022-06-07 03:02:39 -03:00
LuanRT
4f7de3cc50
feat: add support for captions
2022-06-07 02:52:01 -03:00
LuanRT
07b83a823c
feat: finish youtube search parser
...
The library is now able to parser everything from a search.
2022-06-06 17:19:24 -03:00
LuanRT
688fd55117
chore: add more info to parser's readme
2022-06-06 05:27:07 -03:00
LuanRT
87534c6489
chore(docs): update parser's readme
2022-06-06 04:53:06 -03:00
LuanRT
12618c1a0b
chore: fix typo
2022-06-06 04:40:19 -03:00
LuanRT
359020193b
dev: start parser refactor on the main codebase, see #65 and #44
...
Things were getting a bit complicated and slow with the old parser so I decided to continue #44 's work on the main codebase.
2022-06-06 04:19:14 -03:00
xrip
0b4853cb81
Access axios instance via this.#axios instead of getter
2022-05-31 16:45:56 -03:00
xrip
4ad5a5da64
Access axios instance via this.#axios instead of getter
2022-05-31 16:45:56 -03:00
xrip
f05270daee
Share axios instance between modules.
...
This allows to use axios with http(s) and socks proxies via http(s)Agent and proxy settings.
2022-05-31 16:45:56 -03:00
LuanRT
4ccb4b07b7
chore: update proto
2022-05-30 17:05:33 -03:00
LuanRT
71c4b16654
chore: add notification/record_interactions endpoint
2022-05-30 17:03:38 -03:00
LuanRT
1e23cdb510
chore: fix typos
2022-05-27 17:28:58 -03:00
LuanRT
a85e9ef667
refactor!: welp, a lot of stuff
...
- Use the OS temp folder to cache the player, closes #57 .
- Added support for editing channel name, closes #40 .
- Added support for editing channel description.
- Added support for retrieving basic channel analytics, closes #54 .
- Moved `Innertube#getAccountInfo()` to `Innertube#account`, and renamed it to `getInfo()`.
- `getInfo()` is now able to return email, channel id, etc.
- Improved jsdoc.
2022-05-27 08:17:16 -03:00
LuanRT
865b6870a1
refactor!: change getSearchSuggestions response schema
2022-05-27 07:35:00 -03:00
LuanRT
7284425618
chore: remove unneeded code
2022-05-25 04:03:05 -03:00
LuanRT
05f74fe004
feat: implement get_user_mention_suggestions endpoint
2022-05-25 03:56:57 -03:00
LuanRT
864f10f2e9
feat: implement geo/place_autocomplete endpoint
...
Found this while decompiling the YouTube APK. It is basically Google's Place Autocomplete API, but tweaked for Innertube.
2022-05-25 03:50:34 -03:00
LuanRT
369e1048d1
feat: implement /thumbnails endpoint
2022-05-25 02:29:55 -03:00
LuanRT
b1cf5d33b8
feat: implement channel management endpoints, #40
2022-05-25 01:57:54 -03:00
LuanRT
155dc9bd15
refactor!: change how requests are handled
2022-05-24 06:19:13 -03:00
LuanRT
5560ba3ce4
chore: rephrase comment
2022-05-19 05:14:38 -03:00
LuanRT
6aaf9c70b9
refactor: use /sw.js_data to retrieve initial session data
...
Seems like the `/sw.js` service worker endpoint has a few peculiarities, see #55
2022-05-19 05:02:22 -03:00
LuanRT
fa79e5cad2
fix: add default function to obj literals to avoid unexpected errors
2022-05-18 06:24:03 -03:00
LuanRT
9f3f8ad820
style: format code
2022-05-18 05:56:28 -03:00
LuanRT
759351c38e
feat: add basic channel analytics protobuf message
2022-05-16 15:47:15 -03:00
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