📰 A simple RSS feeds generation for YouTube entities https://git.forestier.app/HorlogeSkynet/YouTube-RSS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.1 KiB

YouTube-RSS

A simple RSS feeds generation for YouTube entities

Introduction

Initially, the web has been thought decentralized.
With PUSH notifications and so on, old users may forget about that whereas new users usually don't know a thing about it.
Maybe they will definitely die soon but currently RSS feeds are still really handy to stay up to date (when the publisher supports it of course).

If you don't have a Google account anymore, it's difficult to subscribe to YouTube channels and receive notifications when a new video is uploaded.
RSS feeds can help you walk around this issue.

The problem is : YouTube (Google [Alphabet]) voluntary hides those links from people for some time now.
You may think that's because they don't handle RSS feeds anymore, but that's not the case.
It's still possible to retrieve notifications this way, but you just have to know the way the links.

As I was bored to manually forge new links, here is a script to automatically generate them.

It's currently possible to detect and "build" links for :

  • Users
  • Channels
  • Play-lists

It's modular, so don't worry about a new entity arriving anytime soon (or an upstream format change).

Dependency

  • python3 (>= 3.5)

Installation

Manually

git clone https://git.forestier.app/HorlogeSkynet/YouTube-RSS.git

Usage

python3 youtube_rss.py -h

# Simple RSS feed generation from passed links
python3 youtube_rss.py https://www.youtube.com/user/thinkerview https://www.youtube.com/channel/UCQgWpmt02UtJkyO32HGUASQ

# You can pipe a list of links directly to the script
cat test/test_cases.txt | python3 youtube_rss.py --read-stdin

Credits

As I didn't found out the link formats on my own, here is where they come from.
So thanks to Timo van Neerden for sharing !

You may wanna check out rsstube, a BASH-only script supporting additional RSS providers and features.

Improvements

If you wanna share your changes / improvements, please contact me.