crawl_config.json 3.49 KB
{
  "description": "Publisher 内容发布平台爬取配置",
  "version": "1.0",
  "updated": "2026-03-27",
  "platforms": [
    {
      "name": "抖音",
      "id": "douyin",
      "baseUrl": "https://creator.douyin.com/",
      "apiEndpoint": "https://open.douyin.com/api",
      "authType": "OAuth2",
      "scopes": ["video.upload", "video.publish", "data.aweme"],
      "uploadFormats": ["mp4", "mov"],
      "maxFileSize": "4GB",
      "supportsChunked": true,
      "rateLimit": "10 req/min",
      "features": {
        "title": "最长30字符",
        "description": "最长500字符",
        "topics": true,
        "location": true,
        "commercial": true
      }
    },
    {
      "name": "快手",
      "id": "kuaishou",
      "baseUrl": "https://www.kuaishou.com/creator",
      "apiEndpoint": "https://api.kuaishou.com",
      "authType": "OAuth2",
      "scopes": ["video.upload", "video.publish", "user.profile"],
      "uploadFormats": ["mp4"],
      "maxFileSize": "2GB",
      "supportsChunked": true,
      "rateLimit": "10 req/min",
      "features": {
        "title": "最长50字符",
        "description": "最长500字符",
        "topics": true,
        "location": true,
        "commercial": true
      }
    },
    {
      "name": "微信视频号",
      "id": "wechat_channels",
      "baseUrl": "https://channels.weixin.qq.com/",
      "apiEndpoint": "https://api.weixin.qq.com",
      "authType": "OAuth2",
      "scopes": ["video.upload", "video.publish", "user.info"],
      "uploadFormats": ["mp4", "mov"],
      "maxFileSize": "1GB",
      "supportsChunked": false,
      "rateLimit": "5 req/min",
      "features": {
        "title": "最长20字符",
        "description": "最长200字符",
        "topics": false,
        "location": true,
        "commercial": true
      }
    },
    {
      "name": "哔哩哔哩",
      "id": "bilibili",
      "baseUrl": "https://member.bilibili.com/",
      "apiEndpoint": "https://api.bilibili.com",
      "authType": "OAuth2",
      "scopes": ["video.upload", "video.submit", "user.info"],
      "uploadFormats": ["mp4"],
      "maxFileSize": "4GB",
      "supportsChunked": true,
      "rateLimit": "6 req/min",
      "features": {
        "title": "最长80字符",
        "description": "最长2000字符",
        "topics": true,
        "location": false,
        "commercial": true
      }
    },
    {
      "name": "小红书",
      "id": "xiaohongshu",
      "baseUrl": "https://creator.xiaohongshu.com/",
      "apiEndpoint": "https://creator.xiaohongshu.com/open",
      "authType": "OAuth2",
      "scopes": ["note.publish", "video.upload"],
      "uploadFormats": ["mp4"],
      "maxFileSize": "2GB",
      "supportsChunked": true,
      "rateLimit": "10 req/min",
      "features": {
        "title": "最长20字符",
        "description": "最长1000字符",
        "topics": true,
        "location": true,
        "commercial": true
      }
    }
  ],
  "videoRequirements": {
    "codec": ["h264", "h265"],
    "container": ["mp4", "mov"],
    "resolution": ["1920x1080", "3840x2160"],
    "framerate": [25, 30, 60],
    "bitrate": "5-15 Mbps",
    "audio": {
      "codec": "aac-lc",
      "sampleRate": "48kHz",
      "channels": "stereo"
    }
  },
  "metadataTemplate": {
    "title": "",
    "description": "",
    "tags": [],
    "category": "",
    "coverImage": "",
    "publishTime": ""
  },
  "crawlSettings": {
    "concurrentUploads": 3,
    "retryAttempts": 3,
    "retryDelay": 5000,
    "chunkSize": "5MB",
    "timeout": 300000
  }
}