refactor: xhs add log

This commit is contained in:
Relakkes
2023-12-19 23:05:12 +08:00
parent e2aaf0e5c1
commit 2e032d09dc
3 changed files with 3 additions and 0 deletions

View File

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