From 38731379a96626c6fa7d4b070d7ce3df8d5da250 Mon Sep 17 00:00:00 2001 From: home Date: Fri, 24 Nov 2023 02:29:38 +0300 Subject: [PATCH] vdl : add fix for vk download. --- .config/bash/module/vdl.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/bash/module/vdl.sh b/.config/bash/module/vdl.sh index 1d962a8..a4eb259 100644 --- a/.config/bash/module/vdl.sh +++ b/.config/bash/module/vdl.sh @@ -24,9 +24,11 @@ vdl() [[ -f "src.txt" ]] || echo "${target}" > src.txt # Download [LINK] content. - yt-dlp -f 'bestvideo[height<=?1081]+bestaudio/best' --download-archive index.txt --embed-thumbnail --embed-subs --write-auto-subs --embed-metadata --merge-output-format mkv -cio '%(playlist_index)000006d_%(id)s.%(ext)s' "${target}" # || _vdl_retry + yt-dlp -f 'bestvideo[height<=?1081]+bestaudio/best' --download-archive index.txt --embed-thumbnail --embed-subs --write-auto-subs --embed-metadata --merge-output-format mkv -cio '%(playlist_index)000006d_%(id)s.%(ext)s' ${target} # || _vdl_retry } +alias vdl_vk="vdl --format mp4" + # Temporary fix for crashes. _vdl_retry() { for file in *.part; do