Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> .. improves support for Podcast 2.0, allowing users to subscribe to channels and play the video audio stream (if available) using classic podcast applications

that refers to https://podcasting2.org/podcast-namespace

A youtube channel url provides a rss link too, but it's not advertised much and you need a player that can extract the audio stream. I often yt-dl the audio from talks/interviews, but it could be easier.

The v7 interface came out nice, for examples see https://instances.joinpeertube.org/instances?sort=-version&p...



Kind of a pain to find but it's essentially `https://www.youtube.com/feeds/videos.xml?channel_id=UCY1kMZp...` and you swap out the channel ID.

To find the channel ID: 1. Visit the creator's page 2. Click on `more` for the full description 3. Scroll down to `Share Channel` 4. Click and copy Channel ID

A bit of a pain but I'm glad I know this now!


a quick shortcut flow in a browser on the youtube channel page (a click below the video title):

ctrl+u ctrl+f "rss+x" -> shows a click+copyable video.xml link

I understand people being pleased to learn this, for me the peertube announcement was learning about p2, as it's been around a few years already.

alternateEnclosure is a real gem in the p2 rss spec, the thing that makes multiple channels and alternative formats/codecs/resolutions work.


This bookmarklet will show the RSS feed URL in an alert window:

Original Source: https://webapps.stackexchange.com/a/116549

    javascript: (() => {

    for (var arrScripts = document.getElementsByTagName('script'), i = 0; i < arrScripts.length; i++) {
        if (arrScripts[i].textContent.indexOf('externalId') != -1) {
            var channelId = arrScripts[i].textContent.match(/\"externalId\"\s*\:\s*\"(.*?)\"/)[1];
            var channelRss = 'https://www.youtube.com/feeds/videos.xml?channel_id=' + channelId;
            var channelTitle = document.title.match(/\(?\d*\)?\s?(.*?)\s\-\sYouTube/)[1];
            alert('The rss feed of the channel \'' + channelTitle + '\' is:\n' + channelRss);
            break;
        }
    }

    })();


The script doesn't work anymore, `externalId` is no longer found in the page source.

That's okay, I've found a regular type="application/rss+xml" <link> is in the page head of YouTube channel pages but only if you load that page directly; if you follow links within the site to the channel page, it's an SPA and you don't get the channel URL's <link> elements.

The channel page also has a <link rel="canonical" …> and that URL ends with the channel ID, even if it has an `@` handle.


The rss feed provides a link that you can open in a web browser to play the video. You don't need a tool to extract it.


You do if you want to use a podcast player application, which is what the comment you're replying to is talking about.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: