LuanRT
870b2811d9
chore(Comments): reword a few things in the docs
2023-01-10 23:25:31 -03:00
LuanRT
e8af2a603d
fix(Playlist): trying to parse an already parsed response ( #286 )
...
This resulted in a 'InnertubeError: Type not found!' which was then followed by 'InnertubeError: This playlist does not exist' when retrieving the last page of a long playlist.
2023-01-10 17:18:16 -03:00
LuanRT
8e37efa575
refactor: improve livechat parser & add remaining action nodes ( #285 )
...
* refactor: improve live chat parsers & add missing nodes
* chore: update example and docs
* docs: rephrasing/formatting
* chore: remove unneeded test (unrelated)
2023-01-10 01:44:51 -03:00
absidue
89ee68b084
refactor(LiveChat): Only store required video info values ( #281 )
2023-01-09 16:45:02 -03:00
LuanRT
dca61c3a22
feat: finalize comment section nodes ( #280 )
...
* fix: comment translation proto missing channel id
* feat: finalize nodes
* docs: update API ref
* chore: update tests
2023-01-09 08:14:31 -03:00
LuanRT
d36389c865
refactor(VideoInfo): simplify watch next feed extraction
2023-01-05 21:44:56 -03:00
LuanRT
55ca986888
chore: use optional chaining to avoid problems
2023-01-05 21:34:04 -03:00
LuanRT
b04df7e119
chore: lint
2023-01-05 21:22:50 -03:00
LuanRT
d69d701869
fix(VideoInfo): watch next feed not being parsed when logged out ( #276 )
2023-01-05 19:09:16 -03:00
absidue
cd4d28c951
feat: add live stream start_timestamp ( #275 )
2023-01-05 17:35:39 -03:00
LuanRT
9ac5043309
chore: clean up & remove unneeded code ( #265 )
2022-12-31 05:49:41 -03:00
LuanRT
2b3642ba63
feat: add support for searching within a channel ( #262 )
...
* feat(Channel): add support for searching
* dev: add channel search test
* chore: update docs
2022-12-26 18:56:37 -03:00
LuanRT
9978ebf085
refactor(Parser): reduce reliance on localised strings ( #258 )
2022-12-17 00:54:08 -03:00
LuanRT
e37f42f41b
feat: bring back Video#is_live and add ExpandableMetadata ( #256 )
...
* bring back `Video#is_live`
* add ExpandableMetadata
2022-12-15 19:01:42 -03:00
absidue
f5d61d70f2
fix: author and thumbnails for autogenerated playlists ( #251 )
2022-12-07 20:34:53 -03:00
LuanRT
516eeeff45
refactor: improve Search parser ( #247 )
...
* refactor: improve Search parser
* chore: lint
2022-11-29 03:50:17 -03:00
LuanRT
2a87f42b32
fix(Search): check if WatchCardHeroVideo is null before casting
...
Related #243
2022-11-25 01:25:02 -03:00
LuanRT
fe4c5433cf
feat: make Player instance optional ( #240 )
2022-11-16 03:17:59 -03:00
LuanRT
0e5e0c0fab
feat(Channel): add support for filters ( #237 )
...
* feat: add support for filters
Also add `channel#getShorts()` and `channel#getLiveStreams()`
* docs: update API ref
* chore: add tests
2022-11-14 19:08:16 -03:00
LuanRT
da517fe6d1
refactor: improve home feed parsing ( #234 )
...
* chore: update tests
* style: format code
* docs: update API ref
2022-11-12 01:31:11 -03:00
LuanRT
95ff1e6c5e
refactor(Library): use memo to get target YTNodes
2022-11-11 19:00:12 -03:00
LuanRT
3cbcd71a3a
feat: add support for topic/auto-generated channels and fix minor parsing errors ( #233 )
...
* dev: add support for topic channels
* dev(parser): do not try to parse empty nodes
* dev: add support for auto-generated game channels
2022-11-11 00:38:44 -03:00
LuanRT
aa334aacbd
refactor: clean up, fix & remove outdated code ( #228 )
...
* dev: refactor and remove redundant code
* docs(music): update `Library` API ref
* docs: update examples
* chore: update lock file
2022-11-06 03:32:16 -03:00
LuanRT
1b2862c00f
refactor: improve live chat polling ( #220 )
...
* dev: add RemoveChatItemByAuthorAction renderer parser
* dev: improve live chat polling
2022-10-12 16:16:07 -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
a9f03a1523
fix: like/dislike methods not working correctly
2022-09-17 19:49:05 -03:00
LuanRT
2e5688f235
feat: add TVHTML5_SIMPLY_EMBEDDED_PLAYER client ( #193 )
...
* feat: add `TV_EMBEDDED` client
See #191 , this should help bypassing some age restricted videos.
* dev(VideoInfo): update format options interface
* dev: set `clientScreen` to `EMBED`
* dev: update API ref
* dev: update `Context` interface
2022-09-17 19:15:20 -03:00
LuanRT
89794d65da
fix: likes not being parsed correctly
2022-09-11 22:44:27 -03:00
LuanRT
88ebb5e2ae
fix: replace s placeholders in playback tracking urls
2022-09-10 03:32:43 -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
LuanRT
28a651ea3a
feat: add <info>#addToWatchHistory() ( #169 )
...
* dev: add `Actions#stats()`
* dev(parser): parse playback tracking urls
* dev: fix a small bug (unrelated)
* feat: add `<info>#addToWatchHistory()`
* docs: update API ref
2022-09-06 02:40:22 -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
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
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
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
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
LuanRT
52207df393
chore: lint
2022-08-11 20:41:54 -03:00
LuanRT
34022fddfb
hotfix: use Android client when requesting initial video info
2022-08-11 20:35:30 -03:00
LuanRT
40fc24b043
refactor!: fix inconsistent use of SuperParsedResult
2022-08-07 06:15:55 -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
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
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