DIGITALCRIMINAL / ArchivedUltimaScraper

Scrape content from OnlyFans and Fansly
GNU General Public License v3.0
942 stars 39 forks source link

Fansly scraper not working #1086

Open keegaroo65 opened 1 year ago

keegaroo65 commented 1 year ago

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)

beanie-dude commented 12 months ago

@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 🙇