DIGITALCRIMINAL / ArchivedUltimaScraper

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

tables media already exists #1051

Open twist3dimages opened 1 year ago

twist3dimages commented 1 year ago

This only happens on a specific downloads/metadata folder I used to use but I'm not sure how to fix it

(Background on this error at: https://sqlalche.me/e/20/e3q8) (sqlite3.OperationalError) table medias already exists [SQL: CREATE TABLE medias ( id INTEGER NOT NULL, media_id INTEGER, post_id INTEGER NOT NULL, link VARCHAR, directory VARCHAR, filename VARCHAR, size INTEGER, api_type VARCHAR, media_type VARCHAR, preview INTEGER, linked VARCHAR, downloaded INTEGER, created_at TIMESTAMP, PRIMARY KEY (id), UNIQUE (media_id) )

]

it does it for every model in that specific folder