Created
March 25, 2021 15:52
-
-
Save Kalli/e3575647c59b6d98cbfa0fbdbce2920a to your computer and use it in GitHub Desktop.
Download random stills from Frinkiac
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
for number in {1..10} | |
do | |
echo $number | |
img=$(curl -s https://frinkiac.com/api/random | jq -r '"https://frinkiac.com/img/"+.Episode.Key+"/"+(.Frame.Timestamp|tostring)+".jpg"') | |
curl -s $img > ./$number.jpg | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
big ups https://frinkiac.com 🙌