Here’s the problem since we use the YouTube API:
Based on my research, the YouTube Data API v3 does not have a field to identify Shorts. This is a known gap - there’s an Google Issue Tracker asking for this.
The API returns contentDetails, snippet, and statistics but none contain a “isShort” indicator.
Available options:
1. Duration-based (≤60 seconds) - you said you don’t like this
2. RSS feed URL pattern - requires fetching the RSS feed (you don’t want extra fe
3. URL probing - hit youtube.com/shorts/{VIDEO_ID} for each video and check for 200 vs 303 redirect (even more fetches)
The YouTube API simply doesn’t expose this information.