vdl : add fix for vk download.
This commit is contained in:
parent
aa50193fb7
commit
38731379a9
|
@ -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
|
||||
|
|
Reference in a new issue