diff options
| author | LM-LCL <hello@exaltedelite.club> | 2023-04-19 21:23:42 +0200 |
|---|---|---|
| committer | LM-LCL <hello@exaltedelite.club> | 2023-04-19 21:23:42 +0200 |
| commit | b98f0f496b6739749257804297468fb71845a776 (patch) | |
| tree | 44096c59211f1d877515914273cde862fbf47c1f /lib/action/aDownload | |
EZown
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")" + |
