获取抖音Web的游客Cookie/Get the guest Cookie of Douyin Web

Douyinapi

About

获取抖音Web的游客Cookie/Get the guest Cookie of Douyin Web

Documentation

获取抖音Web的游客Cookie/Get the guest Cookie of Douyin Web

[中文]

用途:

  • 获取抖音Web的游客Cookie
  • 可以用于爬取抖音Web的数据,如用户作品、合辑作品等。
  • 可以固定身份避免部分接口重复数据。
  • 请注意:游客Cookie无法爬取所有数据,有一定的限制。
  • 可以配合开源项目使用此接口实现抖音Web的数据爬取。

参数:

  • user_agent: 用户浏览器代理

返回:

  • 游客Cookie

[English]

Purpose:

  • Get the guest Cookie of Douyin Web
  • Can be used to crawl data of Douyin Web, such as user videos, mix videos, etc.
  • Can fix identity to avoid duplicate data for some interfaces.
  • Please note: Guest Cookie cannot crawl all data, there are certain restrictions.
  • Can be used with open source projects to implement data crawling of Douyin Web using this interface.

Parameters:

  • user_agent: User browser agent

Return:

  • Guest Cookie

[示例/Example]

user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36"

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Try 获取抖音Web的游客Cookie/Get the guest Cookie of Douyin Web

Test this model in the Sandbase Playground with your own prompts.

Open in Playground

Related Models