|
|
@ -288,8 +288,8 @@ for index in $(seq 1 $length); do |
|
|
|
curl -v $url -o $webp_file_name |
|
|
|
curl -v $url -o $webp_file_name |
|
|
|
else |
|
|
|
else |
|
|
|
echo $result | jq .data.output.url | xargs curl -v -o $webp_file_name |
|
|
|
echo $result | jq .data.output.url | xargs curl -v -o $webp_file_name |
|
|
|
fi |
|
|
|
|
|
|
|
original_file_name=$webp_file_name |
|
|
|
original_file_name=$webp_file_name |
|
|
|
|
|
|
|
fi |
|
|
|
break |
|
|
|
break |
|
|
|
elif [ $(echo $result | jq -r .status) = error ]; then |
|
|
|
elif [ $(echo $result | jq -r .status) = error ]; then |
|
|
|
break |
|
|
|
break |
|
|
|