←back to thread

Grayjay Desktop App

(grayjay.app)
510 points pierrelf | 2 comments | | HN request time: 0.409s | source
Show context
Arnavion ◴[] No.42475715[source]
For anyone who wants a lo-fi solution to subscribing to a youtube channel without having to deal with the youtube.com website, every channel has a built-in Atom feed that contains an entry for each video. My pipeline for watching subscribed channels is to just run a feed reader in one terminal (newsboat) and then copy-paste new videos from that into an adjacent terminal running a loop that runs `yt-dlp` on each pasted line.

You can find the feed URL by inspecting the HTML of the youtube.com/channel/.../videos page and searching for "rssUrl"; it'll look like `www.youtube.com/feeds/videos.xml?channel_id=UC...`

Downside: this feed will contain premieres, shorts and livestreams in addition to videos and AFAIK there's no way to filter those out. Depending on the channel, the title might make it obvious whether it's one of those.

replies(2): >>42478343 #>>42484695 #
1. harryvederci ◴[] No.42478343[source]
You can use yt-dlp to get:

- the channel id by youtube channel url

- the duration + aspect ratio (<= 3 min + vertical = short)

- whether or not it's a live / future video

replies(1): >>42478382 #
2. Arnavion ◴[] No.42478382[source]
Yes, I do do that. I meant that there's no way to filter them out of the feed directly, eg via some URL query parameters.