mirror of
https://github.com/RYDE-WORK/MediaCrawler.git
synced 2026-01-19 13:33:27 +08:00
输出到日志-NoneType导致的推导式错误
This commit is contained in:
parent
2c4af2337e
commit
eaf14721f8
@ -164,8 +164,10 @@ class BilibiliCrawler(AbstractCrawler):
|
||||
task_list = []
|
||||
try:
|
||||
task_list = [self.get_video_info_task(aid=video_item.get("aid"), bvid="", semaphore=semaphore) for video_item in video_list]
|
||||
finally:
|
||||
pass
|
||||
except Exception as e :
|
||||
utils.logger.error(
|
||||
f"[BilibiliCrawler.search] {comments_res}"
|
||||
)
|
||||
video_items = await asyncio.gather(*task_list)
|
||||
for video_item in video_items:
|
||||
if video_item:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user