mirror of
https://github.com/RYDE-WORK/MediaCrawler.git
synced 2026-02-02 14:34:08 +08:00
Merge pull request #542 from 2513502304/main
Update core.py,为爬取类型为`detail`和`creator`的任务,添加了和`search`任务一样的,用于转存up主信息的`bilibili_store.update_up_info`的函数调用
This commit is contained in:
commit
38f2b36bf5
@ -297,6 +297,7 @@ class BilibiliCrawler(AbstractCrawler):
|
|||||||
if video_aid:
|
if video_aid:
|
||||||
video_aids_list.append(video_aid)
|
video_aids_list.append(video_aid)
|
||||||
await bilibili_store.update_bilibili_video(video_detail)
|
await bilibili_store.update_bilibili_video(video_detail)
|
||||||
|
await bilibili_store.update_up_info(video_detail)
|
||||||
await self.get_bilibili_video(video_detail, semaphore)
|
await self.get_bilibili_video(video_detail, semaphore)
|
||||||
await self.batch_get_video_comments(video_aids_list)
|
await self.batch_get_video_comments(video_aids_list)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user