diff options
Diffstat (limited to 'lib/action/aDownload')
| -rwxr-xr-x | lib/action/aDownload | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/action/aDownload b/lib/action/aDownload new file mode 100755 index 0000000..56fe212 --- /dev/null +++ b/lib/action/aDownload @@ -0,0 +1,13 @@ +#! /bin/bash + +source ./util/verify/cbd-https +source ./util/dpath + +yt-dlp -f 'bestaudio/best' \ + -o "$DPATH/%(title)s.%(ext)s" \ + --embed-thumbnail \ + --extract-audio \ + --audio-format mp3 \ + --embed-chapters \ + "$(is_https_url_cbd "$1")" + |
