Wulffmorgenthaler again! Yeah, I know it, but I love the comic strips.
And if you love them as much as me, you would probably like to view all of them easily, and not just one by one directly from their website.
Therefore I wrote a script that allows you to download all the comic strips easily. The script is written in PHP, and you need access to a webserver running PHP (or just on your own computer having PHP with minor adjustments to the script). Upload the script to any folder of your choosing. The script will attempt to create the folder ‘wulffmorgenthaler’ in the same folder as the script, but unless the access rights are correct you have to create this folder yourself.
There are 3 ways you can run the script:
- Access the script directly from the place you put it (e.g. http://domain.com/wulffmorgenthaler.php). This way all images from the first image available at http://wulffmorgenthaler.com will be downloaded until the last one (4th of August 2003).
- Access the script by adding ‘?start=url‘ to the URL in pt. 1. This way you start downloading comic strips from the date of your choosing.
- If your download was aborted somehow, you can just point your browser to the same URL as in pt. 1 and it will continue from the last place it stopped.
Download the wulffmorgenthaler.phps source code. (remember to change the extension to .php)
The script isn’t perfect, of course, but it did the trick for me. You’re welcome to change it to whatever your needs are.