diff --git a/kb_workflow/cli.py b/kb_workflow/cli.py index ffed9dd..d8440a1 100644 --- a/kb_workflow/cli.py +++ b/kb_workflow/cli.py @@ -49,7 +49,7 @@ def process_command( from .pipeline.pipeline import Pipeline from .pipeline.processors import ( ASRProcessor, AnalyzeProcessor, ArchiveProcessor, - DownloadProcessor, ParseProcessor + DownloadProcessor, ParseProcessor, SRTProcessor ) from .pipeline.schemas import PipelineConfig @@ -63,13 +63,14 @@ def process_command( ParseProcessor(), DownloadProcessor(), ASRProcessor(), - AnalyzeProcessor(), + SRTProcessor(), # B站视频使用 + AnalyzeProcessor(), # 知乎/文章使用 ArchiveProcessor(), ] # Create pipeline config config = PipelineConfig( - steps=["parse", "download", "asr", "analyze", "archive"], + steps=["parse", "download", "asr", "srt", "analyze", "archive"], output_dir=out_dir, skip_completed=skip_completed, )