make importing scripts, etc
This commit is contained in:
parent
6676243e53
commit
d475d6febb
|
@ -0,0 +1,5 @@
|
|||
*.db
|
||||
*.a
|
||||
*.o
|
||||
*.so
|
||||
*.hi
|
|
@ -0,0 +1,15 @@
|
|||
CREATE TABLE IF NOT EXISTS Posts (
|
||||
id INTEGER PRIMARY KEY
|
||||
, oid TEXT NOT NULL
|
||||
, body TEXT NOT NULL
|
||||
, mdown TEXT NOT NULL
|
||||
, author TEXT NOT NULL
|
||||
, page TEXT NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS Users (
|
||||
id INTEGER PRIMARY KEY
|
||||
, oid TEXT UNIQUE NOT NULL
|
||||
, name TEXT NOT NULL
|
||||
, avatar_url TEXT NOT NULL
|
||||
);
|
|
@ -0,0 +1,5 @@
|
|||
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
|
Loading…
Reference in New Issue