From 5674859f85e3b5bc09a4048394bdeaa5bf96fc43 Mon Sep 17 00:00:00 2001 From: datawhores Date: Mon, 16 Sep 2024 09:11:06 -0500 Subject: [PATCH] fix linked --- ofscraper/db/operations_/media.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ofscraper/db/operations_/media.py b/ofscraper/db/operations_/media.py index 0d4d7f8a..fce3dea5 100644 --- a/ofscraper/db/operations_/media.py +++ b/ofscraper/db/operations_/media.py @@ -77,7 +77,7 @@ """ mediaUpdateAPI = """Update 'medias' SET -media_id=?,post_id=?,linked=?,api_type=?,media_type=?,preview=?,created_at=?,posted_at=?,model_id=?,duration=?,unlocked=? +media_id=?,post_id=?,link=?,linked=?,api_type=?,media_type=?,preview=?,created_at=?,posted_at=?,model_id=?,duration=?,unlocked=? WHERE media_id=(?) and model_id=(?) and post_id=(?);""" mediaUpdateDownload = """Update 'medias' SET @@ -448,6 +448,7 @@ def update_media_table_via_api_batch( media.id, media.postid, media.url or media.mpd, + media.linked, media.responsetype.capitalize(), media.mediatype.capitalize(), media.preview,