使用接口网址生成A-Bogus参数/Generate A-Bogus parameter using API URL

Douyinapi

About

使用接口网址生成A-Bogus参数/Generate A-Bogus parameter using API URL

Documentation

使用接口网址生成A-Bogus参数/Generate A-Bogus parameter using API URL

[中文]

用途:

  • 使用接口网址生成A-Bogus参数,提交的URL不能带有a_bogus参数,同时a_bogus参数与请求头中的User-Agent有关,需要一起提交和请求。

参数:

  • url: API链接,请去除url中的原本的a_boogus参数(如有)。
  • data: 请求载荷,只有在POST请求中才需要提交,GET请求中使用空字符串即可。
  • user_agent: user-agent,需要提交你请求头中的User-Agent,该值参与a_bogus参数的计算。
  • index_0: 加密明文列表的第一个值,无特殊要求,默认为0,不要随意修改。
  • index_1: 加密明文列表的第二个值,无特殊要求,默认为1,不要随意修改。
  • index_2: 加密明文列表的第三个值,无特殊要求,默认为14,不要随意修改。

返回:

  • A-Bogus参数

[English]

Purpose:

  • Generate A-Bogus parameter using API URL, the submitted URL cannot contain the original a_boogus parameter, and the a_bogus parameter is related to the User-Agent in the request header, which needs to be submitted and requested together.

Parameters:

  • url: API link, please remove the original a_boogus parameter from the url (if any).
  • data: Request payload, only need to submit in POST request, use an empty string in GET request.
  • user_agent: user-agent, you need to submit the User-Agent in your request header, which is involved in the calculation of the a_bogus parameter.
  • index_0: The first value of the encrypted plaintext list, no special requirements, the default is 0, do not modify it at will.
  • index_1: The second value of the encrypted plaintext list, no special requirements, the default is 1, do not modify it at will.
  • index_2: The third value of the encrypted plaintext list, no special requirements, the default is 14, do not modify it at will.

Return:

  • A-Bogus parameter

[示例/Example]

{
"url": "https://www.douyin.com/aweme/v1/web/general/search/single/?device_platform=webapp&aid=6383&channel=channel_pc_web&search_channel=aweme_general&enable_history=1&keyword=%E4%B8%AD%E5%8D%8E%E5%A8%98&search_source=normal_search&query_correct_type=1&is_filter_search=0&from_group_id=7346905902554844468&offset=0&count=15&need_filter_settings=1&pc_client_type=1&version_code=190600&version_name=19.6.0&cookie_enabled=true&screen_width=1280&screen_height=800&browser_language=zh-CN&browser_platform=Win32&browser_name=Firefox&browser_version=124.0&browser_online=true&engine_name=Gecko&engine_version=124.0&os_name=Windows&os_version=10&cpu_core_num=16&device_memory=&platform=PC&webid=7348962975497324070&msToken=YCTVM6YGmjFdIpQAN9ykXLBXiSiuHdZkOkEQWTeqVOHBEPmOcM0lNwE0Kd9vgHPMPigSndZDHfAq9k-6lDmH3Jqz6mHHxmn-BzQjmLMIfLIPgirgnOixM9x4PwgcNQ%3D%3D",
"data": "",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"index_0": 0,
"index_1": 1,
"index_2": 14
}

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

Try 使用接口网址生成A-Bogus参数/Generate A-Bogus parameter using API URL

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

Open in Playground

Related Models