只上传压缩成功的图

master
panqihua 3 years ago
parent 81295b6393
commit 47268b7b83
  1. 2
      pixiv/pixiv.sh

@ -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
original_file_name=$webp_file_name
fi fi
original_file_name=$webp_file_name
break break
elif [ $(echo $result | jq -r .status) = error ]; then elif [ $(echo $result | jq -r .status) = error ]; then
break break

Loading…
Cancel
Save