[ You are viewing an archive of the CozyNet blog. ]

Site banner image


Scraping RSS feeds from YouTurd channels, the EZ way!


Click for template.

So this is going to require a Mozilla based web-browser to do because it supports bookmarklets, which are pretty much bookmarks that can run some javascript on a page.

Step 1:

Create a bookmark.

Step 2:

Copy the following script into the bookmark “location” or “URL” form.


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

Step 3:

Go to any channel on YouTubb, then click that bookmark and profit!

You should see the following prompt with an exact feed address. Copy this into your feed reader and you’ll no longer need the subscribe or bell crap to follow a channel.

Also, please increase the auto-refresh frequency of your feed reader to at least 15 minutes and not every minute, otherwise Google will catch on and cut it off. Don’t ruin it for the rest of us now, OK!?


Thanks for reading my blog!



Comments:

The comment system database is now locked and readonly as of 06/22/2025. Thank you for being a part of CozyNet!

  • heckin' lot less work than creating a whole browser extension. nice one!

    The comment system database is now locked and readonly as of 06/22/2025. Thank you for being a part of CozyNet!

    Mar 9, 2023 Permalink Reply
    • This is cool, but I recently found this: https://openrss.org/news/youtube-feeds so your trick is now useless to me :-(

      The comment system database is now locked and readonly as of 06/22/2025. Thank you for being a part of CozyNet!

      Dec 16, 2022 Permalink Reply
      • That's pretty cool bro! Buuut, if openrss ever goes down, then what? I used invidious in the past and was bit when the instance would go down.

        The comment system database is now locked and readonly as of 06/22/2025. Thank you for being a part of CozyNet!

        Dec 17, 2022 Permalink Reply
      • based

        The comment system database is now locked and readonly as of 06/22/2025. Thank you for being a part of CozyNet!

        Oct 8, 2022 Permalink Reply
        • Invidious instances have an RSS button on channel pages, which is what I prefer to use over YouTube. It still all comes from Google in the end, but the interface is nicer.

          The comment system database is now locked and readonly as of 06/22/2025. Thank you for being a part of CozyNet!

          Sep 10, 2022 Permalink Reply
          • Hey there fren!
            Invidious was the way I use to get my feeds for YouTube channels, but I kept running into an issue where the instance I would get my feeds from would go offline! So that's why I do it this way now.

            The comment system database is now locked and readonly as of 06/22/2025. Thank you for being a part of CozyNet!

            Sep 10, 2022 Permalink Reply
          Back to top!