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