Created
September 19, 2012 13:56
-
-
Save tednaleid/3749825 to your computer and use it in GitHub Desktop.
ZSH Script to scrape all the map tiles from http://xkcd.com/1110/
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
#! /usr/bin/env zsh | |
# after writing, found this link on Hacker News: | |
# DON'T RUN THIS, GO HERE INSTEAD: http://xkcd-map.rent-a-geek.de/ | |
for NS in n s; do | |
for i in {1..25}; do | |
for WE in w e; do | |
for j in {1..25}; do | |
wget http://imgs.xkcd.com/clickdrag/$i$NS$j$WE.png | |
done | |
done | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment