feat: 抖音支持评论点赞数量 #495

This commit is contained in:
Relakkes
2024-11-16 00:37:48 +08:00
parent c12a63acb2
commit 8ab4c67443
2 changed files with 5 additions and 0 deletions

View File

@@ -100,6 +100,7 @@ async def update_dy_aweme_comment(aweme_id: str, comment_item: Dict):
"nickname": user_info.get("nickname"),
"avatar": avatar_info.get("url_list", [""])[0],
"sub_comment_count": str(comment_item.get("reply_comment_total", 0)),
"like_count": comment_item.get("digg_count") if comment_item.get("digg_count") else 0,
"last_modify_ts": utils.get_current_timestamp(),
"parent_comment_id": parent_comment_id
}