LuanRT
5ae15be63d
fix(VideoAttributeView): Fix image and overflow_menu_on_tap props
2023-11-30 23:34:31 -03:00
Konstantin
a32aa8c633
feat: Add Shorts endpoint ( #512 )
...
* chore: first try for shorts endpoints
* chore: add shorts to index
* fix: fix code style
* chore: fix suggestions
* fix: fix code style with spaces on curly brackets
* chore: add curly rule to eslint
* chore: run request in parallel
* chore: remove console.logs and add other expect tests
* chore: apply eslint suggestions
* Update ReelPlayerOverlay.ts
* Update VideoInfo.ts
* chore: remove console.log from tests
---------
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com >
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2023-11-30 22:58:11 -03:00
absidue
4806fc6c11
feat(toDash): Add contentType to audio and video adaption sets ( #539 )
2023-11-30 22:33:13 -03:00
absidue
95ed60207a
perf: Use named Parser import, to allow bundlers to create direct function references ( #535 )
...
Co-authored-by: Luan <luan.lrt4@gmail.com >
2023-11-30 22:31:59 -03:00
absidue
b50e2001aa
chore: Clean up so unneeded private properties ( #540 )
2023-11-30 22:21:14 -03:00
absidue
b60930a0c1
feat(parser): Add ChannelOwnerEmptyState ( #541 )
2023-11-30 22:12:11 -03:00
absidue
c66eb1fecf
feat(Channel): Support new about popup ( #537 )
...
* feat(Channel): Support new about popup
* chore: Minor cleanup
* fix(concatMemos): Merge duplicate nodes instead of overwriting
* fix(Feed): `has_continuation` and `getContinuation()` avoid header continuations
* chore(Channel): Remove unused import
---------
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2023-11-30 22:06:25 -03:00
absidue
6a5a579e39
fix(Channel)!: Remove getChannels() and has_channels, as YouTube removed the tab ( #542 )
...
BREAKING CHANGE: YouTube removed the "Channels" tab on channels, so this
pull request removes the `getChannels()` method and `has_channels`
getter from the `YT.Channel` class, as they are no longer useful. The
featured channels are now shown on the channel home tab. To get them
you can use the `channels` getter on the home tab of the channel.
Please note that some channel owners might not have added that section
to their home page yet, so you won't be able to get the featured
channels for those channels. The home tab is the default tab that is
returned when you call `InnerTube#getChannel()`, you can also access
that tab by calling `getHome()` on a `YT.Channel` object.
2023-11-30 22:03:36 -03:00
JellyBrick
ff4ab1680e
feat: add VideoAttributeView ( #531 )
...
* feat: add `VideoAttributeView`
* fix: remove `logging_directives`
See https://github.com/LuanRT/YouTube.js/pull/531#discussion_r1375315550
* fix: Update src/parser/classes/VideoAttributeView.ts
---------
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com >
Co-authored-by: Luan <luan.lrt4@gmail.com >
2023-11-30 21:38:51 -03:00
JellyBrick
9007b65237
feat(Parser): Add ClipSection ( #532 )
...
* feat: add `ClipSection`
* fix: Update src/parser/classes/ClipCreation.ts
---------
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com >
2023-11-30 21:29:18 -03:00
JellyBrick
e02139532b
feat: add FeedNudge ( #533 )
...
* feat: add `FeedNudge`
see https://github.com/LuanRT/YouTube.js/actions/runs/6679090140/job/18150827068?pr=532
* fix: lint
* fix: update parser-map
2023-10-29 09:51:25 -03:00
JellyBrick
db7f6209b2
feat: Use overrides instead of --legacy-peer-deps ( #529 )
2023-10-28 16:32:39 -03:00
github-actions[bot]
312c636ec4
chore(main): release 7.0.0 ( #528 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v7.0.0
2023-10-28 15:21:53 -03:00
Azarattum
4c0de199e8
fix(build): Inline package.json import to avoid runtime erros ( #509 )
...
* chore(main): Inline package.json import
* chore: add `--legacy-peer-deps` flag to ci
* chore: update lock file
---------
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2023-10-28 15:19:37 -03:00
Ryan Sandbach
9ab528ec82
feat(Kids): Add blockChannel command to easily block channels ( #503 )
...
* Add blockChannel command to support easily blocking content for supervised accounts.
* Moved blockChannel functionality to the Kids client and updated API docs.
* Fix whitepsace issues.
* Resolve remaining linting errors.
* Avoid changing interaction manager. Remove comment for ToggleButton change.
* chore: clean up
---------
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2023-10-28 14:28:17 -03:00
LuanRT
24ffb01aef
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2023-10-28 13:31:10 -03:00
LuanRT
eaac38c919
chore: lint
2023-10-28 13:30:58 -03:00
absidue
e627887fe0
chore(MediaInfo): Throw helpful errors when calling toDash or download for live and Post-Live DVR videos ( #526 )
...
* Address pull request feedback
---------
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2023-10-28 13:29:37 -03:00
LuanRT
beaa28f4c6
feat(music#getSearchSuggestions)!: Return array of SearchSuggestionsSection instead of a single node
2023-10-28 13:27:58 -03:00
LuanRT
a45273fec4
feat(parser): Add PlayerOverflow and PlayerControlsOverlay
2023-10-28 13:17:26 -03:00
absidue
bc97e07ac6
feat(UpdateViewerShipAction): Add original_view_count and unlabeled_view_count_value ( #527 )
2023-10-21 12:39:03 -03:00
LuanRT
f35b4c2c8c
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2023-10-18 23:32:01 -03:00
LuanRT
c934325648
chore: update readme [skip ci]
2023-10-18 23:31:03 -03:00
dependabot[bot]
cd27acd25b
chore(deps-dev): bump @babel/traverse from 7.22.10 to 7.23.2 ( #524 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.22.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 22:55:44 -03:00
dependabot[bot]
83b42d2585
chore(deps): bump undici from 5.23.0 to 5.26.2 ( #523 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.23.0 to 5.26.2.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.23.0...v5.26.2 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 17:36:00 -03:00
github-actions[bot]
e54c0c4bf1
chore(main): release 6.4.1 ( #507 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.4.1
2023-10-02 00:04:10 -03:00
LuanRT
8e372d5c67
fix(Feed): Do not throw when multiple continuations are present
2023-10-01 23:39:54 -03:00
LuanRT
987f50604a
fix(Playlist): Throw a more helpful error when parsing empty responses
2023-10-01 23:31:05 -03:00
Luan
69702085c6
refactor: Move transcript logic to MediaInfo ( #511 )
...
* refactor: Move transcript logic to `MediaInfo`
+ Add support for retrieving different languages.
* docs: Update and add examples
2023-09-17 22:17:14 -03:00
absidue
d2959b3a55
perf: Cache deciphered n-params by info response ( #505 )
2023-09-17 18:52:32 -03:00
absidue
68df321858
perf(generator): Remove duplicate checks in isMiscType ( #506 )
2023-09-15 15:25:08 -03:00
Ryan Sandbach
f4bc8508d0
chore(docs): Minor update ( #502 )
...
* Updated documentation example to matche syntax of existing parsers.
* Changed from require since package is setup as module.
2023-09-12 03:49:36 -03:00
LuanRT
e216124bb0
chore: update docs
2023-09-10 02:14:14 -03:00
github-actions[bot]
6d98abbd53
chore(main): release 6.4.0 ( #499 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.4.0
2023-09-10 02:08:24 -03:00
LuanRT
fba3fc9714
fix(BackstagePost): vote_button type mismatch
2023-09-10 02:06:01 -03:00
Luan
f94ea6cf91
feat: Add support for retrieving transcripts ( #500 )
...
* feat: Add support for retrieving transcripts
* chore: lint
* chore: update docs
* chore: Do not include nodes in errors thrown
* chore: Improve error messages
* fix(ExpandableMetadata): `expanded_content` type mismatch
* chore: lint
2023-09-10 01:50:30 -03:00
Jeremy Banks
86fb33ed03
feat(PlaylistManager): add .setName() and .setDescription() functions for editing playlists ( #498 )
2023-09-01 17:40:25 -03:00
github-actions[bot]
bff4210349
chore(main): release 6.3.0 ( #495 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.3.0
2023-08-31 20:41:06 -03:00
absidue
91de6e5c0e
feat(ChannelMetadata): Add music_artist_name ( #497 )
2023-08-31 20:29:58 -03:00
absidue
c26972c42a
fix(CompactMovie): Add missing import and remove unnecessary console.log ( #496 )
2023-08-31 20:28:25 -03:00
Jeremy Banks
8bc2aaa358
feat(Session): Add on_behalf_of_user session option. ( #494 )
...
This specifies which channel to use if multiple are associated with the logged-in account.
2023-08-31 08:20:37 -03:00
github-actions[bot]
2e5f076fd7
chore(main): release 6.2.0 ( #491 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.2.0
2023-08-29 14:25:32 -03:00
absidue
0412fa05ff
fix(Format): Fix is_original always being true ( #492 )
2023-08-29 14:23:08 -03:00
Luan
10c15bfb9f
feat(Session): Add fallback for session data retrieval ( #490 )
...
* feat(Session): Add fallback for session data retrieval
Should have added this when we first implemented session data retrieval to be honest. It makes a request to YouTube's service worker and the data there can change or the request can just fail.
* chore: lint
2023-08-28 07:18:27 -03:00
github-actions[bot]
4862c35cee
chore(main): release 6.1.0 ( #489 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.1.0
2023-08-27 16:43:10 -03:00
absidue
2eed1726d5
feat(parser): Add CompactMovie ( #487 )
2023-08-27 16:29:50 -03:00
absidue
8b69587787
feat(parser): Add AlertWithButton ( #486 )
2023-08-27 16:29:23 -03:00
absidue
ed7be2a675
feat(parser): Add ChannelHeaderLinksView ( #484 )
2023-08-27 16:28:49 -03:00
github-actions[bot]
361fb4a9f1
chore(main): release 6.0.2 ( #481 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v6.0.2
2023-08-24 17:06:07 -03:00
Daniel Wykerd
1c3ea2acd3
fix: invalid set ids in dash manifest ( #480 )
2023-08-24 15:59:10 -03:00