diff --git a/README.md b/README.md index a511514..7a96bf2 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ episode introduction by skipping to the next moment of silence in the video These are the minimum dependences required to run `aniwrapper` ``` -aria2 curl ffmpeg grep mpv rofi sed sqlite3 +axel curl ffmpeg grep mpv rofi sed sqlite3 ``` **Arch Linux** @@ -92,10 +92,10 @@ Install the Dependencies ```sh # Arch -pacman -S --needed aria2 curl ffmpeg grep mpv rofi sed sqlite3 +pacman -S --needed axel curl ffmpeg grep mpv rofi sed sqlite3 # Debian -apt install aria2 curl ffmpeg grep mpv rofi sed sqlite3 +apt install axel curl ffmpeg grep mpv rofi sed sqlite3 ``` Clone and switch into the repo directory diff --git a/ani-cli b/ani-cli index 201214c..212423d 100755 --- a/ani-cli +++ b/ani-cli @@ -118,7 +118,7 @@ download() { rm -f video.ts ;; *) - aria2c --check-certificate=false --summary-interval=0 -x 16 -s 16 --referer="$1" "$2" --dir="$5" -o "$4.mp4" --download-result=hide + axel -a -k -n 30 --header=Referer:"$1" "$2" -o "$5/$4.mp4" ;; esac } @@ -977,7 +977,7 @@ find_media() { } progress "Checking dependencies..." -dep_ch "$PLAYER_FN" "curl" "sed" "grep" "sqlite3" "rofi" "git" "aria2c" "openssl" "ffmpeg" +dep_ch "$PLAYER_FN" "curl" "sed" "grep" "sqlite3" "rofi" "git" "axel" "openssl" "ffmpeg" parse_args "$@" shift $((OPTIND - 1)) if ((IS_ROFI)); then