Mass download from wallhaven

Published Fri 06 April 2012 by Daniel W

I'm experimenting with creating spiders to crawl web pages and download content however in the mean time I thought I'd experiment with rudimentary bash tools to try and accomplish the same task.

The script below will run through a number sequence of 1 to 999999 to append to the download link <> and try to download the file.

# Scrape images
printf 'Hit [CTRL+C] to stop!\n\n'

for i in $(seq -f "%g" 1 999999) do 

© – published with Pelican, theme by djw4