Being tired of visiting the Dilbert website, right-clicking the comic and selecting Save Image As … I used Alvaro’s code as a base to begin with. The problem with his script is, that it assumes the file type to be JPEG, while the actual file type of Dilbert comics differs from day to day. Also the script is very slow when checking already downloaded comics. Both issues have been fixed by me. Feel free to check it out in my GitHub account. Create a cronjob to have the script download the latest comic automatically every day. Don’t worry if you don’t have a server to run the cronjob for you. Upon execution the script will automatically download all missing comics besides the latest one.
2017-02-16 @ 15:34: Dilbert Parser