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

[Feature] exclude youtube short vids #234

Open
i300220 opened this issue May 2, 2024 · 8 comments
Open

[Feature] exclude youtube short vids #234

i300220 opened this issue May 2, 2024 · 8 comments

Comments

@i300220
Copy link

i300220 commented May 2, 2024

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.

@Alkarex
Copy link
Member

Alkarex commented May 2, 2024

Can you show an example of relevant RSS feed?

@i300220
Copy link
Author

i300220 commented May 2, 2024

Gladly. Short vids mixed with normal vids.

https://www.youtube.com/feeds/videos.xml?channel_id=UCENLojIE8uEeXAOxgtLiMlQ

@Alkarex
Copy link
Member

Alkarex commented May 2, 2024

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>

@math-GH
Copy link
Contributor

math-GH commented May 2, 2024

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

grafik

@i300220
Copy link
Author

i300220 commented May 2, 2024

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.

@cn-tools
Copy link
Contributor

cn-tools commented May 3, 2024

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

@math-GH
Copy link
Contributor

math-GH commented May 3, 2024

Great :)

Let me move this ticket to the extensions repository.

@math-GH math-GH transferred this issue from FreshRSS/FreshRSS May 3, 2024
@math-GH math-GH added xExtension-YouTube xExtension-YouTube and removed xExtension-YouTube xExtension-YouTube labels May 5, 2024
@cn-tools
Copy link
Contributor

cn-tools commented May 6, 2024

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.

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

No branches or pull requests

4 participants