Skip to content

Instantly share code, notes, and snippets.

@hteumeuleu
Created July 7, 2020 15:47
Show Gist options
  • Save hteumeuleu/fff7f9b5b276371c8fc32954f0aec05a to your computer and use it in GitHub Desktop.
Save hteumeuleu/fff7f9b5b276371c8fc32954f0aec05a to your computer and use it in GitHub Desktop.
Bash script to get all pattern images from Pokémon shirts
for i in {1..250}
do
url="https://pokemon.originalstitch.com/en/img/pattern_all/$i.jpg"
curl $url > pokemon/$i.jpg
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment