Skip to content

Instantly share code, notes, and snippets.

View remiberthoz's full-sized avatar

Rémi Berthoz remiberthoz

  • Val d'Oise, France
View GitHub Profile
@remiberthoz
remiberthoz / yt2feed.md
Created May 24, 2025 15:09
Convert a list of YouTube channels URLs to OMPL file for RSS feed readers

The script reads a file named yt2feed.txt and outputs a file named yt2feed.ompl. The input file is a newline-separated list of YouTube channel URLs in @Handle fromat, ie :

$ cat yt2feed.txt
https://www.youtube.com/@3blue1brown
https://www.youtube.com/@AlphaPhoenixChannel
https://www.youtube.com/@animalogic

This works as of 2025-05-24. YouTube may update it's behaviour and break the script.