from pathlib import Path
import sys
import os

# 添加项目根目录到 Python 路径
current_dir = Path(__file__).parent.resolve()
project_root = current_dir.parent.parent
sys.path.append(str(project_root))

from conf import BASE_DIR

# 创建Instagram上传器的cookies目录
Path(BASE_DIR / "cookies" / "ins_uploader").mkdir(exist_ok=True, parents=True)