From b98f0f496b6739749257804297468fb71845a776 Mon Sep 17 00:00:00 2001 From: LM-LCL Date: Wed, 19 Apr 2023 21:23:42 +0200 Subject: EZown --- lib/action/Download | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 lib/action/Download (limited to 'lib/action/Download') diff --git a/lib/action/Download b/lib/action/Download new file mode 100755 index 0000000..01e8eb5 --- /dev/null +++ b/lib/action/Download @@ -0,0 +1,10 @@ +#! /bin/bash + +source ./util/verify/cbd-https +source ./util/dpath + +yt-dlp -f 'bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' \ + -o "$DPATH/%(title)s.%(ext)s" \ + --embed-chapters \ + "$(is_https_url_cbd "$1")" + -- cgit v1.2.3