mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-04-20 18:57:44 +08:00
fix(store): 修复存储实现的AsyncFileWriter导入
重构小红书存储实现,将store_comments方法改为处理单个评论的store_comment 为多个平台添加AsyncFileWriter工具类导入
This commit is contained in:
@@ -30,6 +30,7 @@ from database.models import TiebaNote, TiebaComment, TiebaCreator
|
||||
from tools import utils, words
|
||||
from database.db_session import get_session
|
||||
from var import crawler_type_var
|
||||
from tools.async_file_writer import AsyncFileWriter
|
||||
|
||||
|
||||
def calculate_number_of_files(file_store_path: str) -> int:
|
||||
|
||||
Reference in New Issue
Block a user