Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the YouTube hashtag stats #83

Open
ashalfarhan opened this issue Sep 26, 2023 · 0 comments
Open

Get the YouTube hashtag stats #83

ashalfarhan opened this issue Sep 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ashalfarhan
Copy link

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
@ashalfarhan ashalfarhan added the enhancement New feature or request label Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant