Skip to content

pdjohntony/patreon-youtube-watchlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

patreon-youtube-watchlist

Parses a Patreon RSS feed for YouTube video links and adds them to a YouTube Playlist.

Getting Started

  1. Clone the repository
git clone https://github.com/pdjohntony/patreon-youtube-watchlist
  1. Install the python requirements
pip install -r requirements.txt
  1. Configure your environment variables:
PATREON_RSS_URL
PATREON_RSS_PARSE_AMOUNT (optional, defaults to 10)
YT_PLAYLIST_ID
TELEGRAM_BOT_TOKEN (optional, used for error alerts)
TELEGRAM_CHAT_ID (optional)
  1. Obtain a YouTube OAuth Token You'll need to run this first from a GUI capable system the first time. A browser will open and you must login to your google account and authorize the app. Once thats done it will generate a youtube_token.pickle file. You can then copy and paste this file to another system.

Usage

python app.py

Automate with Cron

To run automatically every 30 minutes setup a cron job:

crontab -e
0,30 * * * * (cd /home/[user]/[script-folder] && /usr/bin/python3 app.py)

About

Adds YouTube videos from Patreon RSS feeds to a playlist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages