Site logo image

Welcome to the CozyNet Blog!

Blog - Contact me - Cozy music - About me - Cozy links
RSS feed

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:

Back to top!