Done, to whoever merges this, good luck.

This commit is contained in:
coolnsx
2024-01-21 20:30:53 +05:30
parent 630bbf1ae6
commit fcdfc5657e

View File

@@ -134,7 +134,7 @@ if [ -n "$fallback" ]; then
yt-dlp "$link" -o "$download_dir/%(title)s.%(ext)s"
else
info "Downloading Video" "$app" "$id"
printf "%s" "$video_url" | aria2c -x16 -s16 -j10 --user-agent="$agent" -d "$download_dir" -i - --download-result=hide --summary-interval=0 || notify_$os "Unable to Download $app Video"
printf "%s" "$video_url" | aria2c -x16 -s16 -j10 -k'1M' --user-agent="$agent" -d "$download_dir" -i - --download-result=hide --summary-interval=0 || notify_$os "Unable to Download $app Video"
fi
notify_$os "$app Video Downloaded"