mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
fix episode naming for aria2c download
This commit is contained in:
parent
8327afc43e
commit
0ea84fb450
2
ani-cli
2
ani-cli
@ -97,7 +97,7 @@ get_dpage_link() {
|
|||||||
download() {
|
download() {
|
||||||
case "$2" in
|
case "$2" in
|
||||||
*mp4*)
|
*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"
|
ffmpeg -loglevel error -stats -referer "$1" -i "$2" -c copy "$5/${3}-${4}.mp4"
|
||||||
|
Loading…
Reference in New Issue
Block a user