Create download dir.

This commit is contained in:
tastytea 2020-12-16 16:52:39 +01:00
parent 41cc86c466
commit 9ddf88e2d0
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ function main()
[[ -z "${keep_for_days}" ]] && die 2 "keep_for_days not specified."
[[ -z "${ytdl_format}" ]] && local ytdl_format="best"
mkdir -p "${download_dir}"
local -a feedlist=("${(@Q)${(z)$(read_feedlist)}}")
for feed in ${feedlist}; do
youtube-dl \