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

    函数 createBoundXiaohongshuFetcher

    • 创建绑定了 Cookie 和请求配置的小红书 Fetcher

      参数

      • cookie: string

        小红书 Cookie

      • 可选requestConfig: RequestConfig

        请求配置 (可选)

      返回 IBoundXiaohongshuFetcher

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

      const fetcher = createBoundXiaohongshuFetcher('your_cookie')
      const result = await fetcher.fetchNoteDetail({
      note_id: '691db851000000001e037279',
      xsec_token: 'xxx'
      })