Luan
126a66f317
fix(SubscribeButton): Parse endpoints using NavigationEndpoint
2024-11-13 00:09:33 -03:00
Luan
daa5a2982b
fix(ReelPlayerOverlay): Update subscribe_button_renderer type to include SubscribeButton
2024-11-12 23:49:58 -03:00
Luan
8bf9eb7044
feat(SubscribeButton): Parse more endpoints
2024-11-12 23:43:32 -03:00
Luan
8ab760ea2e
fix(SignalAction): Rename action to signal
2024-11-11 16:32:47 -03:00
Luan
feeb21b3eb
feat(parser): Add SignalAction node
2024-11-11 16:20:51 -03:00
Luan
d36ddb804a
feat(parser): Add NotificationAction node
2024-11-11 16:20:36 -03:00
Luan
b0965c7ac9
chore: lint
2024-11-10 04:23:51 -03:00
Luan
d3f6af0775
fix(UnifiedSharePanel): Check if thirdPartyNetworkSection exists
...
Oops.
2024-11-10 04:18:58 -03:00
Luan
556c3d68eb
chore: lint
2024-11-10 04:10:33 -03:00
Luan
4a1397f1bc
feat(parser): Add UnifiedSharePanel
2024-11-10 04:08:23 -03:00
Luan
fdb754043b
feat(parser): Add UpdateSubscribeButtonAction
2024-11-09 20:18:14 -03:00
Luan
0a99342ccb
fix(VideoAttributeView): Parse secondarySubtitle only if exists
2024-11-09 16:36:40 -03:00
Luan
e4ca991d30
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2024-11-09 16:22:41 -03:00
Luan
360580ea6e
fix(ExpandableVideoDescriptionBody): Parse attributed description
2024-11-09 16:20:55 -03:00
jonz94
20f7971299
feat(parser): Add LiveChatSponsorshipsGiftRedemptionAnnouncement node ( #795 )
2024-11-09 12:22:46 -03:00
jonz94
4e9c2a585b
feat(parser): Add LiveChatSponsorshipsGiftPurchaseAnnouncement and LiveChatSponsorshipsHeader nodes ( #793 )
...
* feat(parser): Add `LiveChatSponsorshipsGiftPurchaseAnnouncement` and `LiveChatSponsorshipsHeader` nodes
* refactor: flatten nested field
* refactor: attempt to replace `author_*` fields with a single `Author` class
* fix: add back `author_*` fields in `LiveChatSponsorshipsHeader`
* fix: use `parseArray` to parse author_badges data
* refactor: revert `Author` logic
---------
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com >
2024-11-02 08:08:41 -03:00
ChunkyProgrammer
34ae38cbf4
feat(Parser): Add support for parsing subtitle for Shelf ( #792 )
2024-10-30 16:48:29 -03:00
ChunkyProgrammer
a4394dbb82
Fix(VideoCard): fix parsing author, view count and published date ( #791 )
2024-10-30 16:47:43 -03:00
asomethings
677e1f0807
feat(account): Add missing property channel_handle ( #789 )
2024-10-29 08:04:07 -03:00
absidue
182bf42d3c
fix(VideoInfo): Fix like count being undefined ( #787 )
2024-10-28 16:08:11 -03:00
Dave Nicolson
22dd71d7da
feat(history): Add ability to remove videos from watch history ( #706 )
...
* Use Button class
* Add ability to remove videos from watch history
* Update src/parser/youtube/History.ts
* Fix linting
---------
Co-authored-by: Roger <sonemonu@gmail.com >
2024-10-28 14:01:09 -03:00
Luan
85d623c463
Merge branch 'main' of https://github.com/LuanRT/YouTube.js
2024-10-28 12:54:22 -03:00
Luan
d84273163f
chore: clean up
2024-10-28 12:51:53 -03:00
absidue
a4ef2249ff
feat: Support auto-dubbed audio tracks ( #786 )
2024-10-26 17:54:12 -03:00
Luan
0081e11ebc
refactor!: Deprecate account#getAnalytics, account#getTimeWatched and account#getAnalytics
...
Due to recent changes by YouTube, these actions can no longer be executed using web based OAuth tokens nor cookies.
2024-10-26 17:45:09 -03:00
Luan
bb3f114aa3
fix(LiveChat#sendMessage): Switch to WEB client
...
Android no longer works properly with TV OAuth tokens.
2024-10-26 17:40:35 -03:00
absidue
43cef9e67e
fix(parser): Fix ShortsLockupView assuming that the primary text always exists ( #775 )
2024-10-07 07:57:22 -03:00
Luan
74659fd03f
chore: add proper documentation ( #763 )
...
* chore: generate API ref using `typedoc`
* chore: declutter readme and add links to ytjs.dev
* chore: clean up
2024-09-23 17:32:50 -03:00
Luan
94bc596048
refactor: Migrate to ts-proto ( #752 )
...
* refactor: Add extracted protos
* refactor: Remove old stuff and update affected code
* chore(package): Update `build:proto` script
* chore(ClientInfo): Rename `androidSdkVersion` to `android_sdk_version`
* chore: remove refs to old proto file
* refactor(sabr_request): Rename `Gw` to `media_type`
* chore(sabr_request): Fix typo in field num
* feat(parser): Parse `video_playback_ustreamer_config` and `server_abr_streaming_url`
* refactor: update protos
* chore(package): streamline clean and build scripts
* chore: update package.json
* chore: update npmignore
* chore(protos): Remove unneeded definitions
See https://github.com/LuanRT/googlevideo for video playback proto definitions.
* chore(package): add `rimraf` dependency
2024-09-16 06:54:29 -03:00
absidue
e1e76ee616
feat(parser): Add ShortsLockupView and BadgeView nodes ( #746 )
2024-09-13 00:19:46 -03:00
Dave Nicolson
bf6cc00699
fix(ItemSection): FeedFilterChipBar parse error ( #741 )
2024-09-11 02:28:33 -03:00
absidue
094a96fb5d
fix(parser): The icon_name property does not always exist in ThumbnailBadgeView ( #745 )
2024-09-11 02:26:58 -03:00
Luan
5a66d0ba93
chore: clean up some types [skip ci]
2024-08-23 02:04:28 -03:00
Luan
c14a687e65
chore: bump eslint to v9
2024-08-22 15:43:59 -03:00
Dave Nicolson
f9ccba4af5
fix(ThumbnailOverlayResumePlayback): Update percent_duration_watched type ( #737 )
2024-08-19 20:18:06 -03:00
absidue
4b60b97132
feat(parser): Add VideoAttributesSectionView node ( #732 )
2024-08-12 14:49:20 -03:00
absidue
2c0bb237e1
fix(Search): Fix it occasionally returning only a small number of results ( #720 )
2024-08-03 09:40:02 -03:00
Luan
e55d4af100
chore: lint
2024-08-01 06:03:51 -03:00
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