Looks like the website of the beloved Gnome Connection Manager seems to be dead. I created a clone of the original code and will implement the fix mentioned here as soon as I find the code. It’s somewhere burried in a bunch of data on a pile of harddisks. What a mess!
In addition to the Dilbert parser I created a parser for the Cyanide and Happiness comic strips. It’s not optimized; I just created it with the idea in mind to get some results fast. So, I don’t check the webpage of a comic for its next comic id, but just increment by one. If the page doesn’t exist, put that id on the blacklist to skip future processing, otherwise download the comic.
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.