Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nebunebu/ytrss
https://github.com/nebunebu/ytrss
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nebunebu/ytrss
- Owner: nebunebu
- Created: 2023-09-20T22:34:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-20T23:38:39.000Z (over 1 year ago)
- Last Synced: 2023-09-21T12:12:27.591Z (over 1 year ago)
- Language: Shell
- Size: 5.46 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ytrss
This script scrapes an invidious instance to get upload history of a YouTube channel in xml format.
The RSS feeds for YouTube channels are limited to 15 initial entries and the official YouTube
API is limited to 50. This script does not have such limits.## Demo
[![Demo](https://i9.ytimg.com/vi/hJcYlylv95w/mqdefault.jpg?sqp=CKSDrqgG-oaymwEmCMACELQB8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGGUgQShKMA8=&rs=AOn4CLDw_6lP6xmqdjDDGVrDX2GdRBnbOA)](https://youtu.be/hJcYlylv95w)
## Warnings
- This script is not Posix complaint.
- It is hardcoded to work with newsboat.## DEPENDENCIES
- bash
- jq
- sed
- newsboat## USE
1. Make the script executable
```sh
chmod +x ytrss
```
2. Put the script on your $PATH
```sh
mv ytrss ~/.local/bin/
```
3. Set a keybind in newsboat
```conf
macro f set browser "ytrss"; open-in-browser; set browser default
```
4. When hovering over, a feed for a youtube channel, press your macro key
then the macro you set in (3.). The script will create and link the xml
for that channels upload history.5. Close and reopen newsboat. You should now see the feed for that
channel's upload history.## Note
The dates in the field of the xml are inaccurate and used so
that newsboat reads the entries in correct order.