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.

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 techsupportalert.com/… –  Frank Thomas Dec 4 '12 at 20:38
add comment

1 Answer

up vote 2 down vote accepted
$ wget -k -p -r http://chubig.net/ ./

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
2  
$ 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
add comment

Your Answer

 
discard

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.