Hi,

As you might have noticed I was trying to use wget as a tool to check for dead links on big websites. The combination of -r and --spider is working in the new alpha version, however wget is still downloading ALL files (no matter if they are parseable for further links or not), instead of just getting the status response for files other than text/html or application/xhtml+xml.

I don't think that this makes very much sense; the files are deleted anyway and downloading a 300MB video is not useful if you just want to check links and see whether the video is there at all.

Could somebody suggest a quick hack to disable the downloading of non-parseable documents? I think it must be somewhere in the area of http.c, somewhere around gethttp() or maybe http_loop() - unfortunately, my knowledge of C and my knowledge of this project weren't enough to get any satisfying result.

Any help is appreciated,
Greets Stefan

Reply via email to