I have spent the last few hours learning the basics of python all over again whilst writing an script to download all the comics from 1 through to the Most recent one.
When searching the web, I found the only solutions people had come up with were either batches of images up to only a certain number in a zip, or a very cumbersome way of attempting to download all the images.
The solution I have come up with gives you a python file that you can . It always gets from 1 through to the current comic and stores them in a directory it creates called XKCD_IMAGES.
To use the file (on linux or mac), simply:
- download the source to where you would like the images to be stored
- open your terminal
- change the directory to where the python file is stored
- run the command "python xkcd.py"
- wait whilst it downloads all the images
Future modifications to be made:download