Amagi API 文档 - v5.13.0
    正在准备搜索索引...

    函数 createBoundDouyinFetcher

    • 创建绑定了 Cookie 和请求配置的抖音 Fetcher

      参数

      • cookie: string

        抖音 Cookie

      • 可选requestConfig: RequestConfig

        请求配置 (可选)

      返回 IBoundDouyinFetcher

      绑定了 Cookie 的 Fetcher 对象,调用时无需传递 cookie

      const fetcher = createBoundDouyinFetcher('your_cookie')
      const result = await fetcher.fetchVideoWork({ aweme_id: '7123456789' })
      // 严格模式
      const strictResult = await fetcher.fetchVideoWork({ aweme_id: '7123456789', typeMode: 'strict' })