Akazawa Daisuke
a9eba7ca62
feat: add RemoveChatItemAction and LiveChatTickerStickerItem ( #214 )
2022-10-03 03:09:40 -03:00
Akazawa Daisuke
2f56c15ecc
feat(LiveChat): add support for moderation & more ( #202 )
...
* Live Chat - Implement moderation
* Live Chat - Implement class ItemMenu
* fix moderation method
Co-authored-by: LuanRT <luan.lrt4@gmail.com >
2022-10-02 02:00:24 -03:00
LuanRT
7485726f1e
refactor: fix a few parsing inconsistencies
2022-09-23 03:06:21 -03:00
LuanRT
dcf2b720a0
fix: minor parsing issues and other improvements ( #194 )
...
* feat: add `ConfirmDialog`
This usually appears in the `playability_status` object.
* fix(PlayerErrorMessage): check if `iconType` exists before parsing
* chore(parser): fix a few inconsistencies
* feat(ytmusic): add `MetadataScreen`
TODO: Check TrackInfo, YouTube Music is probably getting some minor UI updates.
2022-09-17 19:14:46 -03:00
LuanRT
f2f48af1bc
feat(Music): add automix support and other minor improvements ( #184 )
...
* dev(NavigationEndpoint): add `/player` endpoint
* dev: add AudioOnlyPlayability, BrowserMediaSession and MusicDownloadStateBadge
* dev: allow endpoints to be overridden
* dev: minor parser changes
* dev(TrackInfo): add `<info>#getTab(title?)`
* dev: allow `Music#getInfo()` to accept list items
* dev: revert a few changes, I probably overcomplicated this.
* dev: add tests
* dev: add `TrackInfo#getUpNext()`, `TrackInfo#getRelated()` and `TrackInfo#getLyrics()`
* docs: update API ref
* fix(docs): formatting inconsistencies
2022-09-13 02:26:13 -03:00
LuanRT
91847ae3cc
feat(LiveChat): add SegmentedLikeDislikeButton and LiveChatDialog ( #181 )
...
* feat: add `LiveChatDialog`
* feat: add `SegmentedLikeDislikeButton`
2022-09-10 14:54:13 -03:00
LuanRT
eb44b71939
feat: add CollaboratorInfoCardContent renderer parser ( #180 )
2022-09-10 04:09:38 -03:00
Nico K
9e618cc576
fix: LiveChatAuthorBadge where MetadataBadge was expected ( #179 )
...
* fix `LiveChatAuthorBadge` where `MetadataBadge` was expected
* add "failsafe" for author badges
2022-09-09 19:30:20 -03:00
Patrick Kan
bc03c91df9
feat: add PlaylistPanelVideoWrapper parser ( #176 )
...
* feat: add `PlaylistPanelVideoWrapper` parser
* fix: `PlaylistPanelVideoWrapper` no counterpart
2022-09-09 15:30:21 -03:00
Akazawa Daisuke
e00be25bf4
feat: add LiveChatAutoModMessage ( #177 )
2022-09-09 15:29:36 -03:00
LuanRT
c9856a8359
fix: search continuations not being parsed correctly ( #173 )
...
* feat: add `TitleAndButtonListHeader`
* fix: continuations not being parsed correctly
* chore: add a test
* chore(package): bump version to 2.0.2
* chore: lint
2022-09-08 21:31:07 -03:00
Patrick Kan
60730a5531
fix: Music#getArtist() and DropdownItem ( #170 )
...
* fix: `Music#getArtist()` fails for private artist
* fix: `DropdownItem` inconsistent prop naming
2022-09-06 14:29:29 -03:00
LuanRT
85fc468cc9
feat: add music#getRecap() ( #165 )
...
* dev: add recap renderer parsers
* dev: finish implementation ✨
* docs: update YouTube Music API ref
2022-09-05 18:08:34 -03:00
LuanRT
4484f78394
fix(VideoSecondaryInfo): subscribe_button can also be just a Button
2022-09-05 03:30:44 -03:00
LuanRT
4181969d52
feat: properly type renderer parsers
...
CardCollection, ChipCloud, Endscreen, PlayerOverlay, PlayerOverlayAutoplay, VideoSecondaryInfo and WatchNextEndScreen.
2022-09-05 03:25:36 -03:00
Akazawa Daisuke
a8322e35f5
feat: Add paid chat color info ( #164 )
2022-09-04 05:57:41 -03:00
Patrick Kan
53cb26546e
chore: minor fixes ( #159 )
...
* fix: add `params` to `watch_playlist` endpoint
* fix: continuation in `PlaylistPanelContinuation`
2022-09-02 14:24:36 -03:00
Patrick Kan
b9e6e16ce9
feat: add MusicVisualHeader ( #157 )
2022-08-30 05:11:14 -03:00
Patrick Kan
c99364942c
fix: DidYouMean endpoints and add text prop ( #158 )
...
* feat: add `text` to `DidYouMean`
* fix: parse correct endpoint in `DidYouMean`
2022-08-30 05:10:51 -03:00
LuanRT
317bca261c
feat(download): bring back WEB client ( #156 )
...
* refactor: remove dead code and integrate with Jinter
* chore: tidy up
2022-08-29 04:48:33 -03:00
LuanRT
13a86cb4e7
feat: add settings page parser ( #154 )
...
* feat: add settings page parsers
* fix(AccountManager): small ts error
* feat: add `CopyLink` & `SettingsCheckbox`
* deps: remove “flat” dependency
2022-08-28 05:11:11 -03:00
Patrick Kan
05b4593e0a
feat: fix music#library.getArtists() and add MusicShelf.bottom_button ( #152 )
...
* fix : #143
* feat: add `bottom_button` to `MusicShelf`
2022-08-25 17:14:32 -03:00
Patrick Kan
6fe4d235ff
feat: add MusicSortFilterButton ( #151 )
2022-08-25 02:06:52 -03:00
LuanRT
f4ce4d2f74
feat: add account info parsers
2022-08-25 01:43:05 -03:00
LuanRT
541cdc455f
feat: add parsers for TimeWatched
2022-08-24 06:13:19 -03:00
Patrick Kan
f3d77b3e97
Add end_icons to MusicCarouselShelfBasicHeader and fix music#getPlaylist() ( #149 )
...
* ft: add end_icons to MusicCarouselShelfBasicHeader
* fix: `music#getPlaylist()` breaking playlist_id
2022-08-22 16:46:52 -03:00
Patrick Kan
a4965ee43d
fix: playlist radios misidentified as videos ( #147 )
2022-08-21 18:55:58 -03:00
LuanRT
34281e2445
refactor: migrate parsers to TS ( #133 )
...
* dev: finish top-level parsers TS migration
* dev: migrate menu renderers to TS
* chore: fix ts errors
* dev: finish ts migration 🎉
2022-08-20 03:18:17 -03:00
Patrick Kan
b101a39d30
chore: PlaylistPanel fixes ( #146 )
...
* fix:`PlaylistPanel` possible content type mismatch
* fix: `PlaylistPanel` err when no continuation
2022-08-19 06:52:47 -03:00
Patrick Kan
dc2f0055cc
feat: improve parsing ( #145 )
...
* fix: err in `MusicDetailHeader` when no duration
* feat: get video duration from more places
2022-08-19 06:02:01 -03:00
Patrick Kan
31326ec9eb
refactor: misc fixes and additions ( #142 )
...
* feat: add `header` to `Grid` parser
* feat: parse title in `MusicHeader`
* feat: improve parsing of artist-type items
2022-08-18 05:35:24 -03:00
Patrick Kan
dba34dc5ae
feat(ytmusic): music#Playlist fixes and additions ( #138 )
...
* feat: add MusicEditablePlaylistDetailHeader parser
* feat: more info in `DropdownItem`
* fix: empty `year` value in `MusicDetailHeader`
* fix(ytmusic#Playlist): header err w/ own playlists
* feat: include reload continuation in `MusicShelf`
* feat(ytmusic): add getSuggestions() to Playlist
2022-08-14 20:39:31 -03:00
Patrick Kan
f6a2a418be
feat(ytmusic): implement music#Library ( #136 )
...
* feat: add ItemSectionTab and related parsers
* feat: add `continuation` to `Grid`parser class
* feat (ytmusic): implement music#getLibrary()
* Improve album fetch in `MusicResponsiveListItem`
* music#Library: return [] for empty results
* feat: add `Dropdown` & `DropdownItem` parsers
* feat: add `CreatePlaylistDialog` parser
* feat: add `create_playlist` to NavigationEndpoint
* feat: add `AutomixPreviewVideo` parser
* feat: improve parsing of items
* fix: `PlaylistPanel` continuation
* feat: more args in `Actions#next`
* feat: add `PlaylistPanelContinuation` to `Parser`
* chore: update parser-map
* music#Library: refactor + add shuffle songs opt
* feat: add `endpoint` to `DropdownItem`
* feat: add `end_items` to `ItemSectionTabbedHeader`
* feat(ytmusic): add `sort_by` to `music#Library`
2022-08-13 17:39:35 -03:00
LuanRT
9a914e29ba
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2022-08-11 20:37:01 -03:00
LuanRT
34022fddfb
hotfix: use Android client when requesting initial video info
2022-08-11 20:35:30 -03:00
patrickkfkan
9b4d86b81f
feat(ytmusic): add music#getPlaylist() ( #131 )
...
* add music#getPlaylist()
* fix: lint errors
2022-08-10 14:11:31 -03:00
patrickkfkan
dc79b19d56
refactor: migrate MusicCarouselShelfBasicHeader to TypeScript and add more_content prop ( #132 )
...
* refactor: migrate `MusicCarouselShelfBasicHeader` to TS
* feat: `MusicCarouselShelfBasicHeader.more_content`
2022-08-09 15:37:19 -03:00
LuanRT
4ab2bb744a
chore: lint
2022-08-07 06:17:43 -03:00
LuanRT
40fc24b043
refactor!: fix inconsistent use of SuperParsedResult
2022-08-07 06:15:55 -03:00
LuanRT
709c448053
refactor!: migrate core renderers to TypeScript
2022-08-07 06:14:09 -03:00
LuanRT
3833b333a7
refactor: migrate MusicCarouselShelf to TypeScript
2022-08-05 16:33:51 -03:00
LuanRT
3ff3d3c633
feat: add SimpleCardContent
...
Related: #129
2022-08-04 02:16:12 -03:00
LuanRT
a788c9c80f
feat: migrate all playlist renderers to TypeScript
2022-08-04 01:56:53 -03:00
LuanRT
d6398296c3
docs: update examples
2022-08-03 17:06:00 -03:00
LuanRT
323b90a98c
feat: add LiveChatProductItem and migrate LiveChatBanner to TypeScript
2022-08-01 15:52:25 -03:00
LuanRT
3abcde7e67
refactor!: rewrite MusicNavigationButton to TypeScript
...
Plus fix “endpoint” prop, it is `clickCommand` and not `navigationEndpoint`.
2022-08-01 03:28:15 -03:00
LuanRT
4d332402db
fix(ytmusic): fix music#getLyrics() & music#getUpNext()
...
These were broken due to recent changes in the parser — both should be fixed now. Note that `music#getRelated()` is still broken.
2022-07-30 05:37:23 -03:00
LuanRT
c66940ae65
refactor(ytmusic): migrate Explore & Library to TypeScript
2022-07-30 04:18:12 -03:00
LuanRT
ff9aeeedce
refactor: rewrite Library to TypeScript
2022-07-29 16:09:11 -03:00
LuanRT
88a6ee907e
chore: lint
2022-07-29 06:58:49 -03:00