Open cquenelle opened 2 months ago
I've been using open rss. it basically does what you're asking. when you on any youtube video, just add openrss.org to front of youtube channel URL and it will generate the rss feed for the youtube channel.
It seems like openrss.org should do what I want. But I can't get it to work f'or YouTube.
FWIW: The main "channel" page on you tube doesn't have the channel_id anywhere in the source. To get the channel_id you have to look at the source code for one of the videos on the channel.
When I use openrss on either the YouTube channel page or one of the videos on the channel, it doesn't seem to work. Does openrrs work for you with YouTube?
what is the channel? i can check to see if it work for you
https://openrss.org/www.youtube.com/@NickHeinOfficialPage/videos is the RSS feed for https://www.youtube.com/@NickHeinOfficialPage/videos. That works for me.
I just tried a random video https://www.youtube.com/watch?v=SlEByKfcNmk
But now that I read more I think openers is not what I want. I don't need a feed to be created on a third party site. The feed already exists in YouTube, but there is no button or page that links to the rss feed. So I need to use a few steps to create the correct url.
I tried pasting the feed URL you showed into NetNewsWire and it said "no feed" So something weird is happening for me.
Oh NetNewsWire is probably blocking open rss. The feed works for me in Inoreader and just tried in Feedbin and works as well. Sounds like there is something going on with NetNewsWire. will have to wait until developer fixes it i guess
Literally, I just want NNW to run this command for me on youtube URLS that don't look like feeds.
` % youtuberss "https://www.youtube.com/watch?v=hjer379ONJo" https://www.youtube.com/feeds/videos.xml?channel_id=UCEbFX3P9ADiJvle5Z0Qyw2A
% which youtuberss youtuberss () { id=$(curl -s "$1" | grep channelId | head -1 | sed -e 's/.channelId":"//' -e 's/",".//') echo "https://www.youtube.com/feeds/videos.xml?channel_id=$id" } `
noembed might work since it can give you the channel URL from a video, but you still need to look through the video page.
So given video https://www.youtube.com/watch?v=SlEByKfcNmk
you can query noembed like this:
https://noembed.com/embed?url=https://www.youtube.com/watch?v=SlEByKfcNmk
You'll get this JSON containing author url you can use
{"thumbnail_height":360,"version":"1.0","url":"https://www.youtube.com/watch?v=SlEByKfcNmk","thumbnail_width":480,"width":200,"provider_name":"YouTube","type":"video","height":113,"provider_url":"https://www.youtube.com/","html":"<iframe width=\"200\" height=\"113\" src=\"https://www.youtube.com/embed/SlEByKfcNmk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"The Fifth Element - 1950's Super Panavision 70\"></iframe>","author_url":"https://www.youtube.com/@AIFlickNips","author_name":"AI FlickNips","thumbnail_url":"https://i.ytimg.com/vi/SlEByKfcNmk/hqdefault.jpg","title":"The Fifth Element - 1950's Super Panavision 70"}
I know I'm asking for a heuristic that will eventually break. But I would like to be able to add a feed in NNW and paste a URL pointing at a youtube video, and have NNW:
That would let me simply and easily subscribe to youtube channels in NNW.
I'm not sure if this has already been suggested, but it seems valuable, even thought it encodes an implementation detail of the youtube pages.
It looks like openrss.org should what I want if I use NNW to subscribe to a feed with openrss.org at the start, but it doesn't seem to work.