K*R wanted some wedding pics of a relative, from a US photo site which I won't mention here. They had a painful java applet interface, one photo viewable every 30 seconds, for ordering only. Checked the code, found the path to the images, and wget was able to suck them all out easily! Used the following code from
http://www.cyberciti.biz/tips/how-to-generating-print-range-sequence-of-numbers.html to create a text file of images:
for i in $(seq 605); do echo "http://url _ $i _ .jpg"; done > list.txt
and then used
wget -i list.txt --random-wait --wait=2
No comments:
Post a Comment