How to download all images from a website using wget?

user3014632 picture user3014632 · Nov 21, 2013 · Viewed 33.4k times · Source

Here is an example of my command:

wget -r -l 0 -np -t 1 -A jpg,jpeg,gif,png -nd --connect-timeout=10 -P ~/support --load-cookies cookies.txt "http://support.proboards.com/" -e robots=off

Based on the input here

But nothing really gets downloaded, no recursive crawling, it takes just a few seconds to complete. I am trying to backup all images from a forum, is the forum structure causing issues?

Answer

Ink picture Ink · Nov 21, 2013
wget -r -P /download/location -A jpg,jpeg,gif,png http://www.site.here

works like a charm