Table of Contents (click to expand)
git clone https://github.com/imbr92/YT-RSS.git
cd YT-RSS
chmod +x yt-rss
and make sure yt-rss is in your $PATH
(i.e. by symlinking to ~/bin
)
- Set
$path_to_feed
and$default_download_dir
in yt-rss. - Set up config directory
$path_to_feed
├── rsslist
└── ts
where rsslist should have the following format:
<RSS URL for channel 1> | <Output path for channel n> | <Flags for channel n>
.
.
.
<RSS URL for channel n> | <Output path for channel n> | <Flags for channel n>
See an example config here.
- Go to the main page of a channel and get the channel id
- Click view page source on the main page
- Search for "?channel_id=" to find the id.
- The RSS feed link is
https://www.youtube.com/feeds/videos.xml?channel_id=<CHANNEL_ID>
This script works well with cron. There is no special set up in order to cron this program specifically (outside of the standard cron setup). See this for more information about cron.