time-wasting-thread-memorial/scripts/get.moon

6 lines
167 B
Plaintext
Raw Permalink Normal View History

2015-07-28 01:04:33 +00:00
require "socket"
for i=1,8002
os.execute "curl https://derpibooru.org/dis/the-time-wasting-thread/#{i}.json?key=#{os.getenv "DB_KEY"} > #{i}.json"
socket.sleep 1