#!/usr/bin/env bash
# Desc: Download YouTube videos
# Usage: $ ./bkytpldl-generic
-# Version: 4.1.0
+# Version: 4.1.1
declare -a args; # array for yt-dlp arguments
declare -a urls urls_rand; # array for YouTube playlist URLs
# Settings
dir_out="~/Videos/";
-urls+=("https://www.youtube.com/playlist?list=PLxxx"); # adjust me
-urls+=("https://www.youtube.com/playlist?list=PLxxx"); # adjust me
-urls+=("https://www.youtube.com/playlist?list=PLxxx"); # adjust me
+urls+=("https://www.youtube.com/playlist?list=PLxxx"); # Adjust me. YouTube playlist URL goes here
+urls+=("https://www.youtube.com/playlist?list=PLxxx"); # Adjust me. YouTube playlist URL goes here
+urls+=("https://www.youtube.com/playlist?list=PLxxx"); # Adjust me. YouTube playlist URL goes here
yell() { echo "$0: $*" >&2; } # print script path and all args to stderr
die() { yell "$*"; exit 111; } # same as yell() but non-zero exit status