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