LuanRT
4f015536ac
fix: ytmusic formats returning 401 when deciphered ( #161 )
...
* fix: sending incomplete video info payload
* fix: check if microformat is `MicroformatData` before parsing
2022-09-03 00:43:17 -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
Patrick Kan
173aec65f5
fix: Music#Artistparse err if missing shelves ( #155 )
2022-08-28 15:50:00 -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
LuanRT
c000bd8d5f
docs(parser): fix typos
2022-08-24 02:46:56 -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
Ben Gerard
22b2953ec8
fix: captions should be a PlayerCaptionsTracklist ( #148 )
2022-08-21 18:56:57 -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
713fd13c74
fix(music#Library): sort_by err when items <= 1 ( #137 )
2022-08-13 19:46:55 -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
patrickkfkan
4d6067937a
fix: build error caused by music#Playlist.getRelated() ( #135 )
...
* fix(ytmusic): title check in `Playlist#getRelated`
2022-08-11 20:43:38 -03:00
LuanRT
52207df393
chore: lint
2022-08-11 20:41:54 -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
38280290f7
fix(ytmusic): oopsie, forgot to declare player_overlays
2022-08-04 16:54:38 -03:00
LuanRT
d5f34982f4
feat(ytmusic): add music#getInfo()
...
Already functional but still WIP.
2022-08-04 16:49:20 -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
daaba3745e
feat: improve LiveChat types
2022-08-01 15:54:54 -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
LuanRT
72c3af84b0
refactor(ytmusic)!: rewrite Album to TypeScript
2022-07-29 06:58:28 -03:00
LuanRT
99233bcf7a
refactor!: rewrite History to TypeScript
2022-07-29 06:20:58 -03:00
LuanRT
adae925367
refactor!: rewrite Analytics to TypeScript ( #122 )
...
* refactor: migrate all analytics’ classes to TypeScript
Also, add AnalyticsShortsCarouselCard and AnalyticsRoot.
2022-07-29 05:39:34 -03:00
LuanRT
7ba09a66d8
refactor: migrate NotificationsMenu to TypeScript
2022-07-29 01:00:56 -03:00
Daniel Wykerd
dbfcb36fd7
fix: TabbedFeed#getTab to parse response. ( #120 )
...
* fix: TabbedFeed#getTab to parse response.
* fix: Channel parser and example
* refactor: migrate youtube Search to TS
* chore: lint
2022-07-26 17:29:30 -03:00
Daniel Wykerd
eb5d49d14e
refactor: replace xmlbuilder2 with linkedom ( #119 )
...
* refactor: replace xmlbuilder2 with linkedom
This reduces our bundle size from 909mb to 530mb
* chore: lint
2022-07-25 16:48:46 -03:00