56 lines
1.8 KiB
Markdown
56 lines
1.8 KiB
Markdown
# 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
|
|
|
|
```bash
|
|
git clone https://git.forestier.app/HorlogeSkynet/YouTube-RSS.git
|
|
```
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
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](https://lehollandaisvolant.net/?id=20150515120010) is where they come from.
|
|
So thanks to **Timo van Neerden** for sharing !
|