Created
June 21, 2022 12:40
-
-
Save Sd-Invol/da75139ee0cbd61ca70c10e8b6535424 to your computer and use it in GitHub Desktop.
Detect website changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=$(curl https://www.pokemon.co.jp/ex/sv/sc/ | md5) | |
while : | |
do | |
sleep 15 | |
b=$(curl https://www.pokemon.co.jp/ex/sv/sc/ | md5) | |
if [ $a != $b ] | |
then | |
echo "SV website updated!" | |
tput bel | |
break | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment