implemented most of the pixiv scraper
This commit is contained in:
+4
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user