youtubei.js / YT / FilteredChannelList
Class: FilteredChannelList
Extends
Constructors
new FilteredChannelList()
new FilteredChannelList(
actions,data,already_parsed):FilteredChannelList
Parameters
• actions: Actions
• data: ApiResponse | IBrowseResponse
• already_parsed: boolean = false
Returns
Overrides
Defined in
src/parser/youtube/Channel.ts:320
Properties
applied_filter?
optionalapplied_filter:ChipCloudChip
Defined in
src/parser/youtube/Channel.ts:317
contents?
optionalcontents:ReloadContinuationItemsCommand|AppendContinuationItemsAction
Defined in
src/parser/youtube/Channel.ts:318
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
filter_chips
getfilter_chips():ObservedArray<ChipCloudChip>
Returns the filter chips.
Returns
Inherited from
Defined in
src/core/mixins/FilterableFeed.ts:20
filters
getfilters():string[]
Returns available filters.
Returns
string[]
Inherited from
Defined in
src/core/mixins/FilterableFeed.ts:38
has_continuation
gethas_continuation():boolean
Checks if the feed has continuation.
Returns
boolean
Inherited from
FilterableFeed.has_continuation
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
FilterableFeed.secondary_contents
Defined in
shelves
getshelves():ObservedArray<ReelShelf|RichShelf|Shelf>
Returns all segments/sections from the page.
Returns
ObservedArray<ReelShelf | RichShelf | Shelf>
Inherited from
Defined in
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
applyFilter()
applyFilter(
filter):Promise<FilteredChannelList>
Applies given filter to the list.
Parameters
• filter: string | ChipCloudChip
The filter to apply
Returns
Promise<FilteredChannelList>
Defined in
src/parser/youtube/Channel.ts:340
getContinuation()
getContinuation():
Promise<FilteredChannelList>
Retrieves list continuation.
Returns
Promise<FilteredChannelList>
Overrides
FilterableFeed.getContinuation
Defined in
src/parser/youtube/Channel.ts:348
getContinuationData()
getContinuationData():
Promise<undefined|IBrowseResponse>
Retrieves continuation data as it is.
Returns
Promise<undefined | IBrowseResponse>
Inherited from
FilterableFeed.getContinuationData
Defined in
getFilteredFeed()
getFilteredFeed(
filter):Promise<Feed<IBrowseResponse>>
Applies given filter and returns a new Feed object.
Parameters
• filter: string | ChipCloudChip
Returns
Promise<Feed<IBrowseResponse>>
Inherited from
FilterableFeed.getFilteredFeed
Defined in
src/core/mixins/FilterableFeed.ts:45
getShelf()
Finds shelf by title.
Parameters
• title: string
Returns
undefined | ReelShelf | RichShelf | Shelf
Inherited from
Defined in
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
FilterableFeed.getPlaylistsFromMemo
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>
Inherited from
FilterableFeed.getVideosFromMemo