YouTube.js
Guide
Discord
GitHub
Guide
Discord
GitHub

youtubei.js / Mixins / FilterableFeed

Class: FilterableFeed<T>

Extends

  • Feed<T>

Extended by

  • HomeFeed
  • HashtagFeed
  • FilteredChannelList

Type Parameters

• T extends IParsedResponse

Constructors

new FilterableFeed()

new FilterableFeed<T>(actions, data, already_parsed): FilterableFeed<T>

Parameters

• actions: Actions

• data: ApiResponse | T

• already_parsed: boolean = false

Returns

FilterableFeed<T>

Overrides

Feed.constructor

Defined in

src/core/mixins/FilterableFeed.ts:13

Accessors

actions

get actions(): Actions

Returns

Actions

Inherited from

Feed.actions

Defined in

src/core/mixins/Feed.ts:181


channels

get channels(): ObservedArray<Channel | GridChannel>

Get all the channels in the feed

Returns

ObservedArray<Channel | GridChannel>

Inherited from

Feed.channels

Defined in

src/core/mixins/Feed.ts:126


filter_chips

get filter_chips(): ObservedArray<ChipCloudChip>

Returns the filter chips.

Returns

ObservedArray<ChipCloudChip>

Defined in

src/core/mixins/FilterableFeed.ts:20


filters

get filters(): string[]

Returns available filters.

Returns

string[]

Defined in

src/core/mixins/FilterableFeed.ts:38


has_continuation

get has_continuation(): boolean

Checks if the feed has continuation.

Returns

boolean

Inherited from

Feed.has_continuation

Defined in

src/core/mixins/Feed.ts:195


memo

get memo(): Memo

Returns

Memo

Inherited from

Feed.memo

Defined in

src/core/mixins/Feed.ts:137


page

get page(): T

Get the original page data

Returns

T

Inherited from

Feed.page

Defined in

src/core/mixins/Feed.ts:188


page_contents

get page_contents(): ReloadContinuationItemsCommand | SectionList | MusicQueue | RichGrid

Returns contents from the page.

Returns

ReloadContinuationItemsCommand | SectionList | MusicQueue | RichGrid

Inherited from

Feed.page_contents

Defined in

src/core/mixins/Feed.ts:144


playlists

get playlists(): ObservedArray<GridPlaylist | LockupView | Playlist>

Get all playlists in the feed

Returns

ObservedArray<GridPlaylist | LockupView | Playlist>

Inherited from

Feed.playlists

Defined in

src/core/mixins/Feed.ts:133


posts

get posts(): ObservedArray<BackstagePost | Post | SharedPost>

Get all the community posts in the feed

Returns

ObservedArray<BackstagePost | Post | SharedPost>

Inherited from

Feed.posts

Defined in

src/core/mixins/Feed.ts:119


secondary_contents

get secondary_contents(): null | SectionList | BrowseFeedActions | ProfileColumn | SecondarySearchContainer

Returns secondary contents from the page.

Returns

null | SectionList | BrowseFeedActions | ProfileColumn | SecondarySearchContainer

Inherited from

Feed.secondary_contents

Defined in

src/core/mixins/Feed.ts:169


shelves

get shelves(): ObservedArray<ReelShelf | RichShelf | Shelf>

Returns all segments/sections from the page.

Returns

ObservedArray<ReelShelf | RichShelf | Shelf>

Inherited from

Feed.shelves

Defined in

src/core/mixins/Feed.ts:155


videos

get videos(): ObservedArray<CompactVideo | GridVideo | PlaylistPanelVideo | PlaylistVideo | ReelItem | ShortsLockupView | Video | WatchCardCompactVideo>

Get all the videos in the feed

Returns

ObservedArray<CompactVideo | GridVideo | PlaylistPanelVideo | PlaylistVideo | ReelItem | ShortsLockupView | Video | WatchCardCompactVideo>

Inherited from

Feed.videos

Defined in

src/core/mixins/Feed.ts:112

Methods

getContinuation()

getContinuation(): Promise<Feed<T>>

Retrieves next batch of contents and returns a new Feed object.

Returns

Promise<Feed<T>>

Inherited from

Feed.getContinuation

Defined in

src/core/mixins/Feed.ts:219


getContinuationData()

getContinuationData(): Promise<undefined | T>

Retrieves continuation data as it is.

Returns

Promise<undefined | T>

Inherited from

Feed.getContinuationData

Defined in

src/core/mixins/Feed.ts:202


getFilteredFeed()

getFilteredFeed(filter): Promise<Feed<T>>

Applies given filter and returns a new Feed object.

Parameters

• filter: string | ChipCloudChip

Returns

Promise<Feed<T>>

Defined in

src/core/mixins/FilterableFeed.ts:45


getShelf()

getShelf(title): undefined | ReelShelf | RichShelf | Shelf

Finds shelf by title.

Parameters

• title: string

Returns

undefined | ReelShelf | RichShelf | Shelf

Inherited from

Feed.getShelf

Defined in

src/core/mixins/Feed.ts:162


getPlaylistsFromMemo()

static getPlaylistsFromMemo(memo): ObservedArray<GridPlaylist | LockupView | Playlist>

Get all playlists on a given page via memo

Parameters

• memo: Memo

Returns

ObservedArray<GridPlaylist | LockupView | Playlist>

Inherited from

Feed.getPlaylistsFromMemo

Defined in

src/core/mixins/Feed.ts:94


getVideosFromMemo()

static getVideosFromMemo(memo): ObservedArray<CompactVideo | GridVideo | PlaylistPanelVideo | PlaylistVideo | ReelItem | ShortsLockupView | Video | WatchCardCompactVideo>

Get all videos on a given page via memo

Parameters

• memo: Memo

Returns

ObservedArray<CompactVideo | GridVideo | PlaylistPanelVideo | PlaylistVideo | ReelItem | ShortsLockupView | Video | WatchCardCompactVideo>

Inherited from

Feed.getVideosFromMemo

Defined in

src/core/mixins/Feed.ts:78

Edit this page
Last Updated:: 6/8/25, 5:43 PM
Contributors: Luan