LuanRT
95e0294eab
refactor!: overhaul core classes and remove redundant code ( #388 )
...
* feat(Player.ts): append `cver` to deciphered URLs
* refactor(Actions.ts): remove redundant `getVideoInfo` function
This is leftover code from previous versions. It had many problems and it is no longer required.
* fix(Kids.ts): remove unneeded `await` keywords
* dev: add more endpoints
* chore: update deps
* refactor: separate endpoints into files
* dev: improve types
* dev: add more endpoints
* refactor: put clients in a separate directory inside `core`
* chore: lint
* refactor: move mixins and managers to separate folders
* chore: fix tests
* dev: add `CreateVideoEndpoint`
* chore: clean up
* chore: lint
* chore: add some comments
* chore: remove unnecessary test
* dev: add `playlist/CreateEndpoint`
* dev: add `playlist/DeleteEndpoint`
* dev: add `browse/EditPlaylistEndpoint`
* fix(parser): add a few checks to avoid parsing errors
2023-04-28 19:01:04 -03:00
LuanRT
22ae6c93ee
chore(contributing.md): reword
2023-04-23 06:41:02 -03:00
LuanRT
257bd475a0
refactor: clean up parser and tests ( #387 )
...
* tests: improve coverage
* refactor: clean up nodes
* chore: lint
* feat(parser): ignore `BrandVideoShelf`
Seems to be used for ads.
* feat(parser): ignore `BrandVideoSingleton` too
2023-04-23 06:37:33 -03:00
github-actions[bot]
f66f0bd656
chore(main): release 4.3.0 ( #384 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v4.3.0
2023-04-13 07:52:42 -03:00
LuanRT
05de3ec97a
feat(GridVideo): add upcoming, upcoming_text, is_reminder_set and buttons
...
Closes : #380
2023-04-13 07:50:18 -03:00
LuanRT
a0566969ba
feat(ToggleMenuServiceItem): parse default nav endpoint
2023-04-13 06:10:17 -03:00
LuanRT
a9cad49333
feat(ytmusic): add taste builder nodes ( #383 )
...
Adds MusicTastebuilderShelf and MusicTastebuilderShelfThumbnail. These usually appear on new accounts.
2023-04-13 05:37:49 -03:00
LuanRT
096bf362c9
feat(MusicResponsiveListItem): make flex/fixed cols public ( #382 )
...
Plus refactor a few things.
2023-04-13 05:35:46 -03:00
LuanRT
ec9c0979f5
refactor: fix inconsistencies in the guide nodes ( #379 )
2023-04-11 05:52:47 -03:00
LuanRT
342d1d95e9
chore: fix readme formatting [skip ci]
2023-04-11 05:06:03 -03:00
github-actions[bot]
dbfc569602
chore(main): release 4.2.0 ( #377 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v4.2.0
2023-04-09 03:40:01 -03:00
LuanRT
c16a967987
chore(docs): minor improvements
2023-04-09 03:38:09 -03:00
LuanRT
a07375eb20
chore(docs): rewording [skip ci]
2023-04-09 03:02:23 -03:00
LuanRT
ce9d9c56b4
feat(parser): ignore PrimetimePromo node
...
This node is used to display advertisements.
2023-04-09 02:51:29 -03:00
LuanRT
f50ce1a06b
chore: simplify Pull Request template
2023-04-09 02:43:19 -03:00
LuanRT
3b6ccfa3d8
chore: fix cjs build
2023-04-09 02:18:53 -03:00
LuanRT
878488d1b3
chore: clean up README.md
2023-04-09 01:20:27 -03:00
LuanRT
3c94c9da4b
deps: bump Jinter to v1.0.0
2023-04-08 23:53:59 -03:00
absidue
0b301de6a1
feat: Enable importHelpers in tsconfig to reduce output size ( #378 )
2023-04-08 20:19:20 -03:00
absidue
c9135e66d3
feat(PlaylistVideo): Extract video_info and accessibility_label texts ( #376 )
2023-04-07 20:43:20 -03:00
github-actions[bot]
e82c843928
chore(main): release 4.1.1 ( #374 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v4.1.1
2023-03-28 22:29:08 -03:00
LuanRT
be71d7c937
chore: fix some inconsistencies
2023-03-28 21:22:12 -03:00
LuanRT
470d8d9406
fix(PlayerCaptionsTracklist): parse props only if they exist in the node
...
Fixes #372
2023-03-28 20:50:50 -03:00
absidue
2c5907f80f
fix(Search): Return search results even if there are ads ( #373 )
2023-03-27 15:00:57 -03:00
github-actions[bot]
ade5feb31c
chore(main): release 4.1.0 ( #362 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v4.1.0
2023-03-24 01:34:29 -03:00
LuanRT
13ebf0a039
feat(Session): allow setting a custom visitor data token ( #371 )
...
* feat(Session): allow setting a custom visitor data token
* docs: update init options
* chore: lint
2023-03-24 01:30:24 -03:00
Araxeus
cb8fafe94b
fix(http): android tv http client missing clientName ( #370 )
2023-03-22 19:45:37 -03:00
absidue
bd35faa597
fix(parser): Make Video.is_live work on channel pages ( #368 )
2023-03-22 18:02:21 -03:00
absidue
a8b507ee65
fix(toDash): Generate unique Representation ids ( #366 )
2023-03-22 17:48:09 -03:00
Araxeus
e7eacd9742
fix(node) Electron apps crashing ( #367 )
...
Inside a `app.asar` file, the package.json might get trimmed and the `bugs_url` might be missing
`repo_url` conditional check was added for good measure
* fix(node) resolve `bugs_url` from repo_url
2023-03-22 17:13:40 -03:00
absidue
1c72a41675
fix(Utils): Properly parse timestamps with thousands separators ( #363 )
2023-03-22 03:48:01 -03:00
LuanRT
62a68b207c
chore(docs): fix typo
2023-03-17 18:19:10 -03:00
LuanRT
1d9587e8c1
feat(ShowingResultsFor): parse all props
2023-03-17 07:27:00 -03:00
github-actions[bot]
a90e5e0d07
chore(main): release 4.0.1 ( #360 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v4.0.1
2023-03-16 04:55:10 -03:00
LuanRT
955c8010a6
chore: lint
2023-03-16 04:53:48 -03:00
LuanRT
b2269deb79
chore: add Button type
...
Oops :D
2023-03-16 04:52:07 -03:00
LuanRT
573c8643aa
fix(Channel): type mismatch in subscribe_button prop
...
The `subscribe_button` property can also be of type `Button`.
2023-03-16 04:48:59 -03:00
github-actions[bot]
e21542c227
chore(main): release 4.0.0 ( #353 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v4.0.0
2023-03-15 21:08:37 -03:00
LuanRT
9d912e5938
refactor: use getters instead of props in the Innertube class
2023-03-15 20:34:58 -03:00
LuanRT
7ca0607004
refactor(ytmusic): rename SearchFilters interface to MusicSearchFilters
...
This allows us to expose the types from the InnerTube class as there is another interface there named `SearchFilters`
2023-03-15 19:24:17 -03:00
LuanRT
20d84265b5
chore(docs): minor improvements
2023-03-15 18:50:34 -03:00
Daniel Wykerd
b13bf6e992
refactor(Parser)!: general refactoring of parsers ( #344 )
...
* refactor: move common info into MediaInfo
* refactor: better inference on Memo
* refactor: improved typesafety in parser methods
* refactor: remove PlaylistAuthor in favor of Author
* refactor: cleanup live chat parsers
- Replace non standard author type with Author class
- Remove redundant code
* fix: new errors due to changes
* fix: pass actions to FormatUtils#toDash
* refactor!: merge NavigatableText and Text into single class
2023-03-15 18:25:12 -03:00
LuanRT
3d3436472f
refactor(parser): fix many minor inconsistencies
2023-03-15 06:43:04 -03:00
LuanRT
1a2fc3abd7
chore(docs): add documentation for search filters
2023-03-15 05:35:00 -03:00
LuanRT
8ef4b42d44
feat(parser): add GridShow and ShowCustomThumbnail
...
Closes #459
2023-03-15 05:15:16 -03:00
LuanRT
b71f03caf2
chore(docs): oops, fix a typo
2023-03-15 04:15:35 -03:00
LuanRT
dae7d6e40c
chore: update parser docs to reflect latest changes
2023-03-15 04:12:21 -03:00
Daniel Wykerd
2cee59024c
feat(Parser): just-in-time YTNode generation ( #310 )
...
* refactor: merge NavigatableText into Text
* fix(Text): data might not be object
* refactor: remove GetParserByName from map
* feat(Parser): just-in-time YTNode generation
* refactor: cleanup YTNodeGenerator
* fix: YTNode map imports
* feat(YTNodeGenerator): primative types
Add support for inferring primatives types
* fix(YTNodeGenerator): NavigationEndpoint detection
* fix(YTNodeGenerator): fix generated typescript
Correct types and linting for generated typescript class
* chore: update parsers after merge
* feat: add support for object type inference
* fix: object type def
* docs: basic YTNodeGenerator explanation
* docs: tsdoc for YTNodeGenerator
* docs: update parser updating guide
* fix: apply suggested changes
* docs: accessing generated nodes
2023-03-15 03:39:36 -03:00
absidue
ffd7d79308
refactor(shim): Move node CustomEvent polyfill to Platform.shim ( #357 )
2023-03-15 00:49:33 -03:00
LuanRT
9b005d62d6
feat(parser): add MusicCardShelf ( #358 )
2023-03-14 20:16:31 -03:00