Created
July 29, 2018 13:45
-
-
Save genekogan/cd4fc73c21a5d2816448ee5470684984 to your computer and use it in GitHub Desktop.
script to scrape scanned illustrations from Ernst Haeckel's book Kunstformen der Natur (Artforms of Nature)
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
for i in {1..100}; do | |
filepath=$(printf "http://caliban.mpipz.mpg.de/haeckel/kunstformen/Tafel_%03d_300.jpg" $i) | |
wget $filepath; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I improved your script a bit.
Added hashbang to clearly indicate that it must be executed using
bash
and escaped variables