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

feat: add isShort property to videoCompact. #120

Merged

Conversation

xiaohaoxing
Copy link
Contributor

@xiaohaoxing xiaohaoxing commented Nov 13, 2024

Greeting, friend!

As "Shorts" becomes a popular video type on youtube, it seems that it's useful to figure out if a video is a shorts video or not.

I've found that isLive property reads a field thumbnailOverlayTimeStatusRenderer.style. And developer of youtube also use this field to tag a 'SHORTS' on the cover of video. So I think it's reliable to use this field to judge if a video is Shorts.

Thanks to your review.

@SuspiciousLookingOwl
Copy link
Owner

Thanks for the PR, got a small comment

@xiaohaoxing xiaohaoxing changed the title feat: add isShorts property to videoCompact. feat: add isShort property to videoCompact. Nov 13, 2024
@SuspiciousLookingOwl SuspiciousLookingOwl merged commit 1460ae8 into SuspiciousLookingOwl:development Nov 13, 2024
github-actions bot pushed a commit that referenced this pull request Nov 13, 2024
feat: add isShort property to videoCompact.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants