YouTube.js
Guide
Discord
GitHub
Guide
Discord
GitHub

youtubei.js / YT / HashtagFeed

Class: HashtagFeed

Extends

  • FilterableFeed<IBrowseResponse>

Constructors

new HashtagFeed()

new HashtagFeed(actions, response): HashtagFeed

Parameters

• actions: Actions

• response: ApiResponse | IBrowseResponse

Returns

HashtagFeed

Overrides

FilterableFeed.constructor

Defined in

src/parser/youtube/HashtagFeed.ts:16

Properties

contents

contents: RichGrid

Defined in

src/parser/youtube/HashtagFeed.ts:14


header?

optional header: PageHeader | HashtagHeader

Defined in

src/parser/youtube/HashtagFeed.ts:13

Accessors

actions

get actions(): Actions

Returns

Actions

Inherited from

FilterableFeed.actions

Defined in

src/core/mixins/Feed.ts:178


channels

get channels(): ObservedArray<Channel | GridChannel>

Get all the channels in the feed

Returns

ObservedArray<Channel | GridChannel>

Inherited from

FilterableFeed.channels

Defined in

src/core/mixins/Feed.ts:123


filter_chips

get filter_chips(): ObservedArray<ChipCloudChip>

Returns the filter chips.

Returns

ObservedArray<ChipCloudChip>

Inherited from

FilterableFeed.filter_chips

Defined in

src/core/mixins/FilterableFeed.ts:20


filters

get filters(): string[]

Returns available filters.

Returns

string[]

Inherited from

FilterableFeed.filters

Defined in

src/core/mixins/FilterableFeed.ts:38


has_continuation

get has_continuation(): boolean

Checks if the feed has continuation.

Returns

boolean

Inherited from

FilterableFeed.has_continuation

Defined in

src/core/mixins/Feed.ts:192


memo

get memo(): Memo

Returns

Memo

Inherited from

FilterableFeed.memo

Defined in

src/core/mixins/Feed.ts:134


page

get page(): T

Get the original page data

Returns

T

Inherited from

FilterableFeed.page

Defined in

src/core/mixins/Feed.ts:185


page_contents

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

Returns contents from the page.

Returns

ReloadContinuationItemsCommand | SectionList | MusicQueue | RichGrid

Inherited from

FilterableFeed.page_contents

Defined in

src/core/mixins/Feed.ts:141


playlists

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

Get all playlists in the feed

Returns

ObservedArray<GridPlaylist | LockupView | Playlist>

Inherited from

FilterableFeed.playlists

Defined in

src/core/mixins/Feed.ts:130


posts

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

Get all the community posts in the feed

Returns

ObservedArray<BackstagePost | Post | SharedPost>

Inherited from

FilterableFeed.posts

Defined in

src/core/mixins/Feed.ts:116


secondary_contents

get secondary_contents(): undefined | SuperParsedResult<YTNode>

Returns secondary contents from the page.

Returns

undefined | SuperParsedResult<YTNode>

Inherited from

FilterableFeed.secondary_contents

Defined in

src/core/mixins/Feed.ts:166


shelves

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

Returns all segments/sections from the page.

Returns

ObservedArray<ReelShelf | RichShelf | Shelf>

Inherited from

FilterableFeed.shelves

Defined in

src/core/mixins/Feed.ts:152


videos

get videos(): 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

FilterableFeed.videos

Defined in

src/core/mixins/Feed.ts:109

Methods

applyFilter()

applyFilter(filter): Promise<HashtagFeed>

Applies given filter and returns a new HashtagFeed object. Use HashtagFeed.filters to get available filters.

Parameters

• filter: string | ChipCloudChip

Filter to apply.

Returns

Promise<HashtagFeed>

Defined in

src/parser/youtube/HashtagFeed.ts:38


getContinuation()

getContinuation(): Promise<Feed<IBrowseResponse>>

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

Returns

Promise<Feed<IBrowseResponse>>

Inherited from

FilterableFeed.getContinuation

Defined in

src/core/mixins/Feed.ts:216


getContinuationData()

getContinuationData(): Promise<undefined | IBrowseResponse>

Retrieves continuation data as it is.

Returns

Promise<undefined | IBrowseResponse>

Inherited from

FilterableFeed.getContinuationData

Defined in

src/core/mixins/Feed.ts:199


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()

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

Finds shelf by title.

Parameters

• title: string

Returns

undefined | ReelShelf | RichShelf | Shelf

Inherited from

FilterableFeed.getShelf

Defined in

src/core/mixins/Feed.ts:159


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

FilterableFeed.getPlaylistsFromMemo

Defined in

src/core/mixins/Feed.ts:91


getVideosFromMemo()

static getVideosFromMemo(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

Defined in

src/core/mixins/Feed.ts:75

Edit this page
Last Updated:: 3/25/25, 8:08 PM
Contributors: EdamAme-x