fix/crawler-proxy-config #34
@@ -129,6 +129,13 @@ class DeepAnalyzer:
|
||||
|
||||
def __init__(self, ai_client: SimpleAIClient = None):
|
||||
self.ai_client = ai_client or SimpleAIClient()
|
||||
# 弃用警告:B站视频应使用 SRTProcessor
|
||||
import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.warning(
|
||||
"DeepAnalyzer is deprecated for Bilibili video processing. "
|
||||
"Use SRTProcessor instead."
|
||||
)
|
||||
|
||||
def analyze(self, metadata: Dict[str, Any], content: Dict[str, Any], content_type: str = "video") -> AnalysisResult:
|
||||
"""一次性调用 AI 生成完整分析报告
|
||||
|
||||
Reference in New Issue
Block a user