Last active
August 29, 2015 14:01
-
-
Save igorglotov/76912b5620c1345ea8bd to your computer and use it in GitHub Desktop.
downloader 2.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in 2011 2012 2013 2014 | |
do | |
for j in 01 02 03 04 05 06 07 08 09 10 11 12 | |
do | |
for k in $(seq 1 9999) | |
do | |
wget -O $i-$j-$(printf %04d ${k%}).png http://lib.glavteh.ru/magazine/$i-$j/full/$(printf %04d ${k%}).png || break | |
done | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment