| Hello,
I have run into an instance where an image's src attribute is as follows:
<img src="image.php?id=23423" />
where image.php is some script that will return an image depending on the id.
Now, it seems that HTTrack will see this link and download it. The problem is
that php automatically sends the http header as "text/html" unless you change
it explicitly, which the author of the site in question did not do. So what's
happening is this image is being served as MIME type "text/html" and HTTrack
is saving it as such.
In the logs, HTTrack does report:
Warning: File not parsed, looks like binary ...
My question is this:
Is there a switch somewhere that will make HTTrack try to figure out (best
guess) the MIME type NOT based on its http header? I know there is the MIME
association feature, but I certainly can't tell HTTrack to save all php files
as images...
Thanks,
RYan | |