Create OPML feed file from YouTube subscriptions

There used to be a way to directly download an OPML file to import all youtube subscriptions into a RSS reader such as thunderbird but this no longer exists.

But there is another way to access youtube channel updates as a RSS feed. Basically you can query the subscription list as a CSV file and use the contained channel IDs to create an OPML file and import that into thunderbird. Here is how to do it:

The CSV file contains the channel ID you need for the RSS link and the channel name. You can use this simple python script to convert the CSV file into an OPML file:

create_opml.py (1 kB)

Execute the script with the CSV file as an argument:

./create_opml.py file.csv
and you get file of the same name with the .opml ending.

Import that file into thunderbird to get all channels as RSS subscriptions.

tags: youtube2 rss2
older (2022-01-14): Serial data transfer on the Amiga