Skip to content

Get the YouTube hashtag stats #83

@ashalfarhan

Description

@ashalfarhan

Is your feature request related to a problem? Please describe.

Currently, it's not possible to get the hashtag statistics, It would be nice if this lib allows me to retrieve the stats from YouTube.

Describe the solution you'd like

The type option on the .search method can be set to "hashtag", then we can get the stats of the hashtag itself.

const result = await youtubei.search("#coding", { type: "hashtag" });

Additional context

Screenshot 2023-09-26 at 07 01 47

I found that this is possible to do, there's a hashtagTileRenderer that renders the stats on the YouTube search result page.

Screenshot 2023-09-26 at 07 04 05

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions