[Feature] exclude youtube short vids
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I’m always frustrated when […]
I get the rss from several YT channels and some are shordt vids, which seems a new YT feature. I'm not interested in them less than 1 minute long.
Describe the solution you’d like A clear and concise description of what you want to happen.
I'd like not to download/list them, exclude them from download/list. I would like to ignore videos shorts like https://www.youtube.com/watch?v=NtxddL08ZOg
Describe alternatives you’ve considered A clear and concise description of any alternative solutions or features you’ve considered.
None so far. I'm puzzled at this moment.
Additional context Add any other context or screenshots about the feature request here.
Can you show an example of relevant RSS feed?
Gladly. Short vids mixed with normal vids.
https://www.youtube.com/feeds/videos.xml?channel_id=UCENLojIE8uEeXAOxgtLiMlQ
I cannot immediately spot any information in the feed, which could help filter out the videos based on their length.
<entry>
<id>yt:video:NtxddL08ZOg</id>
<yt:videoId>NtxddL08ZOg</yt:videoId>
<yt:channelId>UCENLojIE8uEeXAOxgtLiMlQ</yt:channelId>
<title>My emotions are all in this song ✨ #beatriceflorea #cover #clown #emelisandé</title>
<link rel="alternate" href="https://www.youtube.com/watch?v=NtxddL08ZOg"/>
<author>
<name>Beatrice Florea - Singer</name>
<uri>https://www.youtube.com/channel/UCENLojIE8uEeXAOxgtLiMlQ</uri>
</author>
<published>2024-05-02T17:01:17+00:00</published>
<updated>2024-05-02T17:08:24+00:00</updated>
<media:group>
<media:title>My emotions are all in this song ✨ #beatriceflorea #cover #clown #emelisandé</media:title>
<media:content url="https://www.youtube.com/v/NtxddL08ZOg?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
<media:thumbnail url="https://i3.ytimg.com/vi/NtxddL08ZOg/hqdefault.jpg" width="480" height="360"/>
<media:description></media:description>
<media:community>
<media:starRating count="98" average="5.00" min="1" max="5"/>
<media:statistics views="120"/>
</media:community>
</media:group>
</entry>
I have the same issue, that I would like to have it filtered out.
But I cannot find any information in the RSS feed, that could help here.
Only an extension could help that fetches the page and checks out the ytp-time-duration
Yeah, https://www.youtube.com/@BeatriceFloreaSinger/videos and https://www.youtube.com/@BeatriceFloreaSinger/shorts share the same rss feed. Annoying... Half are shorts
Will sleep on that, I guess.
I'm working on an solution about this wish based on https://github.com/Benjamin-Loison/YouTube-operational-API It will be integrated into my extension xExtension-YouTubeChannel2RssFeed
Have a look at CNTools#8
Great :)
Let me move this ticket to the extensions repository.
A few seconds ago i checked in a alpha version of xExtension-YouTubeChannel2RssFeed to detect youtube shorts.
Please test it and i'm happy to read your feedback.
I tried out the extension but couldn't get it to work. But I did find the easy manual way to exclude shorts by updating the feed URL - after adding the YouTube channel feed, edit the Feed URL from:
https://www.youtube.com/feeds/videos.xml?channel_id=UC
to
https://www.youtube.com/feeds/videos.xml?playlist_id=UULF
Would be nice to see this as a built-in option for FreshRSS.
There are a few different playlist codes that can be used: UU for a playlist of all videos, UULF for a playlist of standard videos, UUSH for a playlist of all shorts, UULV for a playlist of all livestreams.
I tried out the extension but couldn't get it to work.
Probably because there is no more public instance of Benjamin's Youtube-API. You need to install your own.
https://github.com/Benjamin-Loison/YouTube-operational-API
I tried out the extension but couldn't get it to work. But I did find the easy manual way to exclude shorts by updating the feed URL - after adding the YouTube channel feed, edit the Feed URL from:
https://www.youtube.com/feeds/videos.xml?channel_id=UC
to
https://www.youtube.com/feeds/videos.xml?playlist_id=UULF
Would be nice to see this as a built-in option for FreshRSS.
There are a few different playlist codes that can be used: UU for a playlist of all videos, UULF for a playlist of standard videos, UUSH for a playlist of all shorts, UULV for a playlist of all livestreams.
+1. Kindly integrate this.
@MisuVir thank you for sharing this info, it's an awesome solution!
did this ever get added?
UULF
ty for posting this!
UUSH solution for only shorts is not working for me
adding UULF to the url doesnt seem to work for me either. It breaks the urls.
404. That’s an error. The requested URL /feeds/videos.xml?channel_id=UULFchBatdUMZoMfJ3rIzgV84g was not found on this server.
i think you are meant to add it to the playlist_id, but it still isnt working me
adding UULF to the url doesnt seem to work for me either. It breaks the urls.
404. That’s an error. The requested URL /feeds/videos.xml?channel_id=UULFchBatdUMZoMfJ3rIzgV84g was not found on this server.
Make sure you're also changing "channel_id" to "playlist_id". When I make that change to your posted URL, it works fine for me.
Same with the UUSH - it returns a playlist containing only the shorts, so make sure it's playlist_id, not channel_id.
Edit to add examples:
Channel: https://www.youtube.com/feeds/videos.xml?channel_id=UCchBatdUMZoMfJ3rIzgV84g Shorts: https://youtube.com/feeds/videos.xml?playlist_id=UUSHchBatdUMZoMfJ3rIzgV84g Full Vids: https://youtube.com/feeds/videos.xml?playlist_id=UULFchBatdUMZoMfJ3rIzgV84g
There are a few different playlist codes that can be used: UU for a playlist of all videos, UULF for a playlist of standard videos, UUSH for a playlist of all shorts, UULV for a playlist of all livestreams.
Thank you so much @MisuVir. Where did you find the code list? Can you share a link please?
Unfortunately as of yesterday UULF prefixed playlists are now including shorts (e.g. https://www.youtube.com/feeds/videos.xml?playlist_id=UULF710HJmp-YgNbE5BnFBRoeg)