33 lines
647 B
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.

"""
小红书笔记发布工具 - 主程序
支持图文笔记和视频笔记的自动发布
"""
import sys
import os
# 添加父目录到路径用于导入utils
current_dir = os.path.dirname(os.path.abspath(__file__))
parent_dir = os.path.dirname(current_dir)
sys.path.insert(0, parent_dir)
# 从原项目导入核心类
from uploader.xhs_note_uploader.main import (
XiaoHongShuImageNote,
XiaoHongShuVideoNote,
xiaohongshu_note_cookie_gen,
cookie_auth
)
# 导出公共API
__all__ = [
'XiaoHongShuImageNote',
'XiaoHongShuVideoNote',
'xiaohongshu_note_cookie_gen',
'cookie_auth'
]
__version__ = '1.0.0'