# 1688-pipelines **Repository Path**: xtmpfc/1688-pipelines ## Basic Information - **Project Name**: 1688-pipelines - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-20 - **Last Updated**: 2026-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 1688-pipelines 1688运营自动化流水线系统 - 基于详情页直采+MTOP认证的Python数据采集工具 ## 功能 - **选品找货**:输入商品ID → 详情页直采 → Excel/CSV/JSON导出 - **MTOP认证**:基于1688 MTOP API的登录态验证 - **数据导出**:支持JSON / CSV / Excel三种格式 ## 快速开始 ```bash # 1. 安装依赖 pip install -r requirements.txt # 2. 准备Cookie # 从浏览器导出1688的Cookie,保存到 config/.1688_cookies.json # 3. 运行 python main.py # 交互式菜单 python main.py sourcing -i 991899644687,952552186480 # 直接采集 ``` ## 项目结构 ``` 1688-pipelines/ ├── main.py # 入口(菜单/命令行) ├── config/ │ ├── settings.py # 配置 │ └── .1688_cookies.json # Cookie(已gitignore) ├── core/ │ ├── fetcher.py # 数据抓取(MTOP+详情页) │ ├── parser.py # 数据清洗 │ ├── exporter.py # 导出 │ └── auth.py # 认证 ├── pipelines/ │ ├── sourcing.py # 选品流水线 │ ├── analysis.py # 分析流水线 │ └── order_tracking.py # 订单流水线 ├── output/ # 输出目录 ├── docs/ │ └── PRD.md # 产品需求文档 └── requirements.txt # 依赖 ``` ## 技术栈 - **数据源**: detail.1688.com 详情页直采 + MTOP API - **签名**: MTOP md5(token + timestamp + appKey + data) - **导出**: JSON / CSV / Excel