Skip to content

Commit

Permalink
fix linked
Browse files Browse the repository at this point in the history
  • Loading branch information
datawhores committed Sep 16, 2024
1 parent d9b03e0 commit 5674859
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ofscraper/db/operations_/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 5674859

Please sign in to comment.