optimized list downloading process

This commit is contained in:
Viet Huynh
2023-09-05 03:46:00 +07:00
parent 9f3c32c912
commit 33cf719edb
3 changed files with 15 additions and 28 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
download_lists() {
urls=$1
output=$2
curl -sSfL --parallel --parallel-max 10 --retry 3 ${urls[@]} > $output
}