|
|
|
@ -21,7 +21,6 @@ def scraper():
|
|
|
|
|
try:
|
|
|
|
|
supabase.table("suchmeme").insert(item).execute()
|
|
|
|
|
print(f'Inserted meme {item["id"]} to Supabase DB')
|
|
|
|
|
post(item)
|
|
|
|
|
except Exception as e:
|
|
|
|
|
if 'duplicate key value violates unique constraint' in str(e):
|
|
|
|
|
print("Meme already exists")
|
|
|
|
|