LuanRT
d246008eab
chore: add other InnerTube API urls
2022-06-16 20:10:11 -03:00
LuanRT
49688a0ad6
chore: fix invalid jsdoc comments
2022-06-14 15:03:45 -03:00
LuanRT
b6a898f733
feat: add full support for refinement cards
2022-06-13 04:20:49 -03:00
LuanRT
dab89545fe
chore: remove unused vars
2022-06-10 01:56:22 -03:00
LuanRT
153238aefc
dev: finish YouTube Music search parsers
2022-06-09 14:33:26 -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
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
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
155dc9bd15
refactor!: change how requests are handled
2022-05-24 06:19:13 -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
9f3f8ad820
style: format code
2022-05-18 05:56:28 -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
5fbeaeabb6
chore: update Utils.js jsdoc
2022-05-08 22:58:41 -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
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
luan.lrt4@gmail.com
98a62c31da
chore: remove unneeded code
2022-04-30 23:39:52 -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
07b73ab78d
chore: remove unneeded code
2022-04-20 06:19:36 -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
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
725f186bd9
chore: add YouTube Studio api url (WIP)
2022-04-15 01:00:09 -03:00
luan.lrt4@gmail.com
1ab302319d
refactor!: rewrite parser and refactor project structure, closes #19
2022-04-13 01:47:57 -03:00