A tool for extracting all pokémon data and front-and-back sprites up to Generation 4. In collaboration with another developer creating a custom Pokémon game requiring these assets.
There are no dependencies, so you can run this program so long as you have a suitable version of Python 3:
$ python scraper.py
If you desire all pokémon generations, and not just up to 4, you can remove the line that breaks the iteration upon reaching Arceus (the highest registered Gen-4 pokémon). The script is deliberately left simplistic, but can easily be modified to include alternative image sources to Platinum and subsume versions beyond just Generation 4 and below.
(P.S. Please do not question the dubious "placeholder" item at the end of each line.)