Luan
9b9fb82131
refactor: Clean up & fix old code
...
Other changes:
- Renamed "getShortsWatchItem" to "getShortsVideoInfo".
- Fixed `ShortFormVideoInfo`. This never worked for me ever since it was introduced. Turned out it was just implemented incorrectly.
- Moved `basic_info` extraction to `MediaInfo`. Less of a pain to maintain as we only have to modify one file.
- Removed unneeded tsdoc comments.
- Fixed `Innertube#getStreamingData()`. Now it actually returns a deciphered format.
- Simplified some types.
2024-07-30 18:49:24 -03:00
Dave Nicolson
a9bf225a62
feat(parser): Add EomSettingsDisclaimer node ( #703 )
2024-07-25 22:12:57 -03:00
Brahim Hadriche
090539b28f
feat(parser): add classdata to unhandled parse errors ( #691 )
2024-07-24 15:55:20 -03:00
Brahim Hadriche
6d0bc89be1
fix(parser): ignore MiniGameCardView node ( #692 )
2024-07-24 15:54:37 -03:00
absidue
a352ddeb9d
feat(Format): Add is_secondary for detecting secondary audio tracks ( #697 )
2024-07-24 15:53:27 -03:00
Brahim Hadriche
0f8f92a28a
fix(parser): ThumbnailView background color ( #686 )
2024-07-11 14:31:27 -03:00
absidue
bd9f6ac64c
feat(toDash): Add option to include WebVTT or TTML captions ( #673 )
2024-06-25 01:22:11 -03:00
Luan
d6fa134c3d
chore(Playlist): Add MusicResponsiveHeader to header types
...
Oops! I forgot this one also existed : ).
2024-06-21 21:12:54 -03:00
Luan
fe953072a2
chore: fix tests
2024-06-21 20:57:38 -03:00
Luan
055fa33403
chore: lint
2024-06-21 19:32:50 -03:00
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
Luan
000f3f0915
refactor(Artist.ts): Change sections type to ObservedArray<MusicCarouselShelf | MusicShelf>
2024-06-03 17:39:42 -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
LuanRT
3e84775fd3
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2024-02-18 23:37:13 -03:00
LuanRT
89fa3b27a8
fix(Playlist): items getter failing if a playlist contains Shorts
2024-02-18 23:36:01 -03:00
absidue
b21eb9f33d
fix(VideoInfo): Fix error because of typo in getWatchNextContinuation ( #590 )
2024-01-31 19:34:46 -03:00
LuanRT
c7f42220db
chore: revert unneeded import type changes & lint
...
Yes. Again.
2024-01-25 21:17:59 -03:00
LuanRT
cbaa838cee
chore: Revert some unneeded import changes
2024-01-25 20:43:19 -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