Package: aldemsubs
AldemsubsAldemsubs is a command line application to subscribe to Youtube channels and
automatically download videos. It provides a way to keep track of channels
without the need of a Youtube account. It stores channel and video information
in a database and automatically updates them based on the RSS feed Youtube
provides for every channel.Aldemsubs works on GNU/Linux and MacOS (only tested on Mojave). It
should also be compatible with Windows, this is not thoroughly tested however.Installationpip install --user aldemsubsFor user installation make sure that~/.local/bin/is in your$PATH.UsageSubscribe to a channel:aldemsubs -s <channel id>In most cases the channel id is just part of the URL to a channel page. If that
is not the case it can be found by examining the source code of the channel
page. The most reliable way to find a channel id is by searching for "rss" in
the page source. This will take you to the RSS-Link of the channel, which
contains the channel id.Unsubscribe from a channel:aldemsubs -r <channel id>Removes the channel and video data from the database. Downloaded videos will
not be deleted.List subscriptions:aldemsubs -lLists channel id and title of all subscribed channels.Update all subscriptions:aldemsubs -uThis loads the current version of the RSS-feed for each channel and adds new
videos to the database.Download newly added videos:aldemsubs -dDownloads all new videos to the directory set in the configuration file. By
default videos are downloaded to~/Youtube.Delete old videos:aldemsubs -xDeletes all video files older than a set amount of days (with respect to the
download date not publication date).ConfigurationDefault configuration:[aldemsubs]# Videos will be downloaded to this folder (download_path/channel_title/video).download_path=~/Youtube/# Where the database is storeddb_file_path=~/Youtube/aldemsubs.sqlite# A video marked as new will be downloaded by aldemsubs -d (see usage). This# setting controls after how many days the new flag is removed by aldemsubs -u.# This only matters if you frequently update the database without downloading# videosmark_videos_old_after=5# days# Controls for how many days to keep a video file after download. Videos older# than this will be removed by aldemsubs -xdelete_downloads_after=5# days# How many videos should be marked as new / for download after you subscribe to# a channel? Set this to a negative number to download all videos in the RSS# feed (usually Youtube only lists the last 15 videos in the feed)after_subscribe_download_n_videos=3Changes to the configuration can be stored in~/.config/aldemsubs.ini.systemd service and timerTo update your subscriptions and download new videos you can install a systemd
service and timer. Find installation scripts in this repo undersystemd/install_service.shandsystemd/install_timer.sh. Please read the
scripts before executing them and adjust them to your liking.Don't forget tosystemctl enable aldemsubs.timerafter installation.The service and the timer are incompatible with MacOS and Windows.Windows compatibilityAldemsubs should work on Windows. However, as of now, some of my tests do not
run properly on Windows (For more details take a look at the issues).If you want to try running aldemsubs on Windows inspite of that, the command ispython -m aldemsubs. All the options are the same. User configuration should
be stored at%APPDATA%\aldemsubs\aldemsubs.iniand the default download
directory is%USERPROFILE%\Youtube\.