I want to have a local copy of a gallery on a website. The gallery shows the pictures at domain.com/id/1 (id increases in increments of 1) and then the image is stored at pi
# get all pages curl 'http://domain.com/id/[1-151468]' -o '#1.html' # get all images grep -oh 'http://pics.domain.com/pics/original/.*jpg' *.html >urls.txt # download all images sort -u urls.txt | wget -i-