This commit is contained in:
Flummi 2022-05-05 16:03:38 +02:00
parent 7d49a0ce52
commit d4bea12af5

View File

@ -1,27 +1,10 @@
import db from "../src/inc/sql.mjs";
import lib from "../src/inc/lib.mjs";
import { exec as _exec } from "child_process";
import { promisify } from "util";
const exec = promisify(_exec);
//import fetch from "flumm-fetch-cookies";
const isNSFW = res => {
let nsfw = false;
if(res.neutral >= .7)
nsfw = false;
else if((res.sexy + res.porn + res.hentai) >= .7)
nsfw = true;
else if(res.drawings >= .4)
nsfw = false;
else
nsfw = false;
return nsfw;
};
(async () => {
const _args = process.argv.slice(2);
const _from = +_args[0];
const _to = _from + 0;
const _to = _from + 500;
const f0cks = await db`
select *