Created
January 14, 2011 17:38
-
-
Save SaitoWu/779937 to your computer and use it in GitHub Desktop.
amazing script for fun from fffffuuu comic.
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
require 'open-uri' | |
img_url = "http://fffffffffffffffffffffffuuuuuuuuuuuuuuuuuuuuuu.com/big.jpg?im=" | |
(1..1044).each do |x| | |
n = '%.4d' % x + ".jpg" | |
open(n, "wb").write(open(img_url+n).read) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment