fix episode naming for aria2c download

This commit is contained in:
ksyasuda 2022-03-26 11:56:37 -07:00
parent 8327afc43e
commit 0ea84fb450

View File

@ -97,7 +97,7 @@ get_dpage_link() {
download() {
case "$2" in
*mp4*)
aria2c --summary-interval=0 -x 16 -s 16 --referer="$1" "$2" --dir="$5" -o "${3}-${4}.mp4" --download-result=hide
aria2c --summary-interval=0 -x 16 -s 16 --referer="$1" "$2" --dir="$5" -o "${4}" --download-result=hide
;;
*)
ffmpeg -loglevel error -stats -referer "$1" -i "$2" -c copy "$5/${3}-${4}.mp4"