damn
This commit is contained in:
parent
7d49a0ce52
commit
d4bea12af5
|
@ -1,27 +1,10 @@
|
||||||
import db from "../src/inc/sql.mjs";
|
import db from "../src/inc/sql.mjs";
|
||||||
import lib from "../src/inc/lib.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 () => {
|
(async () => {
|
||||||
const _args = process.argv.slice(2);
|
const _args = process.argv.slice(2);
|
||||||
const _from = +_args[0];
|
const _from = +_args[0];
|
||||||
const _to = _from + 0;
|
const _to = _from + 500;
|
||||||
|
|
||||||
const f0cks = await db`
|
const f0cks = await db`
|
||||||
select *
|
select *
|
||||||
|
|
Loading…
Reference in New Issue
Block a user