implemented most of the pixiv scraper

This commit is contained in:
2025-08-06 19:00:19 +03:00
parent 3a25f4fdd4
commit f9277ad570
19 changed files with 277 additions and 104 deletions
+4 -1
View File
@@ -20,8 +20,11 @@ def create_swipe(
""",
(username, feed_id, picture_id, value),
)
result = cur.fetchone()
conn.commit()
return cur.rowcount > 0
if result is None:
return None
return result[0]
def delete_swipe(