![]() |
| |||
| Hi, I want to print a part of a website. I got the sitemap of the relevant part with xenu's link sleuth. Now I need to retrieve each link, and merge them into a single html file. I think that can be done with wget: 1- I want wget to retrieve all the links in an html file that resides in my local computer. But I couldnt find an option for it. 2- I want it to store them in a single file, or rename them like "001...","002...",... so that I can use "cat". Do you know any tool that already does all this? Or the corresponding wget options? Thx. |
| |||
| oguza...@gmail.com wrote: > Hi, > I want to print a part of a website. > I got the sitemap of the relevant part with xenu's link sleuth. > Now I need to retrieve each link, and merge them into a single html > file. > > I think that can be done with wget: > 1- I want wget to retrieve all the links in an html file that resides > in my local computer. But I couldnt find an option for it. > 2- I want it to store them in a single file, or rename them like > "001...","002...",... so that I can use "cat". > > Do you know any tool that already does all this? Or the corresponding > wget options? > > Thx. --output-document option doesn't do want you want ? " --output-document=file The documents will not be written to the appropriate files, but all will be concatenated together and written to file. If - is used as file, documents will be printed to standard output, disabling link conversion. (Use ./- to print to a file literally named -.) Note that a combination with -k is only well-defined for download- ing a single document. " |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |