只上传压缩成功的图

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
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

Loading…
Cancel
Save