← Back to Skills Marketplace
goldknife6

downloader

by 金刀(Gold Knife) · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
103
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install gnview123
Description
Extract video details, play URLs, user posts, collections, comments, live room info, and dynamic data from Douyin, TikTok, and Bilibili via multiple API endp...
README (SKILL.md)

Skill: 抖音信息提取器\r

1. 描述\r

通过Douyin TikTok Download API获取抖音/TikTok/Bilibili视频数据信息,支持多种API接口。\r \r

2. 配置信息\r

配置文件:config.json\r \r

{\r
  "api_name": "Douyin TikTok Download API",\r
  "version": "V4.1.2",\r
  "host": "http://xxx.com",\r
  "base_url": "http://xxx.com",\r
}\r
```\r
\r
## Bilibili-Web-API\r
\r
### GET /api/bilibili/web/fetch_one_video\r
**Summary**: 获取单个视频详情信息/Get single video data\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取单个视频详情信息\r
### 参数:\r
- bv_id: 作品id\r
### 返回:\r
- 视频详情信息\r
\r
# [English]\r
### Purpose:\r
- Get single video data\r
### Parameters:\r
- bv_id: Video id\r
### Return:\r
- Video data\r
\r
# [示例/Example]\r
bv_id = "BV1M1421t7hT"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| bv_id | string | 是 | 作品id/Video id |\r
\r
\r
### GET /api/bilibili/web/fetch_video_playurl\r
**Summary**: 获取视频流地址/Get video playurl\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取视频流地址\r
### 参数:\r
- bv_id: 作品id\r
- cid: 作品cid\r
### 返回:\r
- 视频流地址\r
\r
# [English]\r
### Purpose:\r
- Get video playurl\r
### Parameters:\r
- bv_id: Video id\r
- cid: Video cid\r
### Return:\r
- Video playurl\r
\r
# [示例/Example]\r
bv_id = "BV1y7411Q7Eq"\r
cid = "171776208"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| bv_id | string | 是 | 作品id/Video id |\r
| cid | string | 是 | 作品cid/Video cid |\r
\r
\r
### GET /api/bilibili/web/fetch_user_post_videos\r
**Summary**: 获取用户主页作品数据/Get user homepage video data\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户发布的视频数据\r
### 参数:\r
- uid: 用户UID\r
- pn: 页码\r
### 返回:\r
- 用户发布的视频数据\r
\r
# [English]\r
### Purpose:\r
- Get user post video data\r
### Parameters:\r
- uid: User UID\r
- pn: Page number\r
### Return:\r
- User posted video data\r
\r
# [示例/Example]\r
uid = "178360345"\r
pn = 1\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| uid | string | 是 | 用户UID |\r
| pn | integer | 否 | 页码/Page number |\r
\r
\r
### GET /api/bilibili/web/fetch_collect_folders\r
**Summary**: 获取用户所有收藏夹信息/Get user collection folders\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户收藏作品数据\r
### 参数:\r
- uid: 用户UID\r
### 返回:\r
- 用户收藏夹信息\r
\r
# [English]\r
### Purpose:\r
- Get user collection folders\r
### Parameters:\r
- uid: User UID\r
### Return:\r
- user collection folders\r
\r
# [示例/Example]\r
uid = "178360345"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| uid | string | 是 | 用户UID |\r
\r
\r
### GET /api/bilibili/web/fetch_user_collection_videos\r
**Summary**: 获取指定收藏夹内视频数据/Gets video data from a collection folder\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取指定收藏夹内视频数据\r
### 参数:\r
- folder_id: 用户UID\r
- pn: 页码\r
### 返回:\r
- 指定收藏夹内视频数据\r
\r
# [English]\r
### Purpose:\r
- Gets video data from a collection folder\r
### Parameters:\r
- folder_id: collection folder id\r
- pn: Page number\r
### Return:\r
- video data from collection folder\r
\r
# [示例/Example]\r
folder_id = "1756059545"\r
pn = 1\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| folder_id | string | 是 | 收藏夹id/collection folder id |\r
| pn | integer | 否 | 页码/Page number |\r
\r
\r
### GET /api/bilibili/web/fetch_user_profile\r
**Summary**: 获取指定用户的信息/Get information of specified user\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取指定用户的信息\r
### 参数:\r
- uid: 用户UID\r
### 返回:\r
- 指定用户的个人信息\r
\r
# [English]\r
### Purpose:\r
- Get information of specified user\r
### Parameters:\r
- uid: User UID\r
### Return:\r
- information of specified user\r
\r
# [示例/Example]\r
uid = "178360345"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| uid | string | 是 | 用户UID |\r
\r
\r
### GET /api/bilibili/web/fetch_com_popular\r
**Summary**: 获取综合热门视频信息/Get comprehensive popular video information\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取综合热门视频信息\r
### 参数:\r
- pn: 页码\r
### 返回:\r
- 综合热门视频信息\r
\r
# [English]\r
### Purpose:\r
- Get comprehensive popular video information\r
### Parameters:\r
- pn: Page number\r
### Return:\r
- comprehensive popular video information\r
\r
# [示例/Example]\r
pn = 1\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| pn | integer | 否 | 页码/Page number |\r
\r
\r
### GET /api/bilibili/web/fetch_video_comments\r
**Summary**: 获取指定视频的评论/Get comments on the specified video\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取指定视频的评论\r
### 参数:\r
- bv_id: 作品id\r
- pn: 页码\r
### 返回:\r
- 指定视频的评论数据\r
\r
# [English]\r
### Purpose:\r
- Get comments on the specified video\r
### Parameters:\r
- bv_id: Video id\r
- pn: Page number\r
### Return:\r
- comments of the specified video\r
\r
# [示例/Example]\r
bv_id = "BV1M1421t7hT"\r
pn = 1\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| bv_id | string | 是 | 作品id/Video id |\r
| pn | integer | 否 | 页码/Page number |\r
\r
\r
### GET /api/bilibili/web/fetch_comment_reply\r
**Summary**: 获取视频下指定评论的回复/Get reply to the specified comment\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取视频下指定评论的回复\r
### 参数:\r
- bv_id: 作品id\r
- pn: 页码\r
- rpid: 回复id\r
### 返回:\r
- 指定评论的回复数据\r
\r
# [English]\r
### Purpose:\r
- Get reply to the specified comment\r
### Parameters:\r
- bv_id: Video id\r
- pn: Page number\r
- rpid: Reply id\r
### Return:\r
- Reply of the specified comment\r
\r
# [示例/Example]\r
bv_id = "BV1M1421t7hT"\r
pn = 1\r
rpid = "237109455120"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| bv_id | string | 是 | 作品id/Video id |\r
| pn | integer | 否 | 页码/Page number |\r
| rpid | string | 是 | 回复id/Reply id |\r
\r
\r
### GET /api/bilibili/web/fetch_user_dynamic\r
**Summary**: 获取指定用户动态/Get dynamic information of specified user\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取指定用户动态\r
### 参数:\r
- uid: 用户UID\r
- offset: 开始索引\r
### 返回:\r
- 指定用户动态数据\r
\r
# [English]\r
### Purpose:\r
- Get dynamic information of specified user\r
### Parameters:\r
- uid: User UID\r
- offset: offset\r
### Return:\r
- dynamic information of specified user\r
\r
# [示例/Example]\r
uid = "178360345"\r
offset = "953154282154098691"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| uid | string | 是 | 用户UID |\r
| offset | string | 否 | 开始索引/offset |\r
\r
\r
### GET /api/bilibili/web/fetch_video_danmaku\r
**Summary**: 获取视频实时弹幕/Get Video Danmaku\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取视频实时弹幕\r
### 参数:\r
- cid: 作品cid\r
### 返回:\r
- 视频实时弹幕\r
\r
# [English]\r
### Purpose:\r
- Get Video Danmaku\r
### Parameters:\r
- cid: Video cid\r
### Return:\r
- Video Danmaku\r
\r
# [示例/Example]\r
cid = "1639235405"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| cid | string | 是 | 作品cid/Video cid |\r
\r
\r
### GET /api/bilibili/web/fetch_live_room_detail\r
**Summary**: 获取指定直播间信息/Get information of specified live room\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取指定直播间信息\r
### 参数:\r
- room_id: 直播间ID\r
### 返回:\r
- 指定直播间信息\r
\r
# [English]\r
### Purpose:\r
- Get information of specified live room\r
### Parameters:\r
- room_id: Live room ID\r
### Return:\r
- information of specified live room\r
\r
# [示例/Example]\r
room_id = "22816111"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| room_id | string | 是 | 直播间ID/Live room ID |\r
\r
\r
### GET /api/bilibili/web/fetch_live_videos\r
**Summary**: 获取直播间视频流/Get live video data of specified room\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取指定直播间视频流\r
### 参数:\r
- room_id: 直播间ID\r
### 返回:\r
- 指定直播间视频流\r
\r
# [English]\r
### Purpose:\r
- Get live video data of specified room\r
### Parameters:\r
- room_id: Live room ID\r
### Return:\r
- live video data of specified room\r
\r
# [示例/Example]\r
room_id = "1815229528"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| room_id | string | 是 | 直播间ID/Live room ID |\r
\r
\r
### GET /api/bilibili/web/fetch_live_streamers\r
**Summary**: 获取指定分区正在直播的主播/Get live streamers of specified live area\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取指定分区正在直播的主播\r
### 参数:\r
- area_id: 直播分区id\r
- pn: 页码\r
### 返回:\r
- 指定分区正在直播的主播\r
\r
# [English]\r
### Purpose:\r
- Get live streamers of specified live area\r
### Parameters:\r
- area_id: Live area ID\r
- pn: Page number\r
### Return:\r
- live streamers of specified live area\r
\r
# [示例/Example]\r
area_id = "9"\r
pn = 1\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| area_id | string | 是 | 直播分区id/Live area ID |\r
| pn | integer | 否 | 页码/Page number |\r
\r
\r
### GET /api/bilibili/web/fetch_all_live_areas\r
**Summary**: 获取所有直播分区列表/Get a list of all live areas\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取所有直播分区列表\r
### 参数:\r
### 返回:\r
- 所有直播分区列表\r
\r
# [English]\r
### Purpose:\r
- Get a list of all live areas\r
### Parameters:\r
### Return:\r
- list of all live areas\r
\r
# [示例/Example]\r
\r
\r
### GET /api/bilibili/web/bv_to_aid\r
**Summary**: 通过bv号获得视频aid号/Generate aid by bvid\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 通过bv号获得视频aid号\r
### 参数:\r
- bv_id: 作品id\r
### 返回:\r
- 视频aid号\r
\r
# [English]\r
### Purpose:\r
- Generate aid by bvid\r
### Parameters:\r
- bv_id: Video id\r
### Return:\r
- Video aid\r
\r
# [示例/Example]\r
bv_id = "BV1M1421t7hT"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| bv_id | string | 是 | 作品id/Video id |\r
\r
\r
### GET /api/bilibili/web/fetch_video_parts\r
**Summary**: 通过bv号获得视频分p信息/Get Video Parts By bvid\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 通过bv号获得视频分p信息\r
### 参数:\r
- bv_id: 作品id\r
### 返回:\r
- 视频分p信息\r
\r
# [English]\r
### Purpose:\r
- Get Video Parts By bvid\r
### Parameters:\r
- bv_id: Video id\r
### Return:\r
- Video Parts\r
\r
# [示例/Example]\r
bv_id = "BV1vf421i7hV"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| bv_id | string | 是 | 作品id/Video id |\r
\r
\r
## Douyin-Web-API\r
\r
### GET /api/douyin/web/fetch_one_video\r
**Summary**: 获取单个作品数据/Get single video data\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取单个作品数据\r
### 参数:\r
- aweme_id: 作品id\r
### 返回:\r
- 作品数据\r
\r
# [English]\r
### Purpose:\r
- Get single video data\r
### Parameters:\r
- aweme_id: Video id\r
### Return:\r
- Video data\r
\r
# [示例/Example]\r
aweme_id = "7372484719365098803"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| aweme_id | string | 是 | 作品id/Video id |\r
\r
\r
### GET /api/douyin/web/fetch_user_post_videos\r
**Summary**: 获取用户主页作品数据/Get user homepage video data\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户主页作品数据\r
### 参数:\r
- sec_user_id: 用户sec_user_id\r
- max_cursor: 最大游标\r
- count: 最大数量\r
### 返回:\r
- 用户主页作品数据\r
\r
# [English]\r
### Purpose:\r
- Get user homepage video data\r
### Parameters:\r
- sec_user_id: User sec_user_id\r
- max_cursor: Maximum cursor\r
- count: Maximum count number\r
### Return:\r
- User video data\r
\r
# [示例/Example]\r
sec_user_id = "MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE"\r
max_cursor = 0\r
counts = 20\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| sec_user_id | string | 是 | 用户sec_user_id/User sec_user_id |\r
| max_cursor | integer | 否 | 最大游标/Maximum cursor |\r
| count | integer | 否 | 每页数量/Number per page |\r
\r
\r
### GET /api/douyin/web/fetch_user_like_videos\r
**Summary**: 获取用户喜欢作品数据/Get user like video data\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户喜欢作品数据\r
### 参数:\r
- sec_user_id: 用户sec_user_id\r
- max_cursor: 最大游标\r
- count: 最大数量\r
### 返回:\r
- 用户作品数据\r
\r
# [English]\r
### Purpose:\r
- Get user like video data\r
### Parameters:\r
- sec_user_id: User sec_user_id\r
- max_cursor: Maximum cursor\r
- count: Maximum count number\r
### Return:\r
- User video data\r
\r
# [示例/Example]\r
sec_user_id = "MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y"\r
max_cursor = 0\r
counts = 20\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| sec_user_id | string | 是 | 用户sec_user_id/User sec_user_id |\r
| max_cursor | integer | 否 | 最大游标/Maximum cursor |\r
| counts | integer | 否 | 每页数量/Number per page |\r
\r
\r
### GET /api/douyin/web/fetch_user_collection_videos\r
**Summary**: 获取用户收藏作品数据/Get user collection video data\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户收藏作品数据\r
### 参数:\r
- cookie: 用户网页版抖音Cookie(此接口需要用户提供自己的Cookie)\r
- max_cursor: 最大游标\r
- count: 最大数量\r
### 返回:\r
- 用户作品数据\r
\r
# [English]\r
### Purpose:\r
- Get user collection video data\r
### Parameters:\r
- cookie: User's web version of Douyin Cookie (This interface requires users to provide their own Cookie)\r
- max_cursor: Maximum cursor\r
- count: Maximum number\r
### Return:\r
- User video data\r
\r
# [示例/Example]\r
cookie = "YOUR_COOKIE"\r
max_cursor = 0\r
counts = 20\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| cookie | string | 是 | 用户网页版抖音Cookie/Your web version of Douyin Cookie |\r
| max_cursor | integer | 否 | 最大游标/Maximum cursor |\r
| counts | integer | 否 | 每页数量/Number per page |\r
\r
\r
### GET /api/douyin/web/fetch_user_mix_videos\r
**Summary**: 获取用户合辑作品数据/Get user mix video data\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户合辑作品数据\r
### 参数:\r
- mix_id: 合辑id\r
- max_cursor: 最大游标\r
- count: 最大数量\r
### 返回:\r
- 用户作品数据\r
\r
# [English]\r
### Purpose:\r
- Get user mix video data\r
### Parameters:\r
- mix_id: Mix id\r
- max_cursor: Maximum cursor\r
- count: Maximum number\r
### Return:\r
- User video data\r
\r
# [示例/Example]\r
url = https://www.douyin.com/collection/7348687990509553679\r
mix_id = "7348687990509553679"\r
max_cursor = 0\r
counts = 20\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| mix_id | string | 是 | 合辑id/Mix id |\r
| max_cursor | integer | 否 | 最大游标/Maximum cursor |\r
| counts | integer | 否 | 每页数量/Number per page |\r
\r
\r
### GET /api/douyin/web/fetch_user_live_videos\r
**Summary**: 获取用户直播流数据/Get user live video data\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户直播流数据\r
### 参数:\r
- webcast_id: 直播间webcast_id\r
### 返回:\r
- 直播流数据\r
\r
# [English]\r
### Purpose:\r
- Get user live video data\r
### Parameters:\r
- webcast_id: Room webcast_id\r
### Return:\r
- Live stream data\r
\r
# [示例/Example]\r
webcast_id = "285520721194"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| webcast_id | string | 是 | 直播间webcast_id/Room webcast_id |\r
\r
\r
### GET /api/douyin/web/fetch_user_live_videos_by_room_id\r
**Summary**: 获取指定用户的直播流数据/Get live video data of specified user\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取指定用户的直播流数据\r
### 参数:\r
- room_id: 直播间room_id\r
### 返回:\r
- 直播流数据\r
\r
# [English]\r
### Purpose:\r
- Get live video data of specified user\r
### Parameters:\r
- room_id: Room room_id\r
### Return:\r
- Live stream data\r
\r
# [示例/Example]\r
room_id = "7318296342189919011"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| room_id | string | 是 | 直播间room_id/Room room_id |\r
\r
\r
### GET /api/douyin/web/fetch_live_gift_ranking\r
**Summary**: 获取直播间送礼用户排行榜/Get live room gift user ranking\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取直播间送礼用户排行榜\r
### 参数:\r
- room_id: 直播间room_id\r
- rank_type: 排行类型,默认为30不用修改。\r
### 返回:\r
- 排行榜数据\r
\r
# [English]\r
### Purpose:\r
- Get live room gift user ranking\r
### Parameters:\r
- room_id: Room room_id\r
- rank_type: Leaderboard type, default is 30, no need to modify.\r
### Return:\r
- Leaderboard data\r
\r
# [示例/Example]\r
room_id = "7356585666190461731"\r
rank_type = 30\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| room_id | string | 是 | 直播间room_id/Room room_id |\r
| rank_type | integer | 否 | 排行类型/Leaderboard type |\r
\r
\r
### GET /api/douyin/web/fetch_live_room_product_result\r
**Summary**: 抖音直播间商品信息/Douyin live room product information\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 抖音直播间商品信息\r
### 参数:\r
- cookie: 用户网页版抖音Cookie(此接口需要用户提供自己的Cookie,如获取失败请手动过一次验证码)\r
- room_id: 直播间room_id\r
- author_id: 作者id\r
- limit: 数量\r
### 返回:\r
- 商品信息\r
\r
# [English]\r
### Purpose:\r
- Douyin live room product information\r
### Parameters:\r
- cookie: User's web version of Douyin Cookie (This interface requires users to provide their own Cookie, if the acquisition fails, please manually pass the captcha code once)\r
- room_id: Room room_id\r
- author_id: Author id\r
- limit: Number\r
### Return:\r
- Product information\r
\r
# [示例/Example]\r
cookie = "YOUR_COOKIE"\r
room_id = "7356742011975715619"\r
author_id = "2207432981615527"\r
limit = 20\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| cookie | string | 是 | 用户网页版抖音Cookie/Your web version of Douyin Cookie |\r
| room_id | string | 是 | 直播间room_id/Room room_id |\r
| author_id | string | 是 | 作者id/Author id |\r
| limit | integer | 否 | 数量/Number |\r
\r
\r
### GET /api/douyin/web/handler_user_profile\r
**Summary**: 获取指定用户的信息/Get information of specified user\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取指定用户的信息\r
### 参数:\r
- sec_user_id: 用户sec_user_id\r
### 返回:\r
- 用户信息,包含用户的unique_id(抖音号)。\r
\r
# [English]\r
### Purpose:\r
- Get information of specified user\r
### Parameters:\r
- sec_user_id: User sec_user_id\r
### Return:\r
- User information\r
\r
# [示例/Example]\r
sec_user_id = "MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| sec_user_id | string | 是 | 用户sec_user_id/User sec_user_id |\r
\r
\r
### GET /api/douyin/web/fetch_video_comments\r
**Summary**: 获取单个视频评论数据/Get single video comments data\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取单个视频评论数据\r
### 参数:\r
- aweme_id: 作品id\r
- cursor: 游标\r
- count: 数量\r
### 返回:\r
- 评论数据\r
\r
# [English]\r
### Purpose:\r
- Get single video comments data\r
### Parameters:\r
- aweme_id: Video id\r
- cursor: Cursor\r
- count: Number\r
### Return:\r
- Comments data\r
\r
# [示例/Example]\r
aweme_id = "7372484719365098803"\r
cursor = 0\r
count = 20\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| aweme_id | string | 是 | 作品id/Video id |\r
| cursor | integer | 否 | 游标/Cursor |\r
| count | integer | 否 | 数量/Number |\r
\r
\r
### GET /api/douyin/web/fetch_video_comment_replies\r
**Summary**: 获取指定视频的评论回复数据/Get comment replies data of specified video\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取指定视频的评论回复数据\r
### 参数:\r
- item_id: 作品id\r
- comment_id: 评论id\r
- cursor: 游标\r
- count: 数量\r
### 返回:\r
- 评论回复数据\r
\r
# [English]\r
### Purpose:\r
- Get comment replies data of specified video\r
### Parameters:\r
- item_id: Video id\r
- comment_id: Comment id\r
- cursor: Cursor\r
- count: Number\r
### Return:\r
- Comment replies data\r
\r
# [示例/Example]\r
aweme_id = "7354666303006723354"\r
comment_id = "7354669356632638218"\r
cursor = 0\r
count = 20\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| item_id | string | 是 | 作品id/Video id |\r
| comment_id | string | 是 | 评论id/Comment id |\r
| cursor | integer | 否 | 游标/Cursor |\r
| count | integer | 否 | 数量/Number |\r
\r
\r
### GET /api/douyin/web/generate_real_msToken\r
**Summary**: 生成真实msToken/Generate real msToken\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 生成真实msToken\r
### 返回:\r
- msToken\r
\r
# [English]\r
### Purpose:\r
- Generate real msToken\r
### Return:\r
- msToken\r
\r
\r
### GET /api/douyin/web/generate_ttwid\r
**Summary**: 生成ttwid/Generate ttwid\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 生成ttwid\r
### 返回:\r
- ttwid\r
\r
# [English]\r
### Purpose:\r
- Generate ttwid\r
### Return:\r
- ttwid\r
\r
\r
### GET /api/douyin/web/generate_verify_fp\r
**Summary**: 生成verify_fp/Generate verify_fp\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 生成verify_fp\r
### 返回:\r
- verify_fp\r
\r
# [English]\r
### Purpose:\r
- Generate verify_fp\r
### Return:\r
- verify_fp\r
\r
\r
### GET /api/douyin/web/generate_s_v_web_id\r
**Summary**: 生成s_v_web_id/Generate s_v_web_id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 生成s_v_web_id\r
### 返回:\r
- s_v_web_id\r
\r
# [English]\r
### Purpose:\r
- Generate s_v_web_id\r
### Return:\r
- s_v_web_id\r
\r
\r
### GET /api/douyin/web/generate_x_bogus\r
**Summary**: 使用接口网址生成X-Bogus参数/Generate X-Bogus parameter using API URL\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 使用接口网址生成X-Bogus参数\r
### 参数:\r
- url: 接口网址\r
\r
# [English]\r
### Purpose:\r
- Generate X-Bogus parameter using API URL\r
### Parameters:\r
- url: API URL\r
\r
# [示例/Example]\r
url = "https://www.douyin.com/aweme/v1/web/aweme/detail/?aweme_id=7148736076176215311&device_platform=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_code=170400&version_name=17.4.0&cookie_enabled=true&screen_width=1920&screen_height=1080&browser_language=zh-CN&browser_platform=Win32&browser_name=Edge&browser_version=117.0.2045.47&browser_online=true&engine_name=Blink&engine_version=117.0.0.0&os_name=Windows&os_version=10&cpu_core_num=128&device_memory=10240&platform=PC&downlink=10&effective_type=4g&round_trip_time=100"\r
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"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | N/A |\r
| user_agent | string | 是 | N/A |\r
\r
\r
### GET /api/douyin/web/generate_a_bogus\r
**Summary**: 使用接口网址生成A-Bogus参数/Generate A-Bogus parameter using API URL\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 使用接口网址生成A-Bogus参数\r
### 参数:\r
- url: 接口网址\r
- user_agent: 用户代理,暂时不支持自定义,直接使用默认值即可。\r
\r
# [English]\r
### Purpose:\r
- Generate A-Bogus parameter using API URL\r
### Parameters:\r
- url: API URL\r
- user_agent: User agent, temporarily does not support customization, just use the default value.\r
\r
# [示例/Example]\r
url = "https://www.douyin.com/aweme/v1/web/aweme/detail/?device_platform=webapp&aid=6383&channel=channel_pc_web&pc_client_type=1&version_code=190500&version_name=19.5.0&cookie_enabled=true&browser_language=zh-CN&browser_platform=Win32&browser_name=Firefox&browser_online=true&engine_name=Gecko&os_name=Windows&os_version=10&platform=PC&screen_width=1920&screen_height=1080&browser_version=124.0&engine_version=122.0.0.0&cpu_core_num=12&device_memory=8&aweme_id=7372484719365098803"\r
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"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | N/A |\r
| user_agent | string | 是 | N/A |\r
\r
\r
### GET /api/douyin/web/get_sec_user_id\r
**Summary**: 提取单个用户id/Extract single user id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 提取单个用户id\r
### 参数:\r
- url: 用户主页链接\r
### 返回:\r
- 用户sec_user_id\r
\r
# [English]\r
### Purpose:\r
- Extract single user id\r
### Parameters:\r
- url: User homepage link\r
### Return:\r
- User sec_user_id\r
\r
# [示例/Example]\r
url = "https://www.douyin.com/user/MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | N/A |\r
\r
\r
### POST /api/douyin/web/get_all_sec_user_id\r
**Summary**: 提取列表用户id/Extract list user id\r
\r
**Description**:\r
# [中文]\r
 ### 用途:\r
 - 提取列表用户id\r
 ### 参数:\r
 - url: 用户主页链接列表\r
 ### 返回:\r
 - 用户sec_user_id列表\r
\r
 # [English]\r
 ### Purpose:\r
 - Extract list user id\r
 ### Parameters:\r
 - url: User homepage link list\r
 ### Return:\r
 - User sec_user_id list\r
\r
 # [示例/Example]\r
 ```json\r
 {\r
"urls":[\r
   "https://www.douyin.com/user/MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE?vid=7285950278132616463",\r
   "https://www.douyin.com/user/MS4wLjABAAAAVsneOf144eGDFf8Xp9QNb1VW6ovXnNT5SqJBhJfe8KQBKWKDTWK5Hh-_i9mJzb8C",\r
   "长按复制此条消息,打开抖音搜索,查看TA的更多作品。 https://v.douyin.com/idFqvUms/",\r
   "https://v.douyin.com/idFqvUms/"\r
    ]\r
 }\r
 ```\r
\r
\r
### GET /api/douyin/web/get_aweme_id\r
**Summary**: 提取单个作品id/Extract single video id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 提取单个作品id\r
### 参数:\r
- url: 作品链接\r
### 返回:\r
- 作品id\r
\r
# [English]\r
### Purpose:\r
- Extract single video id\r
### Parameters:\r
- url: Video link\r
### Return:\r
- Video id\r
\r
# [示例/Example]\r
url = "https://www.douyin.com/video/7298145681699622182"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | N/A |\r
\r
\r
### POST /api/douyin/web/get_all_aweme_id\r
**Summary**: 提取列表作品id/Extract list video id\r
\r
**Description**:\r
# [中文]\r
 ### 用途:\r
 - 提取列表作品id\r
 ### 参数:\r
 - url: 作品链接列表\r
 ### 返回:\r
 - 作品id列表\r
\r
 # [English]\r
 ### Purpose:\r
 - Extract list video id\r
 ### Parameters:\r
 - url: Video link list\r
 ### Return:\r
 - Video id list\r
\r
 # [示例/Example]\r
 ```json\r
 {\r
"urls":[\r
    "0.53 02/26 [email protected] Fus:/ 你别太帅了郑润泽# 现场版live # 音乐节 # 郑润泽  https://v.douyin.com/iRNBho6u/ 复制此链接,打开Dou音搜索,直接观看视频!",\r
    "https://v.douyin.com/iRNBho6u/",\r
    "https://www.iesdouyin.com/share/video/7298145681699622182/?region=CN&mid=7298145762238565171&u_code=l1j9bkbd&did=MS4wLjABAAAAtqpCx0hpOERbdSzQdjRZw-wFPxaqdbAzsKDmbJMUI3KWlMGQHC-n6dXAqa-dM2EP&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=05kGlqGmR4_IwCX.ZGk6xuL0osNA..5ur7b0jbOx6cc-&share_version=170400&ts=1699262937&from_aid=6383&from_ssr=1&from=web_code_link",\r
    "https://www.douyin.com/video/7298145681699622182?previous_page=web_code_link",\r
    "https://www.douyin.com/video/7298145681699622182",\r
 ]\r
 }\r
 ```\r
\r
\r
### GET /api/douyin/web/get_webcast_id\r
**Summary**: 提取列表直播间号/Extract list webcast id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 提取列表直播间号\r
### 参数:\r
- url: 直播间链接\r
### 返回:\r
- 直播间号\r
\r
# [English]\r
### Purpose:\r
- Extract list webcast id\r
### Parameters:\r
- url: Room link\r
### Return:\r
- Room id\r
\r
# [示例/Example]\r
url = "https://live.douyin.com/775841227732"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | N/A |\r
\r
\r
### POST /api/douyin/web/get_all_webcast_id\r
**Summary**: 提取列表直播间号/Extract list webcast id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 提取列表直播间号\r
### 参数:\r
- url: 直播间链接列表\r
### 返回:\r
- 直播间号列表\r
\r
# [English]\r
### Purpose:\r
- Extract list webcast id\r
### Parameters:\r
- url: Room link list\r
### Return:\r
- Room id list\r
\r
# [示例/Example]\r
```json\r
{\r
  "urls": [\r
        "https://live.douyin.com/775841227732",\r
        "https://live.douyin.com/775841227732?room_id=7318296342189919011&enter_from_merge=web_share_link&enter_method=web_share_link&previous_page=app_code_link",\r
        'https://webcast.amemv.com/douyin/webcast/reflow/7318296342189919011?u_code=l1j9bkbd&did=MS4wLjABAAAAEs86TBQPNwAo-RGrcxWyCdwKhI66AK3Pqf3ieo6HaxI&iid=MS4wLjABAAAA0ptpM-zzoliLEeyvWOCUt-_dQza4uSjlIvbtIazXnCY&with_sec_did=1&use_link_command=1&ecom_share_track_params=&extra_params={"from_request_id":"20231230162057EC005772A8EAA0199906","im_channel_invite_id":"0"}&user_id=3644207898042206&liveId=7318296342189919011&from=share&style=share&enter_method=click_share&roomId=7318296342189919011&activity_info={}',\r
        "6i- [email protected] 03/23 【醒子8ke的直播间】  点击打开👉https://v.douyin.com/i8tBR7hX/  或长按复制此条消息,打开抖音,看TA直播",\r
        "https://v.douyin.com/i8tBR7hX/",\r
        ]\r
}\r
```\r
\r
\r
## Download\r
\r
### GET /api/download\r
**Summary**: 在线下载抖音|TikTok|Bilibili视频/图片/Online download Douyin|TikTok|Bilibili video/image\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 在线下载抖音|TikTok|Bilibili 无水印或有水印的视频/图片\r
- 通过传入的视频URL参数,获取对应的视频或图片数据,然后下载到本地。\r
- 如果你在尝试直接访问TikTok单一视频接口的JSON数据中的视频播放地址时遇到HTTP403错误,那么你可以使用此接口来下载视频。\r
- Bilibili视频会自动合并视频流和音频流,确保下载的视频有声音。\r
- 这个接口会占用一定的服务器资源,所以在Demo站点是默认关闭的,你可以在本地部署后调用此接口。\r
### 参数:\r
- url: 视频或图片的URL地址,支持抖音|TikTok|Bilibili的分享链接,例如:https://v.douyin.com/e4J8Q7A/ 或 https://www.bilibili.com/video/BV1xxxxxxxxx\r
- prefix: 下载文件的前缀,默认为True,可以在配置文件中修改。\r
- with_watermark: 是否下载带水印的视频或图片,默认为False。(注意:Bilibili没有水印概念)\r
### 返回:\r
- 返回下载的视频或图片文件响应。\r
\r
# [English]\r
### Purpose:\r
- Download Douyin|TikTok|Bilibili video/image with or without watermark online.\r
- By passing the video URL parameter, get the corresponding video or image data, and then download it to the local.\r
- If you encounter an HTTP403 error when trying to access the video playback address in the JSON data of the TikTok single video interface directly, you can use this interface to download the video.\r
- Bilibili videos will automatically merge video and audio streams to ensure downloaded videos have sound.\r
- This interface will occupy a certain amount of server resources, so it is disabled by default on the Demo site, you can call this interface after deploying it locally.\r
### Parameters:\r
- url: The URL address of the video or image, supports Douyin|TikTok|Bilibili sharing links, for example: https://v.douyin.com/e4J8Q7A/ or https://www.bilibili.com/video/BV1xxxxxxxxx\r
- prefix: The prefix of the downloaded file, the default is True, and can be modified in the configuration file.\r
- with_watermark: Whether to download videos or images with watermarks, the default is False. (Note: Bilibili has no watermark concept)\r
### Returns:\r
- Return the response of the downloaded video or image file.\r
\r
# [示例/Example]\r
url: https://www.bilibili.com/video/BV1U5efz2Egn\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | 视频或图片的URL地址,支持抖音|TikTok|Bilibili的分享链接,例如:https://v.douyin.com/e4J8Q7A/ 或 https://www.bilibili.com/video/BV1xxxxxxxxx |\r
| prefix | boolean | 否 | N/A |\r
| with_watermark | boolean | 否 | N/A |\r
\r
\r
## Hybrid-API\r
\r
### GET /api/hybrid/video_data\r
**Summary**: 混合解析单一视频接口/Hybrid parsing single video endpoint\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 该接口用于解析抖音/TikTok单一视频的数据。\r
### 参数:\r
- `url`: 视频链接、分享链接、分享文本。\r
### 返回:\r
- `data`: 视频数据。\r
\r
# [English]\r
### Purpose:\r
- This endpoint is used to parse data of a single Douyin/TikTok video.\r
### Parameters:\r
- `url`: Video link, share link, or share text.\r
### Returns:\r
- `data`: Video data.\r
\r
# [Example]\r
url = "https://v.douyin.com/L4FJNR3/"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | N/A |\r
| minimal | boolean | 否 | N/A |\r
\r
\r
### GET /api/hybrid/video_data\r
**Summary**: 混合解析单一视频接口/Hybrid parsing single video endpoint\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 该接口用于解析抖音/TikTok单一视频的数据。\r
### 参数:\r
- `url`: 视频链接、分享链接、分享文本。\r
### 返回:\r
- `data`: 视频数据。\r
\r
# [English]\r
### Purpose:\r
- This endpoint is used to parse data of a single Douyin/TikTok video.\r
### Parameters:\r
- `url`: Video link, share link, or share text.\r
### Returns:\r
- `data`: Video data.\r
\r
# [Example]\r
url = "https://v.douyin.com/L4FJNR3/"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | N/A |\r
| minimal | boolean | 否 | N/A |\r
\r
\r
### POST /api/hybrid/update_cookie\r
**Summary**: 更新Cookie/Update Cookie\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 更新指定服务的Cookie\r
### 参数:\r
- service: 服务名称 (如: douyin_web)\r
- cookie: 新的Cookie值\r
### 返回:\r
- 更新结果\r
\r
# [English]\r
### Purpose:\r
- Update Cookie for specified service\r
### Parameters:\r
- service: Service name (e.g.: douyin_web)\r
- cookie: New Cookie value\r
### Return:\r
- Update result\r
\r
# [示例/Example]\r
service = "douyin_web"\r
cookie = "YOUR_NEW_COOKIE"\r
\r
\r
## TikTok-Web-API\r
\r
### GET /api/tiktok/web/fetch_one_video\r
**Summary**: 获取单个作品数据/Get single video data\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取单个作品数据\r
### 参数:\r
- itemId: 作品id\r
### 返回:\r
- 作品数据\r
\r
# [English]\r
### Purpose:\r
- Get single video data\r
### Parameters:\r
- itemId: Video id\r
### Return:\r
- Video data\r
\r
# [示例/Example]\r
itemId = "7339393672959757570"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| itemId | string | 是 | 作品id/Video id |\r
\r
\r
### GET /api/tiktok/web/fetch_user_profile\r
**Summary**: 获取用户的个人信息/Get user profile\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户的个人信息\r
### 参数:\r
- secUid: 用户secUid\r
- uniqueId: 用户uniqueId\r
- secUid和uniqueId至少提供一个, 优先使用uniqueId, 也就是用户主页的链接中的用户名。\r
### 返回:\r
- 用户的个人信息\r
\r
# [English]\r
### Purpose:\r
- Get user profile\r
### Parameters:\r
- secUid: User secUid\r
- uniqueId: User uniqueId\r
- At least one of secUid and uniqueId is provided, and uniqueId is preferred, that is, the username in the user's homepage link.\r
### Return:\r
- User profile\r
\r
# [示例/Example]\r
secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"\r
uniqueId = "tiktok"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| uniqueId | string | 否 | 用户uniqueId/User uniqueId |\r
| secUid | string | 否 | 用户secUid/User secUid |\r
\r
\r
### GET /api/tiktok/web/fetch_user_post\r
**Summary**: 获取用户的作品列表/Get user posts\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户的作品列表\r
### 参数:\r
- secUid: 用户secUid\r
- cursor: 翻页游标\r
- count: 每页数量\r
- coverFormat: 封面格式\r
### 返回:\r
- 用户的作品列表\r
\r
# [English]\r
### Purpose:\r
- Get user posts\r
### Parameters:\r
- secUid: User secUid\r
- cursor: Page cursor\r
- count: Number per page\r
- coverFormat: Cover format\r
### Return:\r
- User posts\r
\r
# [示例/Example]\r
secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"\r
cursor = 0\r
count = 35\r
coverFormat = 2\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| secUid | string | 是 | 用户secUid/User secUid |\r
| cursor | integer | 否 | 翻页游标/Page cursor |\r
| count | integer | 否 | 每页数量/Number per page |\r
| coverFormat | integer | 否 | 封面格式/Cover format |\r
\r
\r
### GET /api/tiktok/web/fetch_user_like\r
**Summary**: 获取用户的点赞列表/Get user likes\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户的点赞列表\r
- 注意: 该接口需要用户点赞列表为公开状态\r
### 参数:\r
- secUid: 用户secUid\r
- cursor: 翻页游标\r
- count: 每页数量\r
- coverFormat: 封面格式\r
### 返回:\r
- 用户的点赞列表\r
\r
# [English]\r
### Purpose:\r
- Get user likes\r
- Note: This interface requires that the user's like list be public\r
### Parameters:\r
- secUid: User secUid\r
- cursor: Page cursor\r
- count: Number per page\r
- coverFormat: Cover format\r
### Return:\r
- User likes\r
\r
# [示例/Example]\r
secUid = "MS4wLjABAAAAq1iRXNduFZpY301UkVpJ1eQT60_NiWS9QQSeNqmNQEDJp0pOF8cpleNEdiJx5_IU"\r
cursor = 0\r
count = 35\r
coverFormat = 2\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| secUid | string | 是 | 用户secUid/User secUid |\r
| cursor | integer | 否 | 翻页游标/Page cursor |\r
| count | integer | 否 | 每页数量/Number per page |\r
| coverFormat | integer | 否 | 封面格式/Cover format |\r
\r
\r
### GET /api/tiktok/web/fetch_user_collect\r
**Summary**: 获取用户的收藏列表/Get user favorites\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户的收藏列表\r
- 注意: 该接口目前只能获取自己的收藏列表,需要提供自己账号的cookie。\r
### 参数:\r
- cookie: 用户cookie\r
- secUid: 用户secUid\r
- cursor: 翻页游标\r
- count: 每页数量\r
- coverFormat: 封面格式\r
### 返回:\r
- 用户的收藏列表\r
\r
# [English]\r
### Purpose:\r
- Get user favorites\r
- Note: This interface can currently only get your own favorites list, you need to provide your account cookie.\r
### Parameters:\r
- cookie: User cookie\r
- secUid: User secUid\r
- cursor: Page cursor\r
- count: Number per page\r
- coverFormat: Cover format\r
### Return:\r
- User favorites\r
\r
# [示例/Example]\r
cookie = "Your_Cookie"\r
secUid = "Your_SecUid"\r
cursor = 0\r
count = 30\r
coverFormat = 2\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| cookie | string | 是 | 用户cookie/User cookie |\r
| secUid | string | 是 | 用户secUid/User secUid |\r
| cursor | integer | 否 | 翻页游标/Page cursor |\r
| count | integer | 否 | 每页数量/Number per page |\r
| coverFormat | integer | 否 | 封面格式/Cover format |\r
\r
\r
### GET /api/tiktok/web/fetch_user_play_list\r
**Summary**: 获取用户的播放列表/Get user play list\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户的播放列表\r
### 参数:\r
- secUid: 用户secUid\r
- cursor: 翻页游标\r
- count: 每页数量\r
### 返回:\r
- 用户的播放列表\r
\r
# [English]\r
### Purpose:\r
- Get user play list\r
### Parameters:\r
- secUid: User secUid\r
- cursor: Page cursor\r
- count: Number per page\r
### Return:\r
- User play list\r
\r
# [示例/Eample]\r
secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"\r
cursor = 0\r
count = 30\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| secUid | string | 是 | 用户secUid/User secUid |\r
| cursor | integer | 否 | 翻页游标/Page cursor |\r
| count | integer | 否 | 每页数量/Number per page |\r
\r
\r
### GET /api/tiktok/web/fetch_user_mix\r
**Summary**: 获取用户的合辑列表/Get user mix list\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户的合辑列表\r
### 参数:\r
- mixId: 合辑id\r
- cursor: 翻页游标\r
- count: 每页数量\r
### 返回:\r
- 用户的合辑列表\r
\r
# [English]\r
### Purpose:\r
- Get user mix list\r
### Parameters:\r
- mixId: Mix id\r
- cursor: Page cursor\r
- count: Number per page\r
### Return:\r
- User mix list\r
\r
# [示例/Eample]\r
mixId = "7101538765474106158"\r
cursor = 0\r
count = 30\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| mixId | string | 是 | 合辑id/Mix id |\r
| cursor | integer | 否 | 翻页游标/Page cursor |\r
| count | integer | 否 | 每页数量/Number per page |\r
\r
\r
### GET /api/tiktok/web/fetch_post_comment\r
**Summary**: 获取作品的评论列表/Get video comments\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取作品的评论列表\r
### 参数:\r
- aweme_id: 作品id\r
- cursor: 翻页游标\r
- count: 每页数量\r
- current_region: 当前地区,默认为空。\r
### 返回:\r
- 作品的评论列表\r
\r
# [English]\r
### Purpose:\r
- Get video comments\r
### Parameters:\r
- aweme_id: Video id\r
- cursor: Page cursor\r
- count: Number per page\r
- current_region: Current region, default is empty.\r
### Return:\r
- Video comments\r
\r
# [示例/Eample]\r
aweme_id = "7304809083817774382"\r
cursor = 0\r
count = 20\r
current_region = ""\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| aweme_id | string | 是 | 作品id/Video id |\r
| cursor | integer | 否 | 翻页游标/Page cursor |\r
| count | integer | 否 | 每页数量/Number per page |\r
| current_region | string | 否 | 当前地区/Current region |\r
\r
\r
### GET /api/tiktok/web/fetch_post_comment_reply\r
**Summary**: 获取作品的评论回复列表/Get video comment replies\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取作品的评论回复列表\r
### 参数:\r
- item_id: 作品id\r
- comment_id: 评论id\r
- cursor: 翻页游标\r
- count: 每页数量\r
- current_region: 当前地区,默认为空。\r
### 返回:\r
- 作品的评论回复列表\r
\r
# [English]\r
### Purpose:\r
- Get video comment replies\r
### Parameters:\r
- item_id: Video id\r
- comment_id: Comment id\r
- cursor: Page cursor\r
- count: Number per page\r
- current_region: Current region, default is empty.\r
### Return:\r
- Video comment replies\r
\r
# [示例/Eample]\r
item_id = "7304809083817774382"\r
comment_id = "7304877760886588191"\r
cursor = 0\r
count = 20\r
current_region = ""\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| item_id | string | 是 | 作品id/Video id |\r
| comment_id | string | 是 | 评论id/Comment id |\r
| cursor | integer | 否 | 翻页游标/Page cursor |\r
| count | integer | 否 | 每页数量/Number per page |\r
| current_region | string | 否 | 当前地区/Current region |\r
\r
\r
### GET /api/tiktok/web/fetch_user_fans\r
**Summary**: 获取用户的粉丝列表/Get user followers\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户的粉丝列表\r
### 参数:\r
- secUid: 用户secUid\r
- count: 每页数量\r
- maxCursor: 最大游标\r
- minCursor: 最小游标\r
### 返回:\r
- 用户的粉丝列表\r
\r
# [English]\r
### Purpose:\r
- Get user followers\r
### Parameters:\r
- secUid: User secUid\r
- count: Number per page\r
- maxCursor: Max cursor\r
- minCursor: Min cursor\r
### Return:\r
- User followers\r
\r
# [示例/Example]\r
secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"\r
count = 30\r
maxCursor = 0\r
minCursor = 0\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| secUid | string | 是 | 用户secUid/User secUid |\r
| count | integer | 否 | 每页数量/Number per page |\r
| maxCursor | integer | 否 | 最大游标/Max cursor |\r
| minCursor | integer | 否 | 最小游标/Min cursor |\r
\r
\r
### GET /api/tiktok/web/fetch_user_follow\r
**Summary**: 获取用户的关注列表/Get user followings\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户的关注列表\r
### 参数:\r
- secUid: 用户secUid\r
- count: 每页数量\r
- maxCursor: 最大游标\r
- minCursor: 最小游标\r
### 返回:\r
- 用户的关注列表\r
\r
# [English]\r
### Purpose:\r
- Get user followings\r
### Parameters:\r
- secUid: User secUid\r
- count: Number per page\r
- maxCursor: Max cursor\r
- minCursor: Min cursor\r
### Return:\r
- User followings\r
\r
# [示例/Example]\r
secUid = "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"\r
count = 30\r
maxCursor = 0\r
minCursor = 0\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| secUid | string | 是 | 用户secUid/User secUid |\r
| count | integer | 否 | 每页数量/Number per page |\r
| maxCursor | integer | 否 | 最大游标/Max cursor |\r
| minCursor | integer | 否 | 最小游标/Min cursor |\r
\r
\r
### GET /api/tiktok/web/generate_real_msToken\r
**Summary**: 生成真实msToken/Generate real msToken\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 生成真实msToken\r
### 返回:\r
- 真实msToken\r
\r
# [English]\r
### Purpose:\r
- Generate real msToken\r
### Return:\r
- Real msToken\r
\r
\r
### GET /api/tiktok/web/generate_ttwid\r
**Summary**: 生成ttwid/Generate ttwid\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 生成ttwid\r
### 参数:\r
- cookie: 用户cookie\r
### 返回:\r
- ttwid\r
\r
# [English]\r
### Purpose:\r
- Generate ttwid\r
### Parameters:\r
- cookie: User cookie\r
### Return:\r
- ttwid\r
\r
# [示例/Example]\r
cookie = "Your_Cookie"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| cookie | string | 是 | 用户cookie/User cookie |\r
\r
\r
### GET /api/tiktok/web/generate_xbogus\r
**Summary**: 生成xbogus/Generate xbogus\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 生成xbogus\r
### 参数:\r
- url: 未签名的API URL\r
- user_agent: 用户浏览器User-Agent\r
### 返回:\r
- xbogus\r
\r
# [English]\r
### Purpose:\r
- Generate xbogus\r
### Parameters:\r
- url: Unsigned API URL\r
- user_agent: User browser User-Agent\r
### Return:\r
- xbogus\r
\r
# [示例/Example]\r
url = "https://www.tiktok.com/api/item/detail/?WebIdLastTime=1712665533&aid=1988&app_language=en&app_name=tiktok_web&browser_language=en-US&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_version=5.0%20%28Windows%29&channel=tiktok_web&cookie_enabled=true&device_id=7349090360347690538&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_fullscreen=false&is_page_visible=true&language=en&os=windows&priority_region=US&referer=&region=US&root_referer=https%3A%2F%2Fwww.tiktok.com%2F&screen_height=1080&screen_width=1920&webcast_language=en&tz_name=America%2FTijuana&msToken=AYFCEapCLbMrS8uTLBoYdUMeeVLbCdFQ_QF_-OcjzJw1CPr4JQhWUtagy0k4a9IITAqi5Qxr2Vdh9mgCbyGxTnvWLa4ZVY6IiSf6lcST-tr0IXfl-r_ZTpzvWDoQfqOVsWCTlSNkhAwB-tap5g==&itemId=7339393672959757570"\r
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | 未签名的API URL/Unsigned API URL |\r
| user_agent | string | 是 | 用户浏览器User-Agent/User browser User-Agent |\r
\r
\r
### GET /api/tiktok/web/get_sec_user_id\r
**Summary**: 提取列表用户id/Extract list user id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 提取列表用户id\r
### 参数:\r
- url: 用户主页链接\r
### 返回:\r
- 用户id\r
\r
# [English]\r
### Purpose:\r
- Extract list user id\r
### Parameters:\r
- url: User homepage link\r
### Return:\r
- User id\r
\r
# [示例/Example]\r
url = "https://www.tiktok.com/@tiktok"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | 用户主页链接/User homepage link |\r
\r
\r
### POST /api/tiktok/web/get_all_sec_user_id\r
**Summary**: 提取列表用户id/Extract list user id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 提取列表用户id\r
### 参数:\r
- url: 用户主页链接\r
### 返回:\r
- 用户id\r
\r
# [English]\r
### Purpose:\r
- Extract list user id\r
### Parameters:\r
- url: User homepage link\r
### Return:\r
- User id\r
\r
# [示例/Example]\r
url = ["https://www.tiktok.com/@tiktok"]\r
\r
\r
### GET /api/tiktok/web/get_aweme_id\r
**Summary**: 提取单个作品id/Extract single video id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 提取单个作品id\r
### 参数:\r
- url: 作品链接\r
### 返回:\r
- 作品id\r
\r
# [English]\r
### Purpose:\r
- Extract single video id\r
### Parameters:\r
- url: Video link\r
### Return:\r
- Video id\r
\r
# [示例/Example]\r
url = "https://www.tiktok.com/@owlcitymusic/video/7218694761253735723"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | 作品链接/Video link |\r
\r
\r
### POST /api/tiktok/web/get_all_aweme_id\r
**Summary**: 提取列表作品id/Extract list video id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 提取列表作品id\r
### 参数:\r
- url: 作品链接\r
### 返回:\r
- 作品id\r
\r
# [English]\r
### Purpose:\r
- Extract list video id\r
### Parameters:\r
- url: Video link\r
### Return:\r
- Video id\r
\r
# [示例/Example]\r
url = ["https://www.tiktok.com/@owlcitymusic/video/7218694761253735723"]\r
\r
\r
### GET /api/tiktok/web/get_unique_id\r
**Summary**: 获取用户unique_id/Get user unique_id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取用户unique_id\r
### 参数:\r
- url: 用户主页链接\r
### 返回:\r
- unique_id\r
\r
# [English]\r
### Purpose:\r
- Get user unique_id\r
### Parameters:\r
- url: User homepage link\r
### Return:\r
- unique_id\r
\r
# [示例/Example]\r
url = "https://www.tiktok.com/@tiktok"\r
\r
**Parameters**:\r
| 参数名 | 类型 | 必需 | 说明 |\r
|--------|------|------|------|\r
| url | string | 是 | 用户主页链接/User homepage link |\r
\r
\r
### POST /api/tiktok/web/get_all_unique_id\r
**Summary**: 获取列表unique_id/Get list unique_id\r
\r
**Description**:\r
# [中文]\r
### 用途:\r
- 获取列表unique_id\r
### 参数:\r
- url: 用户主页链接\r
### 返回:\r
- unique_id\r
\r
# [English]\r
### Purpose:\r
- Get list unique_id\r
### Parameters:\r
- url: User homepage link\r
### Return:\r
- unique_id\r
\r
# [示例/Example]\r
url = ["https://www.tiktok.com/@tiktok"]\r
\r
\r
## iOS-Shortcut\r
\r
### GET /api/ios/shortcut\r
**Summary**: 用于iOS快捷指令的版本更新信息/Version update information for iOS shortcuts\r
\r
Usage Guidance
This skill is an instruction-only wrapper around an external Douyin/TikTok/Bilibili API and otherwise coherent, but take these precautions before installing: - Provide a trusted base_url/host: the bundled config uses 'xxx' placeholders; point it to a known, reputable API provider. If you leave it pointed to an unknown endpoint, the skill will send requests to that server. - Understand what data will be sent: the agent will forward query parameters (video IDs, user IDs, etc.) to the configured API. Avoid enabling the skill if your agent has access to sensitive data you wouldn't want transmitted to third parties. - Because the skill makes outbound network requests, consider limiting autonomous invocation or running it in a restricted environment if you are concerned about accidental data leakage. - Verify licensing and terms: downloading or scraping content may have copyright or TOS implications for your use-case. - If you need higher assurance, request provenance (who published the skill, a homepage or source repository) or ask the publisher to replace the placeholder host with their verified API endpoint before use.
Capability Analysis
Type: OpenClaw Skill Name: gnview Version: 1.0.0 The skill bundle provides an extensive interface for interacting with Douyin, TikTok, and Bilibili APIs, including high-risk functionality that requires users to provide session cookies (e.g., in `SKILL.md` for endpoints like `/api/douyin/web/fetch_user_collection_videos` and `/api/hybrid/update_cookie`). While these capabilities are plausibly required for the stated purpose of accessing private user data, they create a direct path for credential exfiltration if the configurable `base_url` in `config.json` is directed to a malicious endpoint. No evidence of intentional malice or hardcoded exfiltration was found, but the handling of sensitive authentication tokens warrants a suspicious classification.
Capability Assessment
Purpose & Capability
Name/description match the SKILL.md: the document enumerates many API endpoints for Douyin/TikTok/Bilibili and includes example request/response data. The skill does not request unrelated credentials or binaries. The only oddity is the placeholder host/base_url ('xxx' / 'http://xxx.com') which means a real API host must be supplied by the operator; that is plausible for a downloader frontend.
Instruction Scope
SKILL.md contains API endpoint docs and parameter examples; it instructs the agent to call those endpoints (via the configured base_url) and does not direct the agent to read arbitrary local files or environment variables beyond the bundled config.json. There are no broader 'gather whatever context you need' directives or hidden steps in the provided excerpt.
Install Mechanism
No install spec and no code files to execute; instruction-only skills are lower risk because nothing is written to disk or fetched at install time.
Credentials
The skill declares no required env vars, credentials, or config paths. It performs network calls to a (user-specified) API host, which is proportionate to its stated purpose. Note: because the host is unspecified, the operator must supply a trusted endpoint — otherwise calls could go to an untrusted server.
Persistence & Privilege
always is false and there are no instructions to modify other skills or system-wide settings. The skill can be invoked by the agent (default behavior) but does not request elevated or persistent privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gnview123
  3. After installation, invoke the skill by name or use /gnview123
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of 抖音信息提取器 (gnview): - Provides API endpoints for extracting video and user information from Bilibili. - Supports single video, video stream URLs, user posts, collections, popular videos, comments, and replies. - Includes endpoints for live room and streaming data, user profile, dynamic posts, and danmaku (弹幕). - Configuration handled via config.json for API host and version settings. - All endpoints have bilingual (Chinese/English) documentation and example parameters.
Metadata
Slug gnview123
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is downloader?

Extract video details, play URLs, user posts, collections, comments, live room info, and dynamic data from Douyin, TikTok, and Bilibili via multiple API endp... It is an AI Agent Skill for Claude Code / OpenClaw, with 103 downloads so far.

How do I install downloader?

Run "/install gnview123" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is downloader free?

Yes, downloader is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does downloader support?

downloader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created downloader?

It is built and maintained by 金刀(Gold Knife) (@goldknife6); the current version is v1.0.0.

💬 Comments