projects
/
BK-2020-03.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(user/rand_media_pl.sh):Make robust and parallelize
[BK-2020-03.git]
/
user
/
bkytpldl-generic
diff --git
a/user/bkytpldl-generic
b/user/bkytpldl-generic
index ae79832ce054917ed930e8ec73506fe850491cb2..4f6689ff72cf89abf0b1f495729e53af2339c61c 100644
(file)
--- a/
user/bkytpldl-generic
+++ b/
user/bkytpldl-generic
@@
-1,7
+1,7
@@
#!/usr/bin/env bash
# Desc: Download YouTube videos
# Usage: $ ./bkytpldl-generic
#!/usr/bin/env bash
# Desc: Download YouTube videos
# Usage: $ ./bkytpldl-generic
-# Version: 4.1.
1
+# Version: 4.1.
2
declare -a args; # array for yt-dlp arguments
declare -a urls urls_rand; # array for YouTube playlist URLs
declare -a args; # array for yt-dlp arguments
declare -a urls urls_rand; # array for YouTube playlist URLs
@@
-83,7
+83,7
@@
args+=("--download-archive" "$pathDA");
## Note: `$(title).120B` shortens title to 120 bytes (useful for
## titles with UTF-8 characters.
args+=("-o");
## Note: `$(title).120B` shortens title to 120 bytes (useful for
## titles with UTF-8 characters.
args+=("-o");
-args+=("%(playlist)s/%(upload_date)s.%(channel)
s
.%(channel_id)s.%(title).120B.%(id)s.%(ext)s");
+args+=("%(playlist)s/%(upload_date)s.%(channel)
.32B
.%(channel_id)s.%(title).120B.%(id)s.%(ext)s");
## Limit download resolution to 1080p
args+=("-S" "res:1080");
## Limit download resolution to 1080p
args+=("-S" "res:1080");