The Dongola Times

(Anachronistic) Dispatches from the Kingdom of Makuria.
20th of September, 2012

Tim Eagan Comics

I think my next project will be writing something to scrape and gather all the Subconscious Comics by Tim Eagan from here.




Posted by e-mail.

Update:

class Fixnum
     def zeroed order = 10, avec = '0'
       olen  = order.to_s.length
       ((avec * olen) + self.to_s)[-olen, olen]
     end
   end

(1991 .. 2000).each do |year| (1 .. 12).each do |month| (1 .. 31).each do |day| fich = '%d-%s-%s.jpg' % [year, month.zeroed, day.zeroed] url = (%[http://www.timeagan.com/archive/sc/sc-%s] % fich) $stderr.puts(("r%s" % url)[-75, 80]) $stderr.flush got = system(%[wget -c -O '%s' %s] % [fich, url]) end end end