LuanRT
4f7de3cc50
feat: add support for captions
2022-06-07 02:52:01 -03:00
LuanRT
5ec2a5512e
chore: update funding.yml
2022-06-06 21:27:02 -03:00
LuanRT
ebbfb86600
test: a search now returns more than 20 results
2022-06-06 17:28:42 -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
55fd4e8143
chore: update type definitions
2022-06-06 04:20:28 -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
Shubham Parihar
82e8620a77
docs: fix sample code for download example
2022-05-29 15:15:39 -03:00
LuanRT
91dc854668
chore(docs): add getTimeWatched() example
2022-05-28 05:09:17 -03:00
LuanRT
f0565ec924
fix(package): add missing comma
V1.4.3
2022-05-28 04:48:47 -03:00
LuanRT
15437e3937
chore(release): v1.4.3
...
- `Innertube#actions` and `Innertube#oauth` are now public classes so power users can have more control over the instance.
- Implemented all endpoints reverse engineered from the YouTube APK.
- The player script is now cached in the OS tmp folder to avoid permission problems.
- Added support for almost all YouTube search filters.
- Added support for editing channel name and description.
- Added support for retrieving Time Watched and basic channel analytics.
- Added support for comment translation.
- Typings are now generated directly from jsdocs.
- The initial Innertube configuration is now extracted from `/sw.js_data` and the visitor data is generated by the library.
- Refactored the entire library to improve maintainability and performance.
2022-05-28 04:46:30 -03:00
LuanRT
c7c0ac8b54
chore(docs): add examples for editing channel name and description
2022-05-28 04:02:03 -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
19008e126d
chore: update tests
2022-05-24 06:37:27 -03:00
LuanRT
c525163f28
chore: update type definitions
2022-05-24 06:20:56 -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
e0c7496e37
style(tests): use single quotes
2022-05-18 07:38:46 -03:00
LuanRT
fa79e5cad2
fix: add default function to obj literals to avoid unexpected errors
2022-05-18 06:24:03 -03:00
LuanRT
98a2b49395
chore: update .eslintignore
2022-05-18 06:01:07 -03:00
LuanRT
17978193d0
chore: update type definitions
2022-05-18 05:58:02 -03:00
LuanRT
13f571a6dc
chore: update workflows
2022-05-18 05:57:15 -03:00
LuanRT
9f3f8ad820
style: format code
2022-05-18 05:56:28 -03:00
LuanRT
2ba7a5c64e
chore: update dev dependencies
2022-05-18 05:54:05 -03:00
LuanRT
d7d1c96d8c
chore: use jest for tests
2022-05-18 05:53:09 -03:00
LuanRT
0219c075c7
chore: add linter
2022-05-18 05:51:54 -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
c60babcf25
chore: update typings
2022-05-15 18:46:52 -03:00
LuanRT
c48cfcd8a0
chore(docs): add search filters examples
2022-05-15 16:13:54 -03:00
LuanRT
594202d61d
chore(package): fix repo url
2022-05-12 18:05:57 -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