Hi list, I've written a patch which allows filtering on the content-type header to select what is downloaded. E.g. wget -r --content-type=text/* http://www.foobar.com will only download things with a content-type header of text/html, text/plain etc. There's also a content-type-exclude option to not download specific content-types.
If people are interested in getting this into wget, I could submit it to the bug tracker. Thanks, Lars