From 1b14056883dc6bb267e710edf1fe6acbd84b6d79 Mon Sep 17 00:00:00 2001 From: nikolaus Date: Sun, 11 Dec 2022 18:14:17 +0100 Subject: removing unnecessary webbrowser option form webgut program --- vid_sload | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'vid_sload') diff --git a/vid_sload b/vid_sload index ff69aed..096a145 100755 --- a/vid_sload +++ b/vid_sload @@ -32,11 +32,11 @@ vidselect() { echo $vidlink reload elif [ $mode == 's' ]; then - yt-dlp -x -w -c --add-chapters --prefer-free-formats $vidlink && exit + yt-dlp -x -w -c --embed-chapters --prefer-free-formats $vidlink && exit elif [ $mode == 'v' ]; then - yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=360]/best[height<=720]/best' -w -c --add-chapters --prefer-free-formats $vidlink && exit + yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=360]/best[height<=720]/best' -w -c --embed-chapters --prefer-free-formats $vidlink && exit elif [ $mode == 'l' ] ; then - yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=360]/best[height<=720]/best' -w -c --add-chapters --prefer-free-formats -a ~/.cache/dl_list && rm ~/.cache/dl_list && touch ~/.cache/dl_list && exit + yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=360]/best[height<=720]/best' -w -c --embed-chapters --prefer-free-formats -a ~/.cache/dl_list && rm ~/.cache/dl_list && touch ~/.cache/dl_list && exit elif [ $mode == 'exit' ] ; then exit else @@ -57,15 +57,15 @@ else cd ~/Downloads case $use in sound) - yt-dlp -x -w -c --add-chapters --prefer-free-formats $link && exit;; + yt-dlp -x -w -c --embed-chapters --prefer-free-formats $link && exit;; video) - yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=360]/best[height<=720]/best' -w -c --add-chapters --prefer-free-formats $link && exit;; + yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=360]/best[height<=720]/best' -w -c --embed-chapters --prefer-free-formats $link && exit;; batch_sound) yt-dlp -x -w -c --prefer-free-formats -a ~/.cache/dl_list && rm ~/.cache/dl_list && touch ~/.cache/dl_list && exit ;; batch_video) - yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=360]/best[height<=720]/best' -w -c --add-chapters --prefer-free-formats -a ~/.cache/dl_list && rm ~/.cache/dl_list && touch ~/.cache/dl_list && exit ;; + yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=360]/best[height<=720]/best' -w -c --embed-chapters --prefer-free-formats -a ~/.cache/dl_list && rm ~/.cache/dl_list && touch ~/.cache/dl_list && exit ;; esac fi -- cgit v1.2.1