Title: PRB: download a website and flatten the pages to single directory

Hi,

I want to download a website ( with all the linked files and graphics ) to a single directory. I know I can do this using -r and -nd option. But I find that the url in the html are not converted to reflect the new directory structure. ( and it is actually not modified).

I have go via the wget manual and the command line options. The '-k' converts the non-relatives links to relatives one, but this is not I want. Do it miss something or currently version of wget does not support this.

As an example,

foo.com/index.html
------------
<html>
<body>
<img src="">
<img src="">
</body>
</html>
--------------------

The files downloaded are index.html, abc.gif and def.gif. But the index.html is not converted to reflect the new location.

------------------------
Thanks and regards,

cyrus

Reply via email to