Skip to content

Instantly share code, notes, and snippets.

@gaga5lala
Created November 8, 2016 03:53
Show Gist options
  • Save gaga5lala/a0c150b1ae1153dd81f9851a415785aa to your computer and use it in GitHub Desktop.
Save gaga5lala/a0c150b1ae1153dd81f9851a415785aa to your computer and use it in GitHub Desktop.
Check whether sticker is ready for sale.
#!/bin/bash
result=$(curl -i https://store.line.me/stickershop/product/1343605 2>/dev/null | head -n 1 | cut -d$' ' -f2)
while [ $result -ne "200" ]
do
echo $result
sleep 60
done
echo "#######"
echo "ready!!"
echo "#######"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment