This commit is contained in:
Relakkes 2024-04-09 23:10:51 +08:00
parent 5c409c6f0c
commit 488acd04df
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class DouyinDbStoreImplement(AbstractStore):
aweme_detail: Dict = await query_content_by_content_id(content_id=aweme_id)
if not aweme_detail:
content_item["add_ts"] = utils.get_current_timestamp()
if aweme_detail.get("title"):
if content_item.get("title"):
await add_new_content(content_item)
else:
await update_content_by_content_id(aweme_id, content_item=content_item)