抖音二级评论

This commit is contained in:
ZuWard
2024-05-29 06:35:37 +08:00
parent 5e145c31b9
commit 0ba68809a5
3 changed files with 45 additions and 8 deletions

View File

@@ -177,8 +177,8 @@ class DouYinCrawler(AbstractCrawler):
await self.dy_client.get_aweme_all_comments(
aweme_id=aweme_id,
crawl_interval=random.random(),
is_fetch_sub_comments=config.ENABLE_GET_SUB_COMMENTS,
callback=douyin_store.batch_update_dy_aweme_comments
)
utils.logger.info(
f"[DouYinCrawler.get_comments] aweme_id: {aweme_id} comments have all been obtained and filtered ...")