YouTube Subscriptions to RSS Feeds

Created: April 16, 2021   Last Modified: April 16, 2021   Category: linux, windows   Print this pageBack to Home

An old way of exporting YouTube subscriptions to RSS feeds is to go to the Subscription Manager page of YouTube and simply click the Export subscriptions button to download the exported .opml file. Currently, I cannot do it. So, here is a workaround.

  • Go to https://www.youtube.com/feed/channels.
  • Open Google Chrome (you may use another browser), press Ctrl + Shift + J to open the console prompt.
  • Paste $$("#main-link.channel-link").reduce((str, el)=>str+'\n'+el.href) to receive a list of YouTube channels and users you subscribed to.
  • RSS for YouTube channels and users are of the following formats:
    • For channels: https://www.youtube.com/feeds/videos.xml?channel_id=[channel id].
    • For users: https://www.youtube.com/feeds/videos.xml?user=[username].
  • From the list you received, replace all https://www.youtube.com/user/ by https://www.youtube.com/feeds/videos.xml?user=, and https://www.youtube.com/channel/ by https://www.youtube.com/feeds/videos.xml?channel_id=. You now have a list of RSS feeds of your YouTube subscriptions.
  • Go to https://opml-gen.ovh/, paste the RSS feeds list to add them into a single file subscriptions.xml.
  • You can now import it to your favourite RSS reader; for example, I like Feedly and QuiteRSS. Note that if you use Feedly, you can import/export .opml from https://feedly.com/i/organize/me.

Back to top Powered by Jekyll
The content on this site is shared under a CC BY-SA 4.0 license, unless otherwise noted Last Modified: April 16, 2021