Skip to content

Instantly share code, notes, and snippets.

@Kalli
Created March 25, 2021 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kalli/e3575647c59b6d98cbfa0fbdbce2920a to your computer and use it in GitHub Desktop.
Save Kalli/e3575647c59b6d98cbfa0fbdbce2920a to your computer and use it in GitHub Desktop.
Download random stills from Frinkiac
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
@Kalli
Copy link
Author

Kalli commented Mar 25, 2021

big ups https://frinkiac.com 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment