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
LuanRT
8cf3e67f79
chore: fix getTrending() jsdoc, #50
2022-05-11 03:11:43 -03:00
LuanRT
ffa243bc07
chore: update type definitions
2022-05-09 18:47:17 -03:00
LuanRT
a08580eeee
chore(docs): rephrase
2022-05-09 18:43:38 -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
ddd276d99f
chore: update .gitignore
2022-05-08 22:59:03 -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
6127690b4c
docs: oops, forgot the hyperlink
2022-05-08 05:59:21 -03:00
LuanRT
b6cfdb733c
feat: generate types using jsdoc, #50
2022-05-08 05:56:33 -03:00
LuanRT
b565213f11
docs: fix typos and reword some stuff
2022-05-08 05:53:05 -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
00e0131672
docs: add git to installation instructions
2022-05-06 02:12:39 -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