Hacker News new | ask | show | jobs
by DanielRibeiro 5019 days ago
I was having trouble downloading the torrent, so I wrote a little script to get it for me:

https://gist.github.com/3748257

Warning: 6mb worth of files.

Edit: Github repo with all the images and the script, so that people don't need to hammer the xkcd server:

https://github.com/danielribeiro/xkcd_grab

3 comments

And here is how you get a web page you can open to view the whole thing in a one sitting:

  perl -e'print "<style>img{width:2048px;height:2048px}</style><pre>"; print /X$/ ? "\n" : "<img src=$_.png>" for @ARGV' {{13..1}n,{1..19}s}{{33..1}w,{1..48}e,X} > index.html
Warning: gigantic page, may crash your browser. (Not as bad as it might seem, since many tiles are missing.)
And folks can hammer github's servers instead by viewing the commit https://github.com/danielribeiro/xkcd_grab/commit/40f58f4d1a...
Thanks for sharing! I was just going to do that myself, glad that now I don’t have to.