LuanRT
81bbbaebe2
fix: isn't always available
2022-06-11 08:06:50 -03:00
LuanRT
2254b69670
feat: add support for retrieving YTMusic “related” tab
...
+ finish lyrics parser and implement all needed YouTube Music renderers
2022-06-11 08:00:58 -03:00
LuanRT
a7ee98820a
chore: update type definitions
2022-06-10 17:16:58 -03:00
LuanRT
c7474d7087
feat: add music search filters protobuf message
...
This allows users to choose filters they want without having to rely on the `selectFilter()` method.
2022-06-10 17:12:06 -03:00
LuanRT
d167a0b807
feat: add support for music search filters
2022-06-10 15:07:23 -03:00
LuanRT
53965630b7
dev: check if renderer should be ignore before parsing
...
Will mostly be used to ignore ad renderers.
2022-06-10 04:32:24 -03:00
LuanRT
9840acc63d
feat: add support for retrieving watch next feed continuation
2022-06-10 03:57:05 -03:00
LuanRT
1676b11b0e
chore: fix typos
2022-06-10 03:37:36 -03:00
LuanRT
afa39753d5
chore: add jsdoc comments to selectFilter method
2022-06-10 03:34:55 -03:00
LuanRT
659df51115
feat(VideoInfo): add support for selecting feed filters
2022-06-10 03:00:25 -03:00
LuanRT
dab89545fe
chore: remove unused vars
2022-06-10 01:56:22 -03:00
LuanRT
73de36b946
feat: add merchandise parser
2022-06-10 01:50:21 -03:00
LuanRT
049fd16aab
docs: update jsdoc comments
2022-06-09 15:19:46 -03:00
LuanRT
bcaa02f10c
chore: update parser's readme
2022-06-09 15:02:28 -03:00
LuanRT
153238aefc
dev: finish YouTube Music search parsers
2022-06-09 14:33:26 -03:00
LuanRT
b2014c80f4
dev: create ytmusic class
...
In future versions anything related to YouTube Music will be implemented here. The main Innertube class will expose it to users as `Innertube#music`.
2022-06-08 20:21:27 -03:00
LuanRT
4ee6ec0d20
refactor: move data access code to /parser
2022-06-08 20:11:05 -03:00
LuanRT
cbac2e1c81
chore: remove unneeded param
2022-06-07 06:03:14 -03:00
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