Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to save this webpage and all the pages it links to. and hope to have the same linking between the saved webpages.

Are there some ways instead of opening and saving each linked pages?

share|improve this question

2 Answers 2

You can use a website crawler like httrack, which is free.

From the website;

[httrack] allows you to download a World Wide Web site from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your computer. HTTrack arranges the original site's relative link-structure. Simply open a page of the "mirrored" website in your browser, and you can browse the site from link to link, as if you were viewing it online.

share|improve this answer
+1 Excellent application! But it's grabbing all the linked zip files as well, which I didn't want. But then I should have probably read the instructions first! –  Finlaybob Mar 28 at 16:29
Yup, it can/will follow all links so will download files. (@Finlaybob are you aware the homepage listed on your profile has been hacked?) –  RJFalconer Mar 30 at 20:04
I was not! I'll look into it - thanks for letting me know! –  Finlaybob Mar 31 at 16:19

You can do what you'd like with the wget command line utility. If you provide it with the -r option, it will recursively download web pages. For example:

wget -r http://mat.gsia.cmu.edu/orclass/integer/integer.html

This will download that webpage and anything it links to. You can also make it only recurse a certain number of levels, to do this, you simply provide -r with a number. Like such:

wget -r 5 http://mat.gsia.cmu.edu/orclass/integer/integer.html
share|improve this answer
@Mark: Thanks! I now try to download mat.gsia.cmu.edu/orclass and the pages it links using command wget -r mat.gsia.cmu.edu/orclass. wget will create a directory mat.gsia.cmu.edu under the one I specified and download the pages under it. But the links between the downloaded pages does not have mat.gsia.cmu.edu in their paths, so it becomes a problem and I cannot go from one page to another by clicking the links. I was wondering why and how to solve the problem? Thanks! –  Tim Apr 23 '11 at 14:33
I don't think that you can recursively download external links, @Tim. –  Wuffers Apr 23 '11 at 16:11
Does "external links" mean those not under the current path? –  Tim Apr 23 '11 at 16:39
@Tim: By external links I mean links that refer outside of mat.gsi.cmu.edu –  Wuffers Apr 23 '11 at 16:40
Thanks! Is mat.gsia.cmu.edu/classes/integer/integer.html outside of mat.gsi.cmu.edu or of mat.gsia.cmu.edu/orclass ? mat.gsia.cmu.edu/orclass is what I used in command wget, and the downloaded wegpage of mat.gsia.cmu.edu/classes/integer/integer.html is not directable from the downloaded page of mat.gsia.cmu.edu/orclass –  Tim Apr 23 '11 at 16:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.