LuanRT
68cb841c00
refactor!: finish parser migration
...
Finally! :)
This removes all code related to the old parser.
#65
2022-07-11 06:19:10 -03:00
LuanRT
8a5073b0b9
refactor: rewrite search suggestions logic ( #92 )
...
* refactor: rewrite YouTube Music search suggestions
The search suggestions method can be found under `Innertube#music.getSearchSuggestions(query)`
* feat: allow `execute(..)` to return parsed data
This simplifies how response data is handled and also makes it easier for end users to write custom functionality.
* style: lint code
* chore: change a few things
* refactor: rewrite YouTube search suggestions
* chore(package): build
* chore: update type declarations
* chore: fix tests
2022-07-10 17:30:20 -03:00
LuanRT
84d5edb6f0
refactor: rewrite OAuth and Requester ( #90 )
...
* chore: update type declarations
* dev: refactor oauth & requester
* chore: tidy things up
* chore: remove unneeded check
2022-07-04 16:34:02 -03:00
LuanRT
1d62e469a9
refactor: rewrite Comments Section logic ( #88 )
...
* feat: add core comments section classes
* chore: update type declarations
* chore: fix linter warnings
* style: fix linter
* chore: update tests
* chore(tests): fix typo
* chore(tests): fix typo x2
* fix(tests): `getReplies()` method is only present in `CommentThread` and not `Comment`
* chore(tests): fix comment id path
* chore(tests): remove outdated code
* chore(tests): fix results path
* chore: enforce code style
* chore: update type declarations
* docs: add examples and documentation
* chore(docs): fix paths
* chore(docs): fix more paths
* chore(docs): fix `Comments.js` path
* chore(docs): fix typo
* chore(docs): mention example file
* chore(examples): fix imports
* chore(examples): fix typo
2022-07-02 19:55:33 -03:00
Bob Varioa
0a851bde31
refactor: remove confusing code practices ( #87 )
...
* Prefer `c ? x : y` over `c && x || y`
* Avoid unnecessary asssignment expressions
* Prefer switch statements over object lookup tables
* Add an .editorconfig
* Fix style issues
* Fix mentioned issues
Co-authored-by: bob <bob.varioa@gmail.com >
2022-07-01 19:37:59 -03:00
LuanRT
4f994c338b
refactor: rewrite Live Chat logic ( #85 )
...
* dev: start LiveChat refactor
* dev: implement simple module system to separate classes
+ add a few Live Chat actions
* dev: add fundamental Live Chat classes
* chore: update type declarations
* feat: finalize Live Chat
Now supporting almost all kinds of messages! Next up: add a ability to send messages.
* chore: update type declarations
* chore: update contributors list
* feat(livechat): add `sendMessage()` method
* chore: remove unneeded files
* style: format code
* chore: remove outdated examples
* chore: update tests
* chore: remove trailing spaces
* chore: remove trailing spaces x2
2022-06-29 16:51:51 -03:00
LuanRT
49688a0ad6
chore: fix invalid jsdoc comments
2022-06-14 15:03:45 -03:00
LuanRT
3f22a44ba9
feat: accurately emulate like/dislike button clicks
2022-06-13 17:33:39 -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
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
153238aefc
dev: finish YouTube Music search parsers
2022-06-09 14:33:26 -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
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
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
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
9f3f8ad820
style: format code
2022-05-18 05:56:28 -03:00
LuanRT
7a5490452a
chore: remove uneeded jsdoc param
2022-05-12 14:47:03 -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
a5c9c9d863
feat: add support for comment translation
2022-05-06 17:50:33 -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
29897981f0
feat: finalize protobuf encoder for comment translations
2022-05-01 17:49:23 -03:00
luan.lrt4@gmail.com
2ebcd49f02
chore: remove unneeded async key
2022-05-01 00:14:18 -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
f79d4b635d
feat: full support for playlist management, closes #36
2022-04-26 04: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
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
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
b9e15b5fbd
feat: add support for playlist creation/deletion
2022-04-15 05:25:52 -03:00
luan.lrt4@gmail.com
c28da62ec1
fix: ytmusic search suggestions not working, closes #20
2022-04-13 18:30:52 -03:00
luan.lrt4@gmail.com
1ab302319d
refactor!: rewrite parser and refactor project structure, closes #19
2022-04-13 01:47:57 -03:00