-
-
Save TitanX101/87a31ed5eaf4f1a85e7f51c5a3275c60 to your computer and use it in GitHub Desktop.
get pokemon xy sprites script
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
<?php | |
for($i = 1; $i <= 718; $i++) { | |
if($i < 10) { | |
shell_exec("wget -xP pokemon_xy_imgs/ http://www.pokemontrash.com/pokemon-x-y/images/sprites/00".$i.".png"."\n"); | |
}elseif($i >= 10 && $i < 100) { | |
shell_exec("wget -xP pokemon_xy_imgs/ http://www.pokemontrash.com/pokemon-x-y/images/sprites/0".$i.".png"."\n"); | |
}else{ | |
shell_exec("wget -xP pokemon_xy_imgs/ http://www.pokemontrash.com/pokemon-x-y/images/sprites/".$i.".png"."\n"); | |
} | |
} | |
echo "completed!"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment