mirror of
https://github.com/RYDE-WORK/MediaCrawler.git
synced 2026-01-24 00:33:12 +08:00
fix: #222
This commit is contained in:
parent
5c409c6f0c
commit
488acd04df
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user