3e33e77 Avoid launching subprocess when there is nothing to download
~jshholland pushed to ~jshholland/spektilo git
spektilo
is a utility for downloading new videos from YouTube
channels with yt-dlp
or a similar tool.
You will need to set up a configuration file called spektilo.toml
in
the top level of the target directory. A sample configuration file
looks like this:
downloader = "yt-dlp" # optional string
downloader_opts = ["--retries", "infinite"] # optional list of strings, defaults to empty
[subs]
rust = "UCaYhcUwRBNscFNUKTjgPFiA"
MozillaDeveloper = "UCh5UlGiu9d6LegIeUCW4N1w"
For each item name = "id"
in the subs
table (which is mandatory,
but may rather uselessly be empty), spektilo
will create a directory
called name
in to download new videos into using yt-dlp
. On the
first run, it will download all videos referenced in the Atom feed
(this is probably not what you want and will be fixed Real Soon Now),
but on each run it updates a file called .spektilo.state
at the top
level of the target directory to keep track of successfully downloaded
videos.
Send patches[^patches-how], bug reports, thanks, suggestions, and any other feedback directly to me at josh@inv.alid.pw.
[^patches-how]: using git send-email