youtubei.js / Mixins / TabbedFeed
Class: TabbedFeed<T>
Extends
Feed<T>
Extended by
Type Parameters
• T extends IParsedResponse
Constructors
new TabbedFeed()
new TabbedFeed<
T>(actions,data,already_parsed):TabbedFeed<T>
Parameters
• actions: Actions
• data: IParsedResponse | ApiResponse
• already_parsed: boolean = false
Returns
TabbedFeed<T>
Overrides
Defined in
src/core/mixins/TabbedFeed.ts:13
Accessors
actions
getactions():Actions
Returns
Inherited from
Defined in
channels
getchannels():ObservedArray<Channel|GridChannel>
Get all the channels in the feed
Returns
ObservedArray<Channel | GridChannel>
Inherited from
Defined in
has_continuation
gethas_continuation():boolean
Checks if the feed has continuation.
Returns
boolean
Inherited from
Defined in
memo
getmemo():Memo
Returns
Inherited from
Defined in
page
getpage():T
Get the original page data
Returns
T
Inherited from
Defined in
page_contents
getpage_contents():SectionList|ReloadContinuationItemsCommand|MusicQueue|RichGrid
Returns contents from the page.
Returns
SectionList | ReloadContinuationItemsCommand | MusicQueue | RichGrid
Inherited from
Defined in
playlists
getplaylists():ObservedArray<GridPlaylist|LockupView|Playlist>
Get all playlists in the feed
Returns
ObservedArray<GridPlaylist | LockupView | Playlist>
Inherited from
Defined in
posts
getposts():ObservedArray<BackstagePost|SharedPost|Post>
Get all the community posts in the feed
Returns
ObservedArray<BackstagePost | SharedPost | Post>
Inherited from
Defined in
secondary_contents
getsecondary_contents():undefined|SuperParsedResult<YTNode>
Returns secondary contents from the page.
Returns
undefined | SuperParsedResult<YTNode>
Inherited from
Defined in
shelves
getshelves():ObservedArray<ReelShelf|RichShelf|Shelf>
Returns all segments/sections from the page.
Returns
ObservedArray<ReelShelf | RichShelf | Shelf>
Inherited from
Defined in
tabs
gettabs():string[]
Returns
string[]
Defined in
src/core/mixins/TabbedFeed.ts:19
title
gettitle():undefined|string
Returns
undefined | string
Defined in
src/core/mixins/TabbedFeed.ts:55
videos
getvideos():ObservedArray<Video|CompactVideo|GridVideo|PlaylistPanelVideo|PlaylistVideo|ReelItem|ShortsLockupView|WatchCardCompactVideo>
Get all the videos in the feed
Returns
ObservedArray<Video | CompactVideo | GridVideo | PlaylistPanelVideo | PlaylistVideo | ReelItem | ShortsLockupView | WatchCardCompactVideo>
Inherited from
Defined in
Methods
getContinuation()
getContinuation():
Promise<Feed<T>>
Retrieves next batch of contents and returns a new Feed object.
Returns
Promise<Feed<T>>
Inherited from
Defined in
getContinuationData()
getContinuationData():
Promise<undefined|T>
Retrieves continuation data as it is.
Returns
Promise<undefined | T>
Inherited from
Defined in
getShelf()
Finds shelf by title.
Parameters
• title: string
Returns
undefined | ReelShelf | RichShelf | Shelf
Inherited from
Defined in
getTabByName()
getTabByName(
title):Promise<TabbedFeed<T>>
Parameters
• title: string
Returns
Promise<TabbedFeed<T>>
Defined in
src/core/mixins/TabbedFeed.ts:23
getTabByURL()
getTabByURL(
url):Promise<TabbedFeed<T>>
Parameters
• url: string
Returns
Promise<TabbedFeed<T>>
Defined in
src/core/mixins/TabbedFeed.ts:37
hasTabWithURL()
hasTabWithURL(
url):boolean
Parameters
• url: string
Returns
boolean
Defined in
src/core/mixins/TabbedFeed.ts:51
getPlaylistsFromMemo()
staticgetPlaylistsFromMemo(memo):ObservedArray<GridPlaylist|LockupView|Playlist>
Get all playlists on a given page via memo
Parameters
• memo: Memo
Returns
ObservedArray<GridPlaylist | LockupView | Playlist>
Inherited from
Defined in
getVideosFromMemo()
staticgetVideosFromMemo(memo):ObservedArray<Video|CompactVideo|GridVideo|PlaylistPanelVideo|PlaylistVideo|ReelItem|ShortsLockupView|WatchCardCompactVideo>
Get all videos on a given page via memo
Parameters
• memo: Memo
Returns
ObservedArray<Video | CompactVideo | GridVideo | PlaylistPanelVideo | PlaylistVideo | ReelItem | ShortsLockupView | WatchCardCompactVideo>