Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want a command that I type a URL, for example photos.tumblr.com, and it download all photos on this site in a folder, but not only images of the site's homepage. This command need to download the images from all parts of the site, such as photos.tumblr.com/ph1/1.png / photos.tumblr.com/ph3/4.jpg.

Please show me an example using this url: http://neverending-fairytale.tumblr.com/ and test it before answer the question

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

wget can do it:

wget -A.png,.jpg,.gif,.jpeg -e robots=off -m -k -nv -np -p \
--user-agent="Mozilla/5.0 (compatible; Konqueror/3.0.0/10; Linux)" \
http://site.url/

The only problem can be in case site generates its content using javascript.

share|improve this answer
    
Note for people trying to do this with HTTPS: you might need --no-check-certificate to get it to connect. –  user23150 Sep 10 '12 at 13:33
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.