fix: 修复日志打印时参数格式错误

This commit is contained in:
Relakkes
2023-12-22 23:10:44 +08:00
parent bced7f6802
commit 273c9a316b
4 changed files with 4 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ class XiaoHongShuCrawler(AbstractCrawler):
keyword=keyword,
page=page,
)
utils.logger.info("Search notes res:", notes_res)
utils.logger.info(f"Search notes res:{notes_res}")
semaphore = asyncio.Semaphore(config.MAX_CONCURRENCY_NUM)
task_list = [
self.get_note_detail(post_item.get("id"), semaphore)