📰 A simple RSS feeds generation for YouTube entities https://git.forestier.app/HorlogeSkynet/YouTube-RSS
Go to file
Samuel FORESTIER ef127992b3 Removes outdated "Related projects" and "Improvements" from README 2023-11-01 19:38:01 +01:00
test Adds type annotations (Python >= 3.5) 2020-11-29 12:42:55 +01:00
.gitignore Publishes a first working version of the script 2019-05-04 08:46:01 +02:00
LICENSE I don't know why I started to call LICENSE.md files as it's not Markdown 2019-05-04 08:59:38 +02:00
README.md Removes outdated "Related projects" and "Improvements" from README 2023-11-01 19:38:01 +01:00
youtube_rss.py Bumps to v1.4.0 2020-11-29 12:43:16 +01:00

README.md

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 !