This commit is contained in:
Hell13Cat
2026-05-26 23:06:02 +03:00
parent 270be38d1e
commit 612332e4ee
4 changed files with 35 additions and 32 deletions
+1 -20
View File
@@ -106,23 +106,4 @@ def api():
if __name__ == "__main__":
app.run(host="0.0.0.0", port=CONFIG_PORT)
exit()
DB.append({
"md5": item.get("md5"),
"local_filename": local_filename,
"thumb_url": thumb_url,
"is_video": is_video,
"is_gif": is_gif,
"found": item.get("found_on_gelbooru", False),
"tags": tags,
"rating": data.get("rating", "N/A"),
"score": data.get("score", 0),
"timestamp": timestamp,
"display_date": display_date,
"source": data.get("source", ""),
"width": data.get("width", 0),
"height": data.get("height", 0)
})
app.run(host="0.0.0.0", port=CONFIG_PORT)