2025-07-31 15:35:23 +08:00

48 lines
1.0 KiB
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Core Module
核心模块
提供内容整合的核心服务通过适配器模式与xhs_spider和document模块交互
"""
# 注意ContentIntegrationService已移至api.services模块
# 这里不再导入以避免与API服务冲突
# 导入适配器
from .xhs_adapter import XHSAdapter, XHSNote, XHSSearchResult
from .document_adapter import DocumentAdapter, DocumentContent, IntegratedContent
# 导入管理器
from .cookie_manager import CookieManager
from .media_manager import ImageStorageManager
# 版本信息
__version__ = "1.0.0"
__author__ = "TravelContentCreator Team"
# 导出所有公共接口
__all__ = [
# 适配器
'XHSAdapter',
'DocumentAdapter',
# 适配器数据模型
'XHSNote',
'XHSSearchResult',
'DocumentContent',
'IntegratedContent',
# 管理器
'CookieManager',
'ImageStorageManager',
# 版本信息
'__version__',
'__author__'
]
# 注意ContentIntegrationService及相关模型已移至api.services模块