Increase retries

This commit is contained in:
Nemo 2022-05-14 09:05:53 +05:30 committed by GitHub
parent bb855c2e94
commit fd15d808a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -17,11 +17,11 @@ function fetch_page() {
echo "[+] $1/$2"
curl "https://nsdl.co.in/master_search_res.php" \
--no-progress-meter \
--write-out '%{stderr}DL :%{size_download}\nHTTP:%{response_code} E(%{errormsg})\n' \
--write-out '%{stderr}DL :%{size_download}\nHTTP:%{response_code}\n' \
--user-agent "Mozilla/Gecko/Firefox/58.0" \
--retry 3 \
--connect-timeout 10 \
--retry-max-time 30 \
--retry 10 \
--connect-timeout 30 \
--retry-max-time 100 \
--data cnum=$1 \
--data "page_no=$2" | \
$PUP_BINARY '#nsdl-tables tr json{}' | \