Luan
14c3a06d40
fix(YTMusic): Add support for new header layouts
...
This is due to a minor page redesign by YouTube Music. See https://9to5google.com/2024/06/20/youtube-music-web-album-playlist-redesign/ .
2024-06-21 19:31:40 -03:00
Luan
67376afae6
chore(Format): Clean up and add some extra fields
2024-06-16 16:22:33 -03:00
Luan
4cbaa7983f
fix(InfoPanelContent): Update InfoPanelContent node to also support paragraphs
...
This would fail when `attributedParagraphs` was missing, so we still need `paragraphs` there.
2024-06-16 15:39:47 -03:00
Luan
040a091639
fix(FlexibleActionsView): Update actions array type to include ToggleButtonView
2024-06-08 16:33:34 -03:00
Luan
5cdb9e1e2f
fix(InfoPanelContainer): Use new attributed text prop
...
+ And update other related nodes.
2024-06-07 14:15:44 -03:00
Luan
15f3b5fdba
fix(ButtonView): Rename type property to button_type
...
It was overriding the static property "type".
2024-06-05 16:00:16 -03:00
Luan
583fd9f8d7
fix(MusicResponsiveHeader): Add Text import
...
Looks like I forgot to add it.
2024-06-03 19:08:33 -03:00
absidue
6bb2086875
feat(Format): Add is_drc ( #656 )
2024-05-06 11:55:58 -03:00
Brahim Hadriche
810665407e
Item section target_id fix ( #655 )
2024-04-29 14:22:28 -03:00
LuanRT
ea82beaa10
feat(Parser): Add MusicResponsiveHeader node
2024-04-29 08:24:13 -03:00
absidue
0ba8c54257
feat(Format): Add spatial_audio_type ( #647 )
2024-04-29 08:10:08 -03:00
Brahim Hadriche
7315fca1b4
Add getPlaylists function ( #650 )
2024-04-29 08:09:35 -03:00
absidue
064436cef3
feat(Format): Add projection_type and stereo_layout ( #643 )
...
5930ebda46
2024-04-19 16:08:12 -03:00
ChunkyProgrammer
4022d7aa89
Remove test code ( #636 )
2024-04-11 23:29:46 -03:00
LuanRT
1c08bfe113
feat(CommentView): Implement comment interaction methods
2024-04-11 18:04:45 -03:00
LuanRT
66e34f9388
fix(CommentThread): Replies not being parsed correctly
2024-04-11 16:05:59 -03:00
LuanRT
45f33d8c04
refactor(MusicResponsiveListItem): Improve podcast and video/song parsing
2024-03-25 11:55:06 -03:00
absidue
4a9bd32fd7
chore(LockupView): Remove debug logging ( #617 )
2024-03-25 07:24:24 -03:00
absidue
e6f1f078a8
feat(Text): Support formatting and emojis in fromAttributed ( #615 )
2024-03-25 07:22:24 -03:00
absidue
900f557202
feat(parser): Support CommentView nodes ( #614 )
2024-03-25 07:20:29 -03:00
absidue
7ca2a0c3e4
feat(parser): Support LockupView and it's child nodes ( #609 )
2024-02-29 13:29:53 -03:00
absidue
bff65f8889
feat(Format): Support caption tracks in adaptive formats ( #598 )
2024-02-22 22:28:16 -03:00
Luan
e86a0daf45
refactor(general): Clean up and add a logger ( #587 )
...
* feat(utils): Add logger
* chore: Clean up some classes and add more logging
* chore: Fix conflicts
2024-01-25 19:01:28 -03:00
absidue
7fbc37f9d1
fix(PlayerCaptionTracklist): Fix captions_tracks[].kind type ( #586 )
2024-01-20 01:44:54 -03:00
absidue
2e710dc9f7
feat(Channel): Support getting about with PageHeader ( #581 )
2024-01-18 14:58:58 -03:00
absidue
fed3512461
fix(DecoratedAvatarView): Fix parsing and optional properties ( #584 )
2024-01-18 14:55:10 -03:00
absidue
6dd03e1658
feat(toDash)!: Add support for generating manifests for Post Live DVR videos ( #580 )
...
BREAKING CHANGES: The `duration` property in `StreamingInfo` has been
replaced by the asynchronous `getDuration()` function, as getting the duration
of Post Live DVR videos requires making a fetch request.
2024-01-18 14:51:42 -03:00
absidue
2073aa910a
feat(parser): Add ImageBannerView ( #583 )
2024-01-18 14:41:08 -03:00
Luan
04d55d04c7
refactor(Playlist): Ignore ContinuationItem nodes from SectionList#contents ( #579 )
...
* feat(PlaylistVideo): Add `style`
* refactor(Playlist): Ignore `ContinuationItem` nodes in `SectionList#contents`
This should fix some issues regarding the library fetching the wrong continuation or empty continuations (NOTE: This means the solution in 987f506 no longer applies as empty continuations were all in `SectionList#contents`).
2024-01-18 14:39:25 -03:00
absidue
6082b4a52e
feat(Channel): Support PageHeader being used on user channels ( #577 )
2024-01-12 21:52:02 -03:00
absidue
254f77944f
feat(VideoDetails): Add is_live_dvr_enabled, is_low_latency_live_stream and live_chunk_readahead ( #569 )
2024-01-10 11:49:14 -03:00
absidue
586bb5f139
feat(Format): Add max_dvr_duration_sec and target_duration_dec ( #570 )
2024-01-10 11:40:08 -03:00
absidue
562e6a20f0
feat(VideoInfo): Add live stream end_timestamp ( #571 )
2024-01-10 11:39:47 -03:00
Brahim Hadriche
8f07e49512
fix(Parser): Add SortFilterHeader ( #563 )
...
* Fix for SortFilterHeader
* fix(Settings): Use `YTNode#is` to identify headers with a title
---------
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2024-01-08 20:37:06 -03:00
Brahim Hadriche
9618f38fe1
fear(parser): Add DecoratedAvatarView ( #544 )
...
* Add DecoratedAvatarView
* Export the class
* Update PageHeaderView
* Adjust thumbnails
* Add avatar view
* Apply suggestions from code review
---------
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com >
2023-12-26 23:21:37 -03:00
LuanRT
82d5d1e3e1
chore: Fix import formatting in multiple files
2023-12-26 23:16:45 -03:00
absidue
fcd3044982
feat(parser): Support new like and dislike nodes ( #557 )
2023-12-21 19:02:19 -03:00
LuanRT
4e67240ff9
chore(FeedNudge): Add Text import
2023-12-04 15:51:09 -03:00
absidue
48a5d4e7c3
feat(Thumbnail): Support sources in Thumbnail.fromResponse ( #552 )
2023-12-04 13:50:08 -03:00
LuanRT
ed2cbf8a13
chore: lint
2023-12-01 00:50:26 -03:00
LuanRT
4261915fd4
fix(Library)!: Add support for the new layout and remove profile & stats info
2023-12-01 00:49:22 -03:00
LuanRT
f74ed5a1cf
fix(StructuredDescriptionContent): Add ReelShelf to list of possible nodes
2023-11-30 23:36:32 -03:00
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
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
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