Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is this abandoned blog witch can disappear any moment, and I want to make a browsable copy this site. The saved pages should contain correct on-page links, liked images and other files like pdf-s. It's a simple site, without any subdomains.

I tried wget bug with no luck, the links are not pointing to correct saved pages.

share|improve this question
sounds like you want a site-ripper. I've never tried one, but check out some of these… – Frank Thomas Dec 4 '12 at 20:38
up vote 2 down vote accepted
$ wget -k -p -r ./

works perfectly fine for me. -k converts links (done at the end of the download), -p gets all images, CSS files etc. and -r downloads recursively (but stays on this domain).

share|improve this answer
Is there a way to tell wget to rate limit? I would be weary of doing this if the site had a lot of content (like a forum). – Nathan Adams Dec 4 '12 at 21:06
$ wget --help | grep rate. IOW, yes. – Claudius Dec 4 '12 at 21:08
Thanks, works as expected. I don't know about the PDF-s though, I can't try now. – EdgarPE Dec 5 '12 at 7:33
If they are linked to from the website and are in the same domain, they will also be downloaded. -p is only necessary as, strictly speaking, CSS files and images are included rather than linked to, i.e. you use <img src= etc. to refer to them rather than <a href=, hence the ‘special’ treatment. – Claudius Dec 5 '12 at 13:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .