fix/crawler-proxy-config #34

Merged
starmen1265 merged 19 commits from fix/crawler-proxy-config into main 2026-03-20 00:12:04 +08:00
Showing only changes of commit b3b6498a71 - Show all commits
+4 -3
View File
@@ -49,7 +49,7 @@ def process_command(
from .pipeline.pipeline import Pipeline from .pipeline.pipeline import Pipeline
from .pipeline.processors import ( from .pipeline.processors import (
ASRProcessor, AnalyzeProcessor, ArchiveProcessor, ASRProcessor, AnalyzeProcessor, ArchiveProcessor,
DownloadProcessor, ParseProcessor DownloadProcessor, ParseProcessor, SRTProcessor
) )
from .pipeline.schemas import PipelineConfig from .pipeline.schemas import PipelineConfig
@@ -63,13 +63,14 @@ def process_command(
ParseProcessor(), ParseProcessor(),
DownloadProcessor(), DownloadProcessor(),
ASRProcessor(), ASRProcessor(),
AnalyzeProcessor(), SRTProcessor(), # B站视频使用
AnalyzeProcessor(), # 知乎/文章使用
ArchiveProcessor(), ArchiveProcessor(),
] ]
# Create pipeline config # Create pipeline config
config = PipelineConfig( config = PipelineConfig(
steps=["parse", "download", "asr", "analyze", "archive"], steps=["parse", "download", "asr", "srt", "analyze", "archive"],
output_dir=out_dir, output_dir=out_dir,
skip_completed=skip_completed, skip_completed=skip_completed,
) )