ArchivedUltimaScraper icon indicating copy to clipboard operation
ArchivedUltimaScraper copied to clipboard

Fansly scraper not working

Open keegaroo65 opened this issue 1 year ago • 1 comments

This error is spammed:

(sqlite3.OperationalError) table others already exists [SQL: CREATE TABLE others ( id INTEGER NOT NULL, post_id INTEGER NOT NULL, text VARCHAR, price INTEGER, paid INTEGER, archived BOOLEAN, created_at TIMESTAMP, PRIMARY KEY (id), UNIQUE (post_id) )

] (Background on this error at: https://sqlalche.me/e/20/e3q8)

keegaroo65 avatar Sep 12 '23 02:09 keegaroo65

@keegaroo65 Not sure why the error is happening, but it looks like it's trying to create the DB a second time. Updating the SQL to CREATE TABLE IF NOT EXISTS instead of CREATE TABLE would fix this. If you fix this, it'd be great if you could open a PR 🙇

beanie-dude avatar Sep 15 '23 06:09 beanie-dude