Skip to content

Instantly share code, notes, and snippets.

@tednaleid
Created September 19, 2012 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tednaleid/3749825 to your computer and use it in GitHub Desktop.
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/
#! /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