Thoughts About Legality
Yes, this has been done to death.
Background: I wrote the Twisted web client stuff (well, a lot of it, anyway). Playing around with some of the features, I came up with a simple script which downloads the Dilbert home page, parses it for the image name, and puts it in an IMG tag. Naturally, I wanted to put this example in the Twisted examples directory, because doing this in an async is a bit tricky, and it would be nice if newbies could see this stuff done.
glyph, the Twisted lead developer, vetoed it, for what seems to be a good reason: he claims it violates the DMCA. I certainly do not want to place my friends in legal jeopardy, so I refrained from adding it.
The script can now be gotten from my site. Please, download it and have fun with it. I hereby place it in the public domain, but it's more a toy than anything production-grade anyway.
It is annoying that this small hunk of cute Python code is illegal in the USA.