RsD0p9BK
9/7/2016 - 6:47 AM

download_images.sh

# Download images from website

# 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-

# starts with 0 
curl 'http://www.tyumen-city.ru/img/tyumen_spravka/0[1-1000].jpg' -o '0#1.jpg'

# http://stackoverflow.com/questions/10442841/download-images-from-website