download-yt-feeds
Download YouTube-feeds like they are podcasts. Files will be put in <download_dir>/channel/title.extension
.
Install
Put download-yt-feeds
somewhere in your ${PATH}
and make it executable.
Dependencies
-
Linux (*BSD and other UNIXes should work, but I haven’t tested)
Configuration
The configuration directory is ${XDG_CONFIG_HOME}/download-yt-feeds
or, if
${XDG_CONFIG_HOME}
is not set, ${HOME}/.config/download-yt-feeds
. You need 2
files in this directory, config
and feedlist
.
config
Example configuration file
# This file will be source-d.
download_dir="/home/user/Podcasts/youtube"
keep_for_days="14"
ytdl_format="bestvideo[height<=1080]+bestaudio/best[height<=1080]"
download_dir |
The directory to which the videos will be downloaded. |
keep_for_days |
Delete videos after this many days. |
ytdl_format |
Same syntax as youtube-dl --format. Default is "best". |
feedlist
A "feed" in this context is a URL to a page that lists YouTube-videos, not an RSS or Atom feed.
Example feed list
# Everything that doesn't start with "http" will be skipped.
https://www.youtube.com/channel/UCyczvB_IvA7V1a5BXXu3CRg/videos # Karakaya Talks
https://www.youtube.com/user/lefticus1/videos # C++ Weekly
Description
Languages
Shell
100%