This commit is contained in:
GZod01 2024-05-17 20:35:54 +02:00
parent d860e3d987
commit c8008a4f20
208 changed files with 8919 additions and 146 deletions

View file

@ -0,0 +1,22 @@
import sqlite3
import re
con = sqlite3.connect("images.sqlite3");
con.row_factory = sqlite3.Row
cur = con.cursor()
res = cur.execute("SELECT * FROM `images`");
images = res.fetchall();
for i in images:
"""
`id` varchar(255) NOT NULL,
`caption` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`extension` varchar(255) DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
`hash` varchar(255) DEFAULT NULL
"""