From 6ba5aa9a16392327441673cf46b50a2f2bea618a Mon Sep 17 00:00:00 2001 From: Gerardyang <1304274443@qq.com> Date: Fri, 6 Jan 2023 05:32:09 +0000 Subject: [PATCH 01/66] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E6=B5=81=E6=B0=B4=E8=8E=B7=E5=8F=96=E7=9A=84=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + live/live_bill.md | 333 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 334 insertions(+) create mode 100644 live/live_bill.md diff --git a/README.md b/README.md index 903e44d..185b134 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,7 @@ PS:所有 rest api 均可使用 https,文档中为了统一写作`http` (除 - [ ] 直播间操作 - [ ] [直播视频流](live/live_stream.md) - [ ] [直播信息流](live/message_stream.md) + - [ ] [直播流水](live/live_bill.md) - [ ] [转正答题](newbie_exam) - [x] [查询信息](newbie_exam/info.md) - [x] [拉取题目](newbie_exam/fetch.md) diff --git a/live/live_bill.md b/live/live_bill.md new file mode 100644 index 0000000..c9028dc --- /dev/null +++ b/live/live_bill.md @@ -0,0 +1,333 @@ +# 直播流水 + +- [获取所有礼物列表](#获取所有礼物列表) +- [获取流水](#获取流水) + +## 获取所有礼物列表 + +> https://api.live.bilibili.com/gift/v1/master/getGiftTypes + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ----- | -------- | -------------- | +| code | num | 返回值 | 0:成功 | +| msg | str | 错误信息 | 默认为 success | +| message | str | 错误信息 | 默认为 success | +| data | array | 礼物列表 | | + +`data` 数组: + +| 字段 | 类型 | 内容 | 备注 | +| --------- | ---- | -------- | ------------------------------------------------------------------------------ | +| gift_id | num | 礼物 id | | +| gift_name | str | 礼物名称 | | +| price | num | 瓜子数量 | 电池礼物为金瓜子数量,银瓜子礼物为银瓜子数量。 (金瓜子数量 / 100 = 电池数量) | + +*注:特殊礼物如舰长、提督、总督等没有 `price` 字段* + +
+查看响应示例: + +```json + { + "code": 0, + "msg": "success", + "message": "success", + "data": [ + { + "gift_id": 10001, + "gift_name": "总督" + }, + { + "gift_id": 10002, + "gift_name": "提督" + }, + { + "gift_id": 10003, + "gift_name": "舰长" + }, + { + "gift_id": 12000, + "gift_name": "醒目留言" + }, + { + "gift_id": 1, + "price": 100, + "gift_name": "辣条" + }, + { + "gift_id": 3, + "price": 9900, + "gift_name": "B坷垃" + }, + { + "gift_id": 6, + "price": 1000, + "gift_name": "亿圆" + }, + { + "gift_id": 30426, + "price": 0, + "gift_name": "BLS能量石" + }, + { + "gift_id": 30706, + "price": 1000, + "gift_name": "生日快乐" + }, + { + "gift_id": 30707, + "price": 5200, + "gift_name": "生日蛋糕" + }, + { + "gift_id": 30708, + "price": 52000, + "gift_name": "生日王冠" + }, + { + "gift_id": 31049, + "price": 6600, + "gift_name": "干杯" + }, + { + "gift_id": 31116, + "price": 6600, + "gift_name": "干杯" + }, + { + "gift_id": 31251, + "price": 6600, + "gift_name": "干杯" + }, + { + "gift_id": 31531, + "price": 0, + "gift_name": "PK票" + }, + { + "gift_id": 31588, + "price": 19900, + "gift_name": "星河入梦" + }, + { + "gift_id": 31589, + "price": 131400, + "gift_name": "我星永恒" + }, + { + "gift_id": 32276, + "price": 0, + "gift_name": "粉丝团灯牌" + }, + ... + ] + } +``` + +
+ +--- + +## 获取流水 + +> https://api.live.bilibili.com/xlive/revenue/v1/giftStream/getReceivedGiftStreamNextList + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +请求参数: + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ------------- | ----------------------- | ---------- | +| limit | num | 一页有多少条目 | 必要 | | +| coin_type | num | 礼物类型 | 必要 | 0 为所有,1 为电池礼物,2 为银瓜子礼物 | +| begin_time | date / string | 流水的日期 | 必要 | 格式为 yyyy-MM-dd | +| uname | string | 筛选的用户名 | 非必要 | | +| last_id | num | 上一页页末的礼物列表 id | 翻页时必要 | 见下方 `list` 数组说明 | +| gift_id | num | 筛选的礼物 id | | + +请求示例:`https://api.live.bilibili.com/xlive/revenue/v1/giftStream/getReceivedGiftStreamNextList?limit=20&coin_type=0&begin_time=2023-01-01` + +请求示例(翻页时):`https://api.live.bilibili.com/xlive/revenue/v1/giftStream/getReceivedGiftStreamNextList?last_id=13834493&limit=20&coin_type=0&begin_time=2023-01-01` + +**json 回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ------ | -------- | -------------- | +| code | num | 返回值 | 0:成功 | +| msg | str | 错误信息 | 默认为 success | +| message | str | 错误信息 | 默认为 success | +| data | object | 流水 | | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------- | ----- | -------------- | -------------- | +| has_more | num | 是否由下一页 | 1 为是,0 为否 | +| total_hamster | num | 总的金仓鼠收益 | +| list | array | 礼物列表 | + +`list` 数组: + +| 字段 | 类型 | 内容 | 备注 | +| ------------------ | ---------- | ------------------------------------- | -------------------------- | +| uid | num | 送礼用户的 uid | | +| uname | str | 用户名 | | +| time | date / str | 送礼时间 | | +| gift_id | num | 礼物 id | | +| gift_name | str | 礼物名字 | | +| gift_img | str | 礼物图片链接 | | +| gift_num | num | 礼物数量 | | +| hamster | num | 金仓鼠数量 | | +| gold | num | 礼物价值(金瓜子) | +| silver | num | 礼物价值(银瓜子) | +| ios_hamster | num | 由 iOS 端送出的礼物所收到的金仓鼠 | | +| normal_hamster | num | 一般情况下收到的金仓鼠 | | +| ios_gold | num | 由 iOS 端送出的礼物所收到的金瓜子数量 | | +| normal_gold | num | 一般情况下收到的金瓜子数量 | | +| is_hybrid | bool | 是否混合 | 作用不明 | +| id | num | 此项 id | 用于翻页 | +| is_open_platfrom | num | 是否开放平台 | 作用不明 | +| open_platfrom_rate | num | 开放平台比率 (?) | 作用不明 | +| receive_title | str | | 作用不明 ,一般为 `"主播"` | +| room_id | num | 送礼房间id | 如果礼物为上舰,此项为 `0` | + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "uid": 0000000000, + "uname": "XXXXXXX", + "time": "2023-01-01 00:00:00", + "gift_id": 31216, + "gift_name": "i了i了", + "gift_img": "https://s1.hdslb.com/bfs/live/1157a445487b39c0b7368d91b22290c60fa665b2.png", + "gift_num": 1, + "hamster": 50, + "gold": 100, + "silver": 0, + "ios_hamster": 0, + "normal_hamster": 50, + "ios_gold": 0, + "normal_gold": 100, + "is_hybrid": false, + "id": 14269551, + "is_open_platfrom": 0, + "open_platfrom_rate": 0, + "receive_title": "主播", + "room_id": 000001 + }, + { + "uid": 0000000000, + "uname": "XXXXXXX", + "time": "2023-01-01 00:00:00", + "gift_id": 10003, + "gift_name": "舰长", + "gift_img": "https://i0.hdslb.com/bfs/live/f1be2a2d5b227ce72641de1ad64bcc7f9e4111c3.png", + "gift_num": 1, + "hamster": 69000, + "gold": 138000, + "silver": 0, + "ios_hamster": 0, + "normal_hamster": 69000, + "ios_gold": 0, + "normal_gold": 138000, + "is_hybrid": false, + "id": 14258453, + "is_open_platfrom": 0, + "open_platfrom_rate": 0, + "receive_title": "主播", + "room_id": 000000 + }, + { + "uid": 0000000000, + "uname": "XXXXXXX", + "time": "2023-01-01 00:00:00", + "gift_id": 31036, + "gift_name": "小花花", + "gift_img": "https://s1.hdslb.com/bfs/live/8b40d0470890e7d573995383af8a8ae074d485d9.png", + "gift_num": 1, + "hamster": 50, + "gold": 100, + "silver": 0, + "ios_hamster": 0, + "normal_hamster": 50, + "ios_gold": 0, + "normal_gold": 100, + "is_hybrid": false, + "id": 14243903, + "is_open_platfrom": 0, + "open_platfrom_rate": 0, + "receive_title": "主播", + "room_id": 000001 + }, + { + "uid": 0000000000, + "uname": "XXXXXXX", + "time": "2023-01-01 00:00:00", + "gift_id": 30047, + "gift_name": "友谊的小船", + "gift_img": "https://s1.hdslb.com/bfs/live/b33c94c51b669bd88f811ecf5f4e34a1db22a648.png", + "gift_num": 1, + "hamster": 2450, + "gold": 4900, + "silver": 0, + "ios_hamster": 0, + "normal_hamster": 2450, + "ios_gold": 0, + "normal_gold": 4900, + "is_hybrid": false, + "id": 14242683, + "is_open_platfrom": 0, + "open_platfrom_rate": 0, + "receive_title": "主播", + "room_id": 000001 + }, + { + "uid": 0000000000, + "uname": "XXXXXXX", + "time": "2023-01-01 00:00:00", + "gift_id": 31738, + "gift_name": "粉丝团灯牌", + "gift_img": "https://s1.hdslb.com/bfs/live/cbed3bb0a894369b49ceaf0b5337b4491b75ac42.png", + "gift_num": 1, + "hamster": 0, + "gold": 1000, + "silver": 1000, + "ios_hamster": 0, + "normal_hamster": 0, + "ios_gold": 0, + "normal_gold": 0, + "is_hybrid": false, + "id": 14237376, + "is_open_platfrom": 0, + "open_platfrom_rate": 0, + "receive_title": "主播", + "room_id": 000001 + } + ], + "has_more": 1, + "total_hamster": 122050 + } +} +``` + +
From 49247a35b956294a57868234f29e0b669d6220e4 Mon Sep 17 00:00:00 2001 From: HankTheSniper <798481015@qq.com> Date: Sat, 19 Oct 2024 04:28:51 +0800 Subject: [PATCH 02/66] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E6=97=A0?= =?UTF-8?q?=E9=9C=80wbi=E9=89=B4=E6=9D=83=E7=9A=84=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=8A=95=E7=A8=BF=E6=98=8E=E7=BB=86=E6=9F=A5=E8=AF=A2=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/user/space.md | 296 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 296 insertions(+) diff --git a/docs/user/space.md b/docs/user/space.md index 8b5838b..5a4cad4 100644 --- a/docs/user/space.md +++ b/docs/user/space.md @@ -2778,6 +2778,302 @@ curl -G 'https://api.bilibili.com/x/space/arc/search' \ + +### 查询用户投稿明细(APP、无需wbi鉴权) + +
+ +> https://app.biliapi.com/x/v2/space/archive/cursor + +*请求方式:GET* + +可以获取APP端可获得的用户空间投稿所有信息 +APP端请求对web端包容度最高,无需Cookie以外的任何认证,只需填写vmid即可查询 +认证方式:Cookie 或 APP + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ------------- | ---- | ----------------------- | -------------- | ------------- | +| vmid | num | 目标用户mid | 必要 | | +| aid | num | 请求返回起始视频 | 首次请求不需要 | 填写上次请求返回最后视频的aid | +| order | str | 排序方式 | 非必要 | `click`代表最多播放,`pubdate`代表最新发布 | +| sort | str | 确有影响,但这是什么呢? | 非必要 | 创建时间: asc
修改时间: desc | +| access_key | str | APP登录Token | APP方式必要 | | +| appkey | str | APP密钥 | APP方式必要 | | +| build | num | 版本 | APP方式必要 | 可为`8130300` | +| c_locale | str | 语言 | 非必要 | zh_CN | +| channel | num | 频道 | 非必要 | | +| fnval | num | 视频流类型 | 非必要 | | +| fnver | num | 请求时提供的fnver | 非必要 | 可为 0 | +| force_host | num | 源url类型 | 非必要 | 0:无限制 1:使用http 2:使用https | +| fourk | num | 是否允许 4K 视频 | 非必要 | 画质最高 1080P:0(默认)
画质最高 4K:1 | +| include_cursor| bool | 未知 | 非必要 | 可为false | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web`、`android` 等 | +| platform | str | 平台 | 非必要 | 可为`web` | +| ps | int | 每页条数 | 非必要 | 默认为 `20` | +| pn | int | 似乎不是页码 | 非必要 | 默认为 `32` | +| pn_policy | int | 未知 | 非必要 | 可为 `1` | +| s_locale | str | 语言 | 非必要 | zh_CN | +| statistics | str | 位置 | 非必要 | 可为{"appId":1,"platform":3,"version":"8.13.0","abtest":""} | +| ts | num | 秒级时间戳 | 非必要 | | +| voice_balance | num | 未知 | 非必要 | 默认为 `1` | +| sign | str | APP签名 | APP方式必要 | | + +**json回复:** + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ---------------------------- | +| code | num | 返回值 | 0:成功
-400:请求错误 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 视频信息 | | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +| --------------------- | ------ | ------------- | ----------------------------- | +| count | num | 总数 | 0:成功
-400:请求错误 | +| episodic_button | obj | 播放按钮 | 播放按钮的显示文字与跳转链接 | +| has_next | bool | 有无后续 | true:有;false:没有 | +| has_prev | bool | 有无前置 | true:有;false:没有 | +| item | array | 视频列表 | 注意是item没有复数 | +| last_watched_locator | obj | 上次播放定位 | 上次播放定位的一些信息 | +| order | array | 排列方式 | 排列方式的显示与值 | + +`episodic_button`对象 + +| 字段 | 类型 | 内容 | 备注 | +| ----- | ------ | ----------------- | ------ | +| text | str | 四个大字“播放全部” | | +| uri | str | 跳转链接 | | + +`item`数组: + +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | ------------ | ---- | +| 0 | obj | 视频信息1 | | +| n | obj | 视频信息(n+1) | | +| …… | obj | …… | …… | + +`item`数组元素: + +| 参数名 | 类型 | 内容 | 备注 | +| ----------------- | ----- | ----------------------- | ------------------------ | +| author | str | 作者昵称 | | +| bvid | str | 视频bv号 | | +| cover | str | 封面url | | +| cover_icon | str | 封面icon?未知 | | +| ctime | num | 应该是发布时间秒级时间戳 | | +| cursor_attr | obj | 上次观看标记 | | +| danmaku | num | 弹幕数 | | +| duration | num | 视频时长 | | +| first_cid | num | 首个频道cid | | +| goto | str | 应该是跳转去向类型 | 已知av为视频 | +| icon_type | num | icon类型?未知 | | +| is_cooperation | bool | 是否为合作视频 | 如果true会有粉色合作视频标签 | +| is_fold | bool | 是否折叠?未知 | | +| is_live_playback | bool | 是否为直播回放 | 如果true会有粉色直播回放标签 | +| is_onself | bool | 是否自己?未知 | | +| is_pgc | bool | 是否开pgc | | +| is_popular | bool | 是否上热门 | 如果true会有热门标签 | +| is_pugv | bool | 未知 | | +| is_steins | bool | 未知 | | +| is_ugcpay | bool | 未知 | | +| length | num | 长度?未知 | | +| param | str | 参数,实际为视频aid | | +| play | num | 播放量 | | +| publish_time_text | str | 发布时间汉字字符串版 | | +| state | bool | 状态?未知 | | +| subtitle | str | 子标题 | | +| three_points | array | 三点按钮内容 | 关于稍后再看和分享的显示内容 | +| title | str | 标题 | | +| tname | str | tag的name | | +| ugc_pay | num | ugc支付?未知 | | +| uri | str | APP 跳转 uri | | +| video | num | 未知 | | +| view_content | str | 播放量字符串版 | | + +`item`元素中的`cursor_attr`对象: + +| 参数名 | 类型 | 内容 | 备注 | +| ------------------- | ---- | ----------------------- | -------------------------------------- | +| is_last_watched_arc | bool | 是否为上次播放 | 如果ture则封面笼罩一层写有“上次播放”的灰幕 | +| rank | num | 视频所处该列表排名 | | + +`last_watched_locator`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------------ | ----- | ----------------- | ------ | +| display_threshold | num | 显示阈值 | | +| insert_ranking | num | 嵌入排名 | | +| text | str | 定位上次观看字样 | | + +`order`数组: + +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | ------------ | ----------------- | +| 0 | obj | 最新发布的内容 | 内包括文字和值 | +| 1 | obj | 最多播放的内容 | 内包括文字和值 | + +**示例:** + +查询用户mid=1240283469的稿件 +以播放量排序,显示3个稿件,但假设aid=1301087872及以前稿件已经加载过 + +> https://app.biliapi.com/x/v2/space/archive/cursor?vmid=1240283469&order=click&ps=3&aid=1301087872 +输入浏览器 + +
+查看响应示例: + +```json + +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "episodic_button": { + "text": "播放全部", + "uri": "bilibili://music/playlist/spacepage/1240283469?desc=1\u0026offset=0\u0026oid=0\u0026order=time\u0026page_type=1\u0026playlist_intro=UP%E4%B8%BB%E7%9A%84%E5%85%A8%E9%83%A8%E8%A7%86%E9%A2%91\u0026ps=20\u0026sort_field=2\u0026sort_hidden=1\u0026total_count=33\u0026user_name=%E7%A5%9E%E5%9D%A1%E5%86%9C%E8%8E%AB" + }, + "order": [ + { + "title": "最新发布", + "value": "pubdate" + }, + { + "title": "最多播放", + "value": "click" + } + ], + "count": 33, + "item": [ + { + "title": "【神坡农二】后半段更是天籁!汉堡仙人神坡农二吃完快餐深情演唱《樱花树下的约定》", + "subtitle": "", + "tname": "搞笑", + "cover": "http://i2.hdslb.com/bfs/archive/3e5d02f50b2e0a756cc5e3dd7f705abc58c3a439.jpg", + "cover_icon": "", + "uri": "bilibili://video/1351875564?history_progress=0\u0026player_height=1920\u0026player_rotate=0\u0026player_width=1080", + "param": "1351875564", + "goto": "av", + "length": "", + "duration": 45, + "is_popular": false, + "is_steins": false, + "is_ugcpay": false, + "is_cooperation": false, + "is_pgc": false, + "is_live_playback": false, + "is_pugv": false, + "is_fold": false, + "is_oneself": false, + "play": 1248, + "danmaku": 1, + "ctime": 1710518403, + "ugc_pay": 0, + "author": "神坡农莫", + "state": false, + "bvid": "BV1H6421w7Gy", + "videos": 1, + "three_point": [ + { + "type": "addtoview", + "icon": "https://i0.hdslb.com/bfs/app/25cc01346574a601dafd45c94226d92a67eed79a.png", + "text": "添加至稍后再看" + }, + { + "type": "share", + "icon": "https://i0.hdslb.com/bfs/app/a5787f586c72f2d6f6ade4b33c64908938c4a01f.png", + "text": "分享", + "share_succ_toast": "分享成功", + "share_fail_toast": "分享失败", + "share_path": "pages/video/video?avid=1351875564", + "short_link": "https://b23.tv/BV1H6421w7Gy" + } + ], + "first_cid": 1471110689, + "cursor_attr": { + "is_last_watched_arc": false, + "rank": 1 + }, + "view_content": "1248", + "icon_type": 0, + "publish_time_text": "3月16日" + }, + { + "title": "【迪迦奥特曼】亲自配音?迪迦超战神联合网络新星神坡农二!共同打造奥特曼大电影!", + "subtitle": "", + "tname": "搞笑", + "cover": "http://i0.hdslb.com/bfs/archive/c6c94d16aeeefca148c1694e45fd352b22cac3fb.jpg", + "cover_icon": "", + "uri": "bilibili://video/1950389780?history_progress=0\u0026player_height=1080\u0026player_rotate=0\u0026player_width=1920", + "param": "1950389780", + "goto": "av", + "length": "", + "duration": 101, + "is_popular": false, + "is_steins": false, + "is_ugcpay": false, + "is_cooperation": false, + "is_pgc": false, + "is_live_playback": false, + "is_pugv": false, + "is_fold": false, + "is_oneself": false, + "play": 1184, + "danmaku": 0, + "ctime": 1707431804, + "ugc_pay": 0, + "author": "神坡农莫", + "state": false, + "bvid": "BV1fC411x7uf", + "videos": 1, + "three_point": [ + { + "type": "addtoview", + "icon": "https://i0.hdslb.com/bfs/app/25cc01346574a601dafd45c94226d92a67eed79a.png", + "text": "添加至稍后再看" + }, + { + "type": "share", + "icon": "https://i0.hdslb.com/bfs/app/a5787f586c72f2d6f6ade4b33c64908938c4a01f.png", + "text": "分享", + "share_succ_toast": "分享成功", + "share_fail_toast": "分享失败", + "share_path": "pages/video/video?avid=1950389780", + "short_link": "https://b23.tv/BV1fC411x7uf" + } + ], + "first_cid": 1434820367, + "cursor_attr": { + "is_last_watched_arc": false, + "rank": 2 + }, + "view_content": "1184", + "icon_type": 0, + "publish_time_text": "2月9日" + } + ], + "last_watched_locator": { + "display_threshold": 10, + "insert_ranking": 6, + "text": "定位至上次观看" + }, + "has_next": true, + "has_prev": true + } +} + +``` + +
+ +
+ + ### 查询用户投稿相簿预览
From d157815024b480f2fcd631848b6619f72bca78d9 Mon Sep 17 00:00:00 2001 From: HankTheSniper <798481015@qq.com> Date: Sat, 19 Oct 2024 04:34:30 +0800 Subject: [PATCH 03/66] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/user/space.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/user/space.md b/docs/user/space.md index 5a4cad4..3abf26c 100644 --- a/docs/user/space.md +++ b/docs/user/space.md @@ -2781,7 +2781,6 @@ curl -G 'https://api.bilibili.com/x/space/arc/search' \ ### 查询用户投稿明细(APP、无需wbi鉴权) -
> https://app.biliapi.com/x/v2/space/archive/cursor @@ -3071,8 +3070,6 @@ APP端请求对web端包容度最高,无需Cookie以外的任何认证,只
-
- ### 查询用户投稿相簿预览 From bd4104413e461446e6250c982f2bdf960a383682 Mon Sep 17 00:00:00 2001 From: HankTheSniper <798481015@qq.com> Date: Wed, 23 Oct 2024 00:55:14 +0800 Subject: [PATCH 04/66] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E6=A8=A1?= =?UTF-8?q?=E6=8B=9Fapp=E7=AB=AF=E7=82=B9=E5=87=BB=E7=9F=AD=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E8=8E=B7=E5=BE=97=E7=9A=84=E8=A7=86=E9=A2=91=E5=88=97?= =?UTF-8?q?=E8=A1=A8=EF=BC=9B=E4=BF=AE=E6=94=B9=E4=BA=86=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E8=A1=A8=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/user/space.md | 4 +- docs/video/recommend.md | 197 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 199 insertions(+), 2 deletions(-) diff --git a/docs/user/space.md b/docs/user/space.md index 3abf26c..1d4e115 100644 --- a/docs/user/space.md +++ b/docs/user/space.md @@ -2857,7 +2857,7 @@ APP端请求对web端包容度最高,无需Cookie以外的任何认证,只 `item`数组元素: -| 参数名 | 类型 | 内容 | 备注 | +| 字段 | 类型 | 内容 | 备注 | | ----------------- | ----- | ----------------------- | ------------------------ | | author | str | 作者昵称 | | | bvid | str | 视频bv号 | | @@ -2895,7 +2895,7 @@ APP端请求对web端包容度最高,无需Cookie以外的任何认证,只 `item`元素中的`cursor_attr`对象: -| 参数名 | 类型 | 内容 | 备注 | +| 字段 | 类型 | 内容 | 备注 | | ------------------- | ---- | ----------------------- | -------------------------------------- | | is_last_watched_arc | bool | 是否为上次播放 | 如果ture则封面笼罩一层写有“上次播放”的灰幕 | | rank | num | 视频所处该列表排名 | | diff --git a/docs/video/recommend.md b/docs/video/recommend.md index b203e50..dcc93c3 100644 --- a/docs/video/recommend.md +++ b/docs/video/recommend.md @@ -1141,6 +1141,203 @@ curl -G 'https://api.bilibili.com/x/web-interface/wbi/index/top/feed/rcmd' \ +## 根据点击视频获取的短视频播放列表 + +> https://app.bilibili.com/x/v2/feed/index/story + +*请求方式:GET* + +在APP端点击主页视频后发出的请求 +认证方式:Cookie 或 APP + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|---------------|------|-------------------------|----------------|------------------------------------------| +| aid | num | 点击视频的aid | 非必要 | 所点击视频的aid,会影响到后续视频内容 | +| display_id | num | 视频列表页数 | 非必要 | 从1开始,第1页会得到比其他页多aid处所填视频 | +| access_key | str | APP登录Token | APP方式必要 | | +| session_id | str | +| ad_extra | str | 额外广告? | 非必要 | | +| appkey | str | APP密钥 | APP方式必要 | | +| auto_play | num | 自动播放 | 非必要 | 可为0 | +| build | num | 版本 | APP方式必要 | 可为`8130300` | +| bvid | str | 视频的bv号 +| c_locale | str | 语言 | 非必要 | zh_CN | +| channel | num | 频道 | 非必要 | | +| cid | num | 目标频道id | 非必要 | | +| contain | bool | 未知 | 非必要 | 可为false | +| creative_id | num | 未知 | 非必要 | 默认为 `0` | +| device_name | str | 设备名称 | 非必要 | 随意字符串都行 | +| disable_rcmd` | num | 未知 | 非必要 | 默认为 `1` | +| epid | num | 未知 | 非必要 | 默认为 `0` | +| feed_status | num | 未知 | 非必要 | 默认为 `0` | +| fnval | num | 视频流类型 | 非必要 | | +| fnver | num | 请求时提供的fnver | 非必要 | 可为 0 | +| force_host | num | 源url类型 | 非必要 | 0:无限制 1:使用http 2:使用https | +| fourk | num | 是否允许 4K 视频 | 非必要 | 画质最高 1080P:0(默认)
画质最高 4K:1 | +| from | num | 未知 | 非必要 | 可为 `7` | +| from_spmid | str | 未知 | 非必要 | tm.recommend.0.0 | +| goto | str | 未知 | 非必要 | | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web`、`android` 等 | +| network | str | 网络 | 非必要 | 可为 `wifi` | +| ogv_style | num | 未知 | 非必要 | 默认为 `0` | +| platform | str | 平台 | 非必要 | 可为`web`或`android` | +| player_net | num | 未知 | 非必要 | 默认为 `1` | +| pull | num | 未知 | 非必要 | 默认为 `1` | +| pn | num | 似乎不是页码 | 非必要 | 默认为 `32` | +| request_from | num | 未知 | 非必要 | 默认为 `0` | +| s_locale | str | 语言 | 非必要 | zh_CN | +| spmid | str | 未知 | 非必要 | main.ugc-video-detail-vertical.0.0 | +| statistics | str | 位置 | 非必要 | 可为{"appId":1,"platform":3,"version":"8.13.0","abtest":""} | +| story_param | str | 未知 | 非必要 | | +| trackid | str | 路径id?未知 | 非必要 | | +| ts | num | 秒级时间戳 | 非必要 | | +| video_mode | num | 视频模式?未知 | 非必要 | 可为 `2`,应该是可以逆向出来的 | +| voice_balance | num | 未知 | 非必要 | 默认为 `1` | +| sign | str | APP签名 | APP方式必要 | | + +**json回复:** + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ---------------------------- | +| code | num | 返回值 | 0:成功
-400:请求错误 | +| message | str | 错误信息 | 默认为 0 | +| ttl | num | 1 | | +| data | obj | 视频信息 | | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ----- | -------- | ---------------------------- | +| config | obj | 配置 | | +| items | array | 视频信息 | | + +`items`数组: + +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | ------------ | ---- | +| 0 | obj | 视频信息1 | | +| n | obj | 视频信息(n+1) | | +| …… | obj | …… | …… | + +`items`数组元素: + +| 字段 | 类型 | 内容 | 备注 | +| ------------------- | ----- | ----------------------- | ------------------------ | +| bvid | str | 视频bv号 | | +| card_goto | str | 卡片跳转 | | +| copyright | num | 版权 | | +| cover | str | 封面url | | +| desc | str | 视频描述 | | +| dimension | num | 包括视频尺寸、旋转角度 | | +| dislike_reasons_v2 | obj | 不喜欢原因v2的各种显示 | | +| dislike_reasons_v3 | obj | 不喜欢原因v3的各种显示 | | +| duration | num | 视频时长 | | +| ff_cover | str | 短视频封面原图 | | +| goto | str | 应该是跳转去向类型 | 此处为vertical_av | +| owner | obj | 拥有者,也就是up信息 | | +| param | str | 参数,实际为视频aid | | +| player_args | obj | 播放器参数 | | +| pubdate | num | 发布时间秒级时间戳 | | +| report_flow_data | str | 报告流数据 | 是个伪装成obj的str | +| req_user | ? | 未知 | 空的 | +| rights | obj | 未知 | | +| share_bottom_button | obj | 分享下方按钮 | | +| share_guide | obj | 未知 | | +| short_link | str | 视频短链接 | | +| show_report | obj | 显示举报 | | +| stat | obj | 视频信息 | | +| sub_title | str | 子标题 | 但显示的是描述播放量的文字 | +| submission_entrance | obj | 提交入口 | icon的uri | +| three_point_button | obj | 三点按钮要显示的内容 | 里面有两个array | +| thumb_up_animation | str | 未知 | | +| title | str | 视频标题 | | +| top_search_bar | obj | 搜索栏 | 内含一个跳转的uri | +| track_id | str | 路由track | | +| uri | str | uri | | +| view_content | str | 用于显示的文本形式播放量 | | +| vip | obj | vip相关的信息 | | + +`owner`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------------- | ----- | ----------------------- | ------------------------ | +| attention | num | 未知 | 包含一个mid的int字段 | +| avatar | obj | 一些显示设置 | | +| face | str | 头像url | | +| fans | num | 粉丝量 | | +| like_num | num | 获赞数 | | +| mid | num | up主的mid | | +| name | str | up主的昵称 | | +| official_verify | obj | 官方认证 | type=-1为无认证,没有其他字段;type=0为黄闪电同时role=1,type=1为蓝闪电同时role大于1,且type不为-1时有字段title为称号 | +| relation | num | 关系?未知 | | +| sub_avatar | obj | 子形象 | 包含一个mid的int字段 | +| upower | obj | 充电相关 | 包含一个button_uri字段类型为str,是充电跳转链接 | + +`player_args`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------------- | ----- | ----------------------- | ------------------------ | +| aid | num | 视频作者的aid | | +| cid | num | 所属频道的cid | | +| type | str | 内容类型 | 视频一般都是av | + +`player_args`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------------- | ----- | ------------------------ | ------------------------ | +| aid | num | 视频作者的aid | | +| coin | num | 视频硬币数 | | +| danmaku | num | 视频弹幕数 | | +| favorite | num | 视频收藏数 | | +| follow | num | 未知 | 很多都是0 | +| like | num | 视频点赞数 | | +| reply | num | 视频评论与回复总数 | | +| share | num | 视频分享数 | | +| view | num | 视频播放 | | + +**示例:** + +(1)模拟点击aid=113350747029965的视频并获取短视频推荐列表 +```python +import json +import requests + +mobile_headers = { + "User-Agent": "xxx", + "env": "prod", + "session_id": "xxx", # 在实际使用中,session_id需要及时更新,否则将导致响应列表有问题 + "APP-KEY": "android64", + 'Buvid': "xxx" +} + +story_url = "https://app.bilibili.com/x/v2/feed/index/story" + +story_params = { + "aid": 113350747029965, + "display_id": 1, + "appkey": "1d8b6e7d45233436", + "build": "8130300", + "bvid": "", + "mobi_app": "android", + "statistics": "{\"appId\":1,\"platform\":3,\"version\":\"8.13.0\",\"abtest\":\"\"}" +} + +response = requests.get(story_url, params=story_params, headers=mobile_headers) + +print(json.dumps(response.json(), indent=4)) +``` +返回值内容过长,暂不予展示 + +(2)随机的短视频推荐 + +> https://app.bilibili.com/x/v2/feed/index/story +浏览器直接输入 + +返回值内容过长,暂不予展示 + + ## 获取短视频模式视频列表 From 9be2d6c644d94ed211457c532d587e4ba294f00f Mon Sep 17 00:00:00 2001 From: HankTheSniper <798481015@qq.com> Date: Wed, 23 Oct 2024 15:55:18 +0800 Subject: [PATCH 05/66] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E7=96=8F=E6=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/video/recommend.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/video/recommend.md b/docs/video/recommend.md index dcc93c3..f8a30b5 100644 --- a/docs/video/recommend.md +++ b/docs/video/recommend.md @@ -1157,12 +1157,11 @@ curl -G 'https://api.bilibili.com/x/web-interface/wbi/index/top/feed/rcmd' \ | aid | num | 点击视频的aid | 非必要 | 所点击视频的aid,会影响到后续视频内容 | | display_id | num | 视频列表页数 | 非必要 | 从1开始,第1页会得到比其他页多aid处所填视频 | | access_key | str | APP登录Token | APP方式必要 | | -| session_id | str | | ad_extra | str | 额外广告? | 非必要 | | | appkey | str | APP密钥 | APP方式必要 | | | auto_play | num | 自动播放 | 非必要 | 可为0 | | build | num | 版本 | APP方式必要 | 可为`8130300` | -| bvid | str | 视频的bv号 +| bvid | str | 视频的bv号 | 非必要 | 可为空,如果没有会导致返回不正常 | | c_locale | str | 语言 | 非必要 | zh_CN | | channel | num | 频道 | 非必要 | | | cid | num | 目标频道id | 非必要 | | From 309c3ec3a016df62694f8a83e512ec426c9a044f Mon Sep 17 00:00:00 2001 From: 15996 <15996313311@163.com> Date: Tue, 26 Nov 2024 10:23:43 +0800 Subject: [PATCH 06/66] =?UTF-8?q?=E8=A7=86=E9=A2=91=E5=9F=BA=E6=9C=AC?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E8=A7=86=E9=A2=91=E6=89=80=E5=9C=A8=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E5=90=88=E9=9B=86=E4=BF=A1=E6=81=AFugc=5Fseason?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/video/info.md | 175 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 175 insertions(+) diff --git a/docs/video/info.md b/docs/video/info.md index 25da11a..12bd161 100644 --- a/docs/video/info.md +++ b/docs/video/info.md @@ -625,6 +625,181 @@ https://i1.hdslb.com/bfs/archive/ea0dd34bf41e23a68175680a00e3358cd249105f.jpg 基本同「[获取视频详细信息(web端)](#获取视频详细信息(web端))」中的data对象 +其中如果当前视频存在于某个视频合集中,则有`ugc_season`对象来描述当前视频所在合集的详细信息 + +`View`中的`ugc_season`对象: + +| 字段 | 类型 | 内容 | 备注 | +|------------|-------|---------|--------| +| id | num | 视频合集id | | +| title | str | 视频合集标题 | | +| mid | str | 视频合集作者id | | +| intro | str | 视频合集介绍 | | +| sign_state | num | ? | 作用尚不明确 | +| attribute | num | 稿件属性位 | 详情见[属性数据文档](attribute_data.md#attribute字段值(稿件属性位)) | +| sections | array | 视频合集中分部列表,正片、看点等组成,一般视频合集只有正片 | | + +`ugc_season`中的`sections`数组: + +| 字段 | 类型 | 内容 | 备注 | +|------------|-------|---------|--------| +| season_id | num | 视频合集中分部所属视频合集id | | +| section_id | num | 视频合集中分部id | | +| title | str | 视频合集中分部标题 | | +| type | num | ? | 作用尚不明确 | +| episodes | array | 视频合集中分部的视频列表 | | + +`sections`中的`episodes`数组: + +| 字段 | 类型 | 内容 | 备注 | +|------------|-------|---------|--------| +| season_id | num | 视频合集中分部中视频所属视频合集id | | +| section_id | num | 视频合集中视频合集中分部中视频所属视频合集分部id | | +| id | num | 视频合集分部中视频id(以下简称视频) | | +| aid | num | 视频aid | | +| cid | num | 视频cid | | +| title | str | 视频标题 | | +| ~~attribute~~(已经弃用) | ~~num~~ | ~~稿件属性位配置~~ | 详情见[属性数据文档](attribute_data.md#attribute字段值(稿件属性位)) | +| arc | obj | 视频详细信息 | 基本同「[获取视频详细信息(web端)](#获取视频详细信息(web端))」中的data对象 | + +`ugc_season`示例 + +```json + "ugc_season": { + "id": 2974525, + "title": "楚汉传奇", + "cover": "https://archive.biliimg.com/bfs/archive/5a853e8bd10a041360b45a462785d90a58ec469e.png", + "mid": 1557073149, + "intro": "", + "sign_state": 0, + "attribute": 140, + "sections": [ + { + "season_id": 2974525, + "id": 3341804, + "title": "正片", + "type": 1, + "episodes": [ + { + "season_id": 2974525, + "section_id": 3341804, + "id": 64976947, + "aid": 1804383120, + "cid": 1541093346, + "title": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", + "attribute": 0, + "arc": { + "aid": 1804383120, + "videos": 0, + "type_id": 0, + "type_name": "", + "copyright": 0, + "pic": "http://i1.hdslb.com/bfs/archive/9d0ebd0a8abd7b005466cb57632ddaa550d24dab.jpg", + "title": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", + "pubdate": 1715427472, + "ctime": 1715427472, + "desc": "", + "state": 0, + "duration": 612, + "rights": { + "bp": 0, + "elec": 0, + "download": 0, + "movie": 0, + "pay": 0, + "hd5": 0, + "no_reprint": 0, + "autoplay": 0, + "ugc_pay": 0, + "is_cooperation": 0, + "ugc_pay_preview": 0, + "arc_pay": 0, + "free_watch": 0 + }, + "author": { + "mid": 0, + "name": "", + "face": "" + }, + "stat": { + "aid": 1804383120, + "view": 787330, + "danmaku": 1298, + "reply": 774, + "fav": 2589, + "coin": 1947, + "share": 271, + "now_rank": 0, + "his_rank": 0, + "like": 12320, + "dislike": 0, + "evaluation": "", + "argue_msg": "", + "vt": 2630119, + "vv": 787330 + }, + "dynamic": "", + "dimension": { + "width": 0, + "height": 0, + "rotate": 0 + }, + "desc_v2": null, + "is_chargeable_season": false, + "is_blooper": false, + "enable_vt": 0, + "vt_display": "" + }, + "page": { + "cid": 1541093346, + "page": 1, + "from": "vupload", + "part": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", + "duration": 612, + "vid": "", + "weblink": "", + "dimension": { + "width": 1920, + "height": 1080, + "rotate": 0 + } + }, + "bvid": "BV1Tb421b7mi", + "pages": [ + { + "cid": 1541093346, + "page": 1, + "from": "vupload", + "part": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", + "duration": 612, + "vid": "", + "weblink": "", + "dimension": { + "width": 1920, + "height": 1080, + "rotate": 0 + } + } + ] + }, + { + "season_id": 2974525, + "section_id": 3341804, + "id": 65121012, + "aid": 1004394994, + "cid": 1542426326, + "title": "卢绾斗鸡输了,眼看十个手指头保不住,刘邦倾家荡产帮了他", + "attribute": 0, + "arc": { + /// + } + } + ] + } + ] + } +``` + `data`中的`Card`对象: | 字段 | 类型 | 内容 | 备注 | From b19be6df36342e814b016a74f600f20f251cece3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=BA=E6=B3=BD=E7=86=99?= <1192102366@qq.com> Date: Thu, 28 Nov 2024 16:31:26 +0800 Subject: [PATCH 07/66] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2e91ec7..6e58b4e 100644 --- a/README.md +++ b/README.md @@ -377,6 +377,7 @@ OR Aifadian:[https://afdian.net/@ShakaiAneE](https://afdian.net/@ShakaiAneE) - [CzJam/Bili_Realtime_Data](https://github.com/CzJam/Bili_Realtime_Data): Bilibili粉丝与视频实时数据统计 - [kingwingfly/fav](https://github.com/kingwingfly/fav): 自动同步bili收藏夹、合集视频到本地的CLI工具(Rust实现,并提供一个文档测试完善的Rust风格的用于构建有状态爬虫的核心库) - [linyuye/Bilibili_crawler](https://github.com/linyuye/Bilibili_crawler): 基于bilibili懒加载api爬取b站动态,视频等评论区 +- [ouzexi/bilibili-hot-tags](https://github.com/ouzexi/bilibili-hot-tags): 一个B站热门视频标签检索统计小工具 ### 其他 From 3ca519ba1cb08acad897f210668acd34e17cb785 Mon Sep 17 00:00:00 2001 From: 15996 <15996313311@163.com> Date: Mon, 2 Dec 2024 11:04:05 +0800 Subject: [PATCH 08/66] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF=E8=A7=86=E9=A2=91=E6=89=80?= =?UTF-8?q?=E5=9C=A8=E8=A7=86=E9=A2=91=E5=90=88=E9=9B=86=E4=BF=A1=E6=81=AF?= =?UTF-8?q?ugc=5Fseason?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/video/info.md | 392 +++++++++++++++++++++++++-------------------- 1 file changed, 216 insertions(+), 176 deletions(-) diff --git a/docs/video/info.md b/docs/video/info.md index 12bd161..070b2b9 100644 --- a/docs/video/info.md +++ b/docs/video/info.md @@ -68,7 +68,8 @@ | is_upower_show | bool | | | | no_cache | bool | 是否不允许缓存? | | | pages | array | 视频分P列表 | | -| subtitle | obj | 视频CC字幕信息 | | +| subtitle | obj | 视频CC字幕信息 | | +| ugc_season | obj | 视频合集信息 | 不在合集中的视频无此项 | | staff | array | 合作成员列表 | 非合作视频无此项 | | is_season_display | bool | | | | user_garb | obj | 用户装扮信息 | | @@ -213,6 +214,220 @@ | is_fake_account | num | 0 | 作用尚不明确 | | is_deleted | num | 0 | 作用尚不明确 | +`ugc_season`对象: + +| 字段 | 类型 | 内容 | 备注 | +|------------|-------|---------|--------| +| id | num | 视频合集id | | +| title | str | 视频合集标题 | | +| mid | str | 视频合集作者id | | +| intro | str | 视频合集介绍 | | +| sign_state | num | ? | 作用尚不明确 | +| attribute | num | 稿件属性位 | 详情见[属性数据文档](attribute_data.md#attribute字段值(稿件属性位)) | +| sections | array | 视频合集中分部列表,名称可由up主自定义,默认为正片 | | +| stat | obj | 视频合集中视频数量 | | +| ep_count | num | 视频合集中视频数量 | | +| season_type | num | 作用尚不明确 | | +| is_pay_season | bool | 是否为付费合集 | | +| enable_vt | num | 作用尚不明确 | | + +`ugc_season`中的`sections`数组: + +| 字段 | 类型 | 内容 | 备注 | +|------------|-------|---------|--------| +| season_id | num | 视频合集中分部所属视频合集id | | +| section_id | num | 视频合集中分部id | | +| title | str | 视频合集中分部标题 | | +| type | num | ? | 作用尚不明确 | +| episodes | array | 视频合集中分部的视频列表 | | + +`sections`中的`episodes`数组: + +| 字段 | 类型 | 内容 | 备注 | +|------------|-------|---------|--------| +| season_id | num | 视频合集中分部中视频所属视频合集id | | +| section_id | num | 视频合集中视频合集中分部中视频所属视频合集分部id | | +| id | num | 视频合集分部中视频id(以下简称视频) | | +| aid | num | 视频aid | | +| cid | num | 视频cid | | +| title | str | 视频标题 | | +| ~~attribute~~(已经弃用) | ~~num~~ | ~~稿件属性位配置~~ | 详情见[属性数据文档](attribute_data.md#attribute字段值(稿件属性位)) | +| arc | obj | 视频详细信息 | 基本同「[获取视频详细信息(web端)](#获取视频详细信息(web端))」中的data对象 | + +`ugc_season`中的`stat`对象: + +|字段 | 类型 | 内容 | 备注 | +|------------|-------|---------|--------| +| season_id | num | 视频合集id | | +| view | num | 视频合集总浏览量 | | +| danmaku | num | 视频合集总弹幕量 | | +| reply | num | 视频合集总评论量 | | +| fav | num | 视频合集总收藏数 | | +| coin | num | 视频合集总投币数 | | +| share | num | 视频合集总分享数 | | +| now_rank | num | 视频合集当前排名 | | +| his_rank | num | 视频合集历史排名 | | +| like | num | 视频合集总获赞数 | | +| vt | num | 作用尚不明确 | | +| vv | num | 作用尚不明确 | | + +`ugc_season`示例 + +```json + "ugc_season": { + "id": 2974525, + "title": "楚汉传奇", + "cover": "https://archive.biliimg.com/bfs/archive/5a853e8bd10a041360b45a462785d90a58ec469e.png", + "mid": 1557073149, + "intro": "", + "sign_state": 0, + "attribute": 140, + "sections": [ + { + "season_id": 2974525, + "id": 3341804, + "title": "正片", + "type": 1, + "episodes": [ + { + "season_id": 2974525, + "section_id": 3341804, + "id": 64976947, + "aid": 1804383120, + "cid": 1541093346, + "title": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", + "attribute": 0, + "arc": { + "aid": 1804383120, + "videos": 0, + "type_id": 0, + "type_name": "", + "copyright": 0, + "pic": "http://i1.hdslb.com/bfs/archive/9d0ebd0a8abd7b005466cb57632ddaa550d24dab.jpg", + "title": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", + "pubdate": 1715427472, + "ctime": 1715427472, + "desc": "", + "state": 0, + "duration": 612, + "rights": { + "bp": 0, + "elec": 0, + "download": 0, + "movie": 0, + "pay": 0, + "hd5": 0, + "no_reprint": 0, + "autoplay": 0, + "ugc_pay": 0, + "is_cooperation": 0, + "ugc_pay_preview": 0, + "arc_pay": 0, + "free_watch": 0 + }, + "author": { + "mid": 0, + "name": "", + "face": "" + }, + "stat": { + "aid": 1804383120, + "view": 787330, + "danmaku": 1298, + "reply": 774, + "fav": 2589, + "coin": 1947, + "share": 271, + "now_rank": 0, + "his_rank": 0, + "like": 12320, + "dislike": 0, + "evaluation": "", + "argue_msg": "", + "vt": 2630119, + "vv": 787330 + }, + "dynamic": "", + "dimension": { + "width": 0, + "height": 0, + "rotate": 0 + }, + "desc_v2": null, + "is_chargeable_season": false, + "is_blooper": false, + "enable_vt": 0, + "vt_display": "" + }, + "page": { + "cid": 1541093346, + "page": 1, + "from": "vupload", + "part": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", + "duration": 612, + "vid": "", + "weblink": "", + "dimension": { + "width": 1920, + "height": 1080, + "rotate": 0 + } + }, + "bvid": "BV1Tb421b7mi", + "pages": [ + { + "cid": 1541093346, + "page": 1, + "from": "vupload", + "part": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", + "duration": 612, + "vid": "", + "weblink": "", + "dimension": { + "width": 1920, + "height": 1080, + "rotate": 0 + } + } + ] + }, + { + "season_id": 2974525, + "section_id": 3341804, + "id": 65121012, + "aid": 1004394994, + "cid": 1542426326, + "title": "卢绾斗鸡输了,眼看十个手指头保不住,刘邦倾家荡产帮了他", + "attribute": 0, + "arc": { + /// + } + } + ] + } + ], + "stat": { + "season_id": 3617611, + "view": 1826438, + "danmaku": 5193, + "reply": 3036, + "fav": 5970, + "coin": 2303, + "share": 663, + "now_rank": 0, + "his_rank": 0, + "like": 40848, + "vt": 0, + "vv": 0 + }, + "ep_count": 21, + "season_type": 1, + "is_pay_season": false, + "enable_vt": 0 + + } +``` + `staff`数组: | 项 | 类型 | 内容 | 备注 | @@ -625,181 +840,6 @@ https://i1.hdslb.com/bfs/archive/ea0dd34bf41e23a68175680a00e3358cd249105f.jpg 基本同「[获取视频详细信息(web端)](#获取视频详细信息(web端))」中的data对象 -其中如果当前视频存在于某个视频合集中,则有`ugc_season`对象来描述当前视频所在合集的详细信息 - -`View`中的`ugc_season`对象: - -| 字段 | 类型 | 内容 | 备注 | -|------------|-------|---------|--------| -| id | num | 视频合集id | | -| title | str | 视频合集标题 | | -| mid | str | 视频合集作者id | | -| intro | str | 视频合集介绍 | | -| sign_state | num | ? | 作用尚不明确 | -| attribute | num | 稿件属性位 | 详情见[属性数据文档](attribute_data.md#attribute字段值(稿件属性位)) | -| sections | array | 视频合集中分部列表,正片、看点等组成,一般视频合集只有正片 | | - -`ugc_season`中的`sections`数组: - -| 字段 | 类型 | 内容 | 备注 | -|------------|-------|---------|--------| -| season_id | num | 视频合集中分部所属视频合集id | | -| section_id | num | 视频合集中分部id | | -| title | str | 视频合集中分部标题 | | -| type | num | ? | 作用尚不明确 | -| episodes | array | 视频合集中分部的视频列表 | | - -`sections`中的`episodes`数组: - -| 字段 | 类型 | 内容 | 备注 | -|------------|-------|---------|--------| -| season_id | num | 视频合集中分部中视频所属视频合集id | | -| section_id | num | 视频合集中视频合集中分部中视频所属视频合集分部id | | -| id | num | 视频合集分部中视频id(以下简称视频) | | -| aid | num | 视频aid | | -| cid | num | 视频cid | | -| title | str | 视频标题 | | -| ~~attribute~~(已经弃用) | ~~num~~ | ~~稿件属性位配置~~ | 详情见[属性数据文档](attribute_data.md#attribute字段值(稿件属性位)) | -| arc | obj | 视频详细信息 | 基本同「[获取视频详细信息(web端)](#获取视频详细信息(web端))」中的data对象 | - -`ugc_season`示例 - -```json - "ugc_season": { - "id": 2974525, - "title": "楚汉传奇", - "cover": "https://archive.biliimg.com/bfs/archive/5a853e8bd10a041360b45a462785d90a58ec469e.png", - "mid": 1557073149, - "intro": "", - "sign_state": 0, - "attribute": 140, - "sections": [ - { - "season_id": 2974525, - "id": 3341804, - "title": "正片", - "type": 1, - "episodes": [ - { - "season_id": 2974525, - "section_id": 3341804, - "id": 64976947, - "aid": 1804383120, - "cid": 1541093346, - "title": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", - "attribute": 0, - "arc": { - "aid": 1804383120, - "videos": 0, - "type_id": 0, - "type_name": "", - "copyright": 0, - "pic": "http://i1.hdslb.com/bfs/archive/9d0ebd0a8abd7b005466cb57632ddaa550d24dab.jpg", - "title": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", - "pubdate": 1715427472, - "ctime": 1715427472, - "desc": "", - "state": 0, - "duration": 612, - "rights": { - "bp": 0, - "elec": 0, - "download": 0, - "movie": 0, - "pay": 0, - "hd5": 0, - "no_reprint": 0, - "autoplay": 0, - "ugc_pay": 0, - "is_cooperation": 0, - "ugc_pay_preview": 0, - "arc_pay": 0, - "free_watch": 0 - }, - "author": { - "mid": 0, - "name": "", - "face": "" - }, - "stat": { - "aid": 1804383120, - "view": 787330, - "danmaku": 1298, - "reply": 774, - "fav": 2589, - "coin": 1947, - "share": 271, - "now_rank": 0, - "his_rank": 0, - "like": 12320, - "dislike": 0, - "evaluation": "", - "argue_msg": "", - "vt": 2630119, - "vv": 787330 - }, - "dynamic": "", - "dimension": { - "width": 0, - "height": 0, - "rotate": 0 - }, - "desc_v2": null, - "is_chargeable_season": false, - "is_blooper": false, - "enable_vt": 0, - "vt_display": "" - }, - "page": { - "cid": 1541093346, - "page": 1, - "from": "vupload", - "part": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", - "duration": 612, - "vid": "", - "weblink": "", - "dimension": { - "width": 1920, - "height": 1080, - "rotate": 0 - } - }, - "bvid": "BV1Tb421b7mi", - "pages": [ - { - "cid": 1541093346, - "page": 1, - "from": "vupload", - "part": "项燕的10万大军惨败秦国,临死前,立下狠誓“楚虽三户,亡秦必楚”", - "duration": 612, - "vid": "", - "weblink": "", - "dimension": { - "width": 1920, - "height": 1080, - "rotate": 0 - } - } - ] - }, - { - "season_id": 2974525, - "section_id": 3341804, - "id": 65121012, - "aid": 1004394994, - "cid": 1542426326, - "title": "卢绾斗鸡输了,眼看十个手指头保不住,刘邦倾家荡产帮了他", - "attribute": 0, - "arc": { - /// - } - } - ] - } - ] - } -``` - `data`中的`Card`对象: | 字段 | 类型 | 内容 | 备注 | From 62088c00ff3b142d0a0ed1553e29c0b200d11db1 Mon Sep 17 00:00:00 2001 From: 15996 <15996313311@163.com> Date: Mon, 2 Dec 2024 11:07:25 +0800 Subject: [PATCH 09/66] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF=E8=A7=86=E9=A2=91=E6=89=80?= =?UTF-8?q?=E5=9C=A8=E8=A7=86=E9=A2=91=E5=90=88=E9=9B=86=E4=BF=A1=E6=81=AF?= =?UTF-8?q?ugc=5Fseason?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/video/info.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/video/info.md b/docs/video/info.md index 070b2b9..20e5fc5 100644 --- a/docs/video/info.md +++ b/docs/video/info.md @@ -225,7 +225,7 @@ | sign_state | num | ? | 作用尚不明确 | | attribute | num | 稿件属性位 | 详情见[属性数据文档](attribute_data.md#attribute字段值(稿件属性位)) | | sections | array | 视频合集中分部列表,名称可由up主自定义,默认为正片 | | -| stat | obj | 视频合集中视频数量 | | +| stat | obj | 视频合集状态数 | | | ep_count | num | 视频合集中视频数量 | | | season_type | num | 作用尚不明确 | | | is_pay_season | bool | 是否为付费合集 | | From d6a08ce9550928cd14fbc3a5891c50a2837a9fd9 Mon Sep 17 00:00:00 2001 From: glyceryl <494192175@qq.com> Date: Tue, 31 Dec 2024 17:48:10 +0800 Subject: [PATCH 10/66] =?UTF-8?q?docs/live/follow=5Fup=5Flive.md:=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=B8=AA=E7=94=A8=E4=BA=8E=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=BC=80=E6=92=AD=E5=88=97=E8=A1=A8=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E7=9A=84=E6=8E=A5=E5=8F=A3=EF=BC=88PC=E7=AB=AF=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/live/follow_up_live.md | 156 ++++++++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) diff --git a/docs/live/follow_up_live.md b/docs/live/follow_up_live.md index 5e88da5..8c7d0a1 100644 --- a/docs/live/follow_up_live.md +++ b/docs/live/follow_up_live.md @@ -158,4 +158,160 @@ curl -G 'https://api.live.bilibili.com/xlive/web-ucenter/user/following' \ ``` + + +## 用户关注的所有UP且正在直播的列表(PC端) + +> https://api.live.bilibili.com/xlive/web-ucenter/v1/xfetter/GetWebList + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|-----|------|----------------------------------|-----|------------------| +| hit_ab | bool | 会影响到json回复中部分字段的值,具体的影响效果会在下表列出。 | 非必要 | 默认为true,不填为false | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------|------------------| +| code | num | 返回值 | 0:成功
1:参数错误 | +| msg | str | 错误信息 | 默认为空 | +| message | str | 错误信息 | 默认为空 | +| data | obj | 信息本体 | | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|------|--------------|--------------------------------------------------------------------| +| rooms | list | 正在直播的房间列表 | 受到url参数hit_ab的影响:
true时能够获取到全部正在开播的直播间列表,
false时只会获取到前10个。 | +| list | list | 正在直播的房间列表 | 疑似与rooms字段的内容相同,并且同样受到url参数hit_ab的影响,受影响的效果同rooms字段。 | +| count | num | 关注列表中正在直播的人数 | 受到url参数hit_ab的影响:hit_ab为true时为0 | +| not_living_num | num | 关注列表中未开播的人数 | 受到url参数hit_ab的影响:hit_ab为false时为0 | + +`rooms`对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|------|--------------|---------------------------------------------------------------| +| title | num | 直播间标题 | | +| room_id | num | 直播间真实id | | +| uid | num | 目标用户mid | | +| online | num | 观看人数 | 受url参数hit_ab的影响,hit_ab为true时为0 | +| live_time | num | 已经直播的时长(单位为秒) | 受url参数hit_ab的影响,hit_ab为true时为0 | +| live_status | num | 开播状态 | 0:未开播
1:直播中
2:轮播中 | +| short_id | num | 直播间短id | 受url参数hit_ab的影响,hit_ab为true时为0 | +| area | num | 分区id | 受url参数hit_ab的影响,hit_ab为true时为0 | +| area_name | str | 分区名称 | | +| area_v2_id | num | 二级分区id | | +| area_v2_name | str | 二级分区名 | | +| area_v2_parent_name | str | 二级父分区名 | | +| area_v2_parent_id | num | 二级父分区id | | +| uname | str | 用户名 | | +| face | str | 用户头像图片链接 | | +| tag_name | str | 标签名 | | +| tags | str | 标签列表 | | +| cover_from_user | str | 直播间封面图片链接 | 受url参数hit_ab的影响,hit_ab为true时为0 | +| keyframe | str | 关键帧图片链接 | 用于网页端悬浮展示。受url参数hit_ab的影响,hit_ab为true时为0 | +| lock_till | str | 未知 | 时间日期格式为:yyyy-MM-dd hh-mm-ss。
受url参数hit_ab的影响,hit_ab为true时为空字符串 | +| hidden_till | str | 未知 | 时间日期格式为:yyyy-MM-dd hh-mm-ss。
受url参数hit_ab的影响,hit_ab为true时为空字符串 | +| broadcast_type | num | 广播类型 | | +| is_encrypt | bool | 直播间是否加密 | | +| link | str | 直播间链接 | 受url参数hit_ab的影响,hit_ab为true时为空字符串 | +| nickname | str | 用户昵称 | 受url参数hit_ab的影响,hit_ab为true时为空字符串 | +| roomname | str | 直播间名称 | 受url参数hit_ab的影响,hit_ab为true时为空字符串 | +| roomid | num | 直播间真实id | 受url参数hit_ab的影响,hit_ab为true时为0 | +| liveTime | num | 开播时间 | 受url参数hit_ab的影响,hit_ab为true时为0 | + +**示例:** + +```shell +curl -G 'https://api.live.bilibili.com/xlive/web-ucenter/v1/xfetter/GetWebList' \ +--header 'Cookie: SESSDATA=xxx' \ +--data-urlencode 'hit_ab=false' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "rooms": [ + { + "title": "虚拟区优质跨年直播展演", + "room_id": 21496316, + "uid": 441666939, + "online": 2308, + "live_time": 17313, + "live_status": 1, + "short_id": 36, + "area": 6, + "area_name": "生活娱乐", + "area_v2_id": 744, + "area_v2_name": "虚拟Singer", + "area_v2_parent_name": "虚拟主播", + "area_v2_parent_id": 9, + "uname": "虚拟区官方频道", + "face": "https://i0.hdslb.com/bfs/face/a26b52bc7837ce6867802575d300ed70d5e6f2d5.jpg", + "tag_name": "", + "tags": "", + "cover_from_user": "https://i0.hdslb.com/bfs/live/new_room_cover/5d7a4526062cf1dc4e88e016638a856c1ac7db03.jpg", + "keyframe": "https://i0.hdslb.com/bfs/live-key-frame/keyframe12311645000021496316pkuk08.jpg", + "lock_till": "0000-00-00 00:00:00", + "hidden_till": "0000-00-00 00:00:00", + "broadcast_type": 0, + "is_encrypt": false, + "link": "https://live.bilibili.com/21496316?broadcast_type=0", + "nickname": "虚拟区官方频道", + "roomname": "虚拟区优质跨年直播展演", + "roomid": 21496316, + "liveTime": 1735617438 + } + ], + "list": [ + { + "title": "虚拟区优质跨年直播展演", + "room_id": 21496316, + "uid": 441666939, + "online": 2308, + "live_time": 17313, + "live_status": 1, + "short_id": 36, + "area": 6, + "area_name": "生活娱乐", + "area_v2_id": 744, + "area_v2_name": "虚拟Singer", + "area_v2_parent_name": "虚拟主播", + "area_v2_parent_id": 9, + "uname": "虚拟区官方频道", + "face": "https://i0.hdslb.com/bfs/face/a26b52bc7837ce6867802575d300ed70d5e6f2d5.jpg", + "tag_name": "", + "tags": "", + "cover_from_user": "https://i0.hdslb.com/bfs/live/new_room_cover/5d7a4526062cf1dc4e88e016638a856c1ac7db03.jpg", + "keyframe": "https://i0.hdslb.com/bfs/live-key-frame/keyframe12311645000021496316pkuk08.jpg", + "lock_till": "0000-00-00 00:00:00", + "hidden_till": "0000-00-00 00:00:00", + "broadcast_type": 0, + "is_encrypt": false, + "link": "https://live.bilibili.com/21496316?broadcast_type=0", + "nickname": "虚拟区官方频道", + "roomname": "虚拟区优质跨年直播展演", + "roomid": 21496316, + "liveTime": 1735617438 + } + ], + "count": 1, + "not_living_num": 0 + } +} +``` +
\ No newline at end of file From 32cd26d6ef00c40831ef06e056f5bcff004687ef Mon Sep 17 00:00:00 2001 From: glyceryl <494192175@qq.com> Date: Thu, 2 Jan 2025 18:10:03 +0800 Subject: [PATCH 11/66] =?UTF-8?q?docs/garb/lottery.md:=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E4=B8=89=E4=B8=AA=E8=A3=85=E6=89=AE=E5=92=8C=E6=94=B6?= =?UTF-8?q?=E8=97=8F=E9=9B=86=E7=9B=B8=E5=85=B3=E7=9A=84=E9=87=8D=E8=A6=81?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/garb/lottery.md | 2005 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 2005 insertions(+) diff --git a/docs/garb/lottery.md b/docs/garb/lottery.md index 861d874..2f53cc9 100644 --- a/docs/garb/lottery.md +++ b/docs/garb/lottery.md @@ -740,3 +740,2008 @@ curl -G --url 'https://api.bilibili.com/x/vas/dlc_act/lottery_home_detail' \ ``` + +## 主题装扮信息API + +> https://api.bilibili.com/x/garb/v2/mall/suit/detail + +*请求方式: GET* + +**URL参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|---------|-----|------|----| ---- | +| buvid | str | 设备唯一标识 | 不必要 | | +| csrf | str | 用户csrf | 不必要 | | +| from | str | 来源页面 | 不必要 | | +| from_id | int | 来源页面id | 不必要 | | +| item_id | int | 装扮id | 必要 | | +| part | str | ?分类 | 不必要 | | + +**JSON回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------|-----------------| +| code | num | 返回值 | `0`:成功
`-400`:错误 | +| message | str | 错误信息 | | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|--------|------------| +| item_id | num | 装扮id | | +| name | str | 装扮名称 | | +| group_id | num | 分组id | | +| group_name | str | 分组名称 | | +| part_id | num | 分类id | | +| state | str | 状态 | | +| properties | obj | 装扮具体属性 | | +| current_activity | str | 当前活动 | | +| next_activity | obj | 下一个活动 | | +| current_sources | str | | **作用尚不明确** | +| finish_sources | str | | **作用尚不明确** | +| sale_left_time | num | | **作用尚不明确** | +| sale_time_end | num | | **作用尚不明确** | +| sale_surplus | num | 商品剩余数量 | | +| sale_count_desc | str | 促销销量说明 | | +| total_count_desc | str | 总销量说明 | | +| tag | str | 标签 | | +| jump_link | str | 跳转链接 | | +| sales_mode | num | 促销模式 | | +| suit_items | obj | 装扮具体内容 | | +| fan_user | obj | 装扮来源用户 | | +| unlock_items | obj | 未解锁装扮 | | +| activity_entrance | obj | 活动入口 | | + +`properties` 对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|----------------|-----------------------------| +| desc | str | 说明 | | +| fan_desc | str | 用户说明 | | +| fan_id | str | 装扮id | 获取到的数据,有时候是数字文本,有时候是普通文本 | +| fan_item_ids | str | 装扮id列表 | | +| fan_mid | str | 用户mid | | +| fan_no_color | str | | **为一串颜色16进制字符串,但作用尚不明确** | +| fan_recommend_desc | str | 用户推荐说明 | | +| fan_recommend_jump_type | str | 跳转类型 | | +| fan_recommend_jump_value | str | 跳转的值 | 一般为该装扮所有者的个人空间链接 | +| fan_share_image | str | | | +| gray_rule | str | | **布尔型转换的字符串,作用尚不明确** | +| gray_rule_type | str | | **作用尚不明确** | +| image_cover | str | 图片封面链接 | | +| image_cover_color | str | 图片封面颜色 | | +| is_hide | str | 是否隐藏 | **布尔型转换的字符串,作用尚不明确** | +| item_id_card | str | 动态卡片id | | +| item_id_emoji | str | 表情包id | | +| item_id_thumbup | str | 动态点赞特效id | | +| open_platform_vip_discount | str | 是否开启平台VIP折扣 | | +| owner_uid | str | 装扮所有者的用户uid | | +| rank_investor_show | str | ?显示投资者排名 | **布尔型转换的字符串,作用尚不明确** | +| realname_auth | str | | **布尔型转换的字符串,作用尚不明确** | +| sale_bp_forever_raw | str | | | +| sale_bp_pm_raw | str | | | +| sale_buy_num_limit | str | 促销限制数量 | | +| sale_quantity | str | 促销质量 | 整数型转换的字符串,"10000"可能表示的是这张图的原画 | +| sale_quantity_limit | str | ?是否限制某些质量装扮的销售 | **布尔型转换的字符串,作用尚不明确** | +| sale_region_ip_limit | str | 促销限制地区 | | +| sale_reserve_switch | str | | **布尔型转换的字符串,作用尚不明确** | +| sale_time_begin | str | 促销开始时间的时间戳 | | +| sale_type | str | 促销类型 | | +| suit_card_type | str | 装扮卡片类型 | | +| type | str | 类型 | **作用尚不明确** | + +`suit_items` 对象(可能不全,会继续补充): + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|--------|------------| +| card | array | 动态卡片 | | +| emoji_package | array | 表情包 | | +| card_bg | array | 专属评论装扮 | | +| thumbup | array | 动态点赞特效 | | +| loading | array | 专属加载动画 | | +| play_icon | array | 专属进度条 | | +| skin | array | 专属个性主题 | | +| space_bg | array | 专属空间海报 | | + +`suit_items` 中每个数组的对象: + +**即上文中所列出的 `suit_items` 中的那些数组对象,对于这些数组,
它们其中的字段基本都是相同的,不同的地方会在后面继续说明。** + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|---------|----------------------| +| item_id | num | 装扮id | | +| name | str | 装扮名称 | | +| state | str | 状态 | | +| tab_id | num | 分栏id | | +| suit_item_id | num | 所属装扮的id | | +| properties | obj | 装扮具体属性 | **不同点主要集中在这个地方,下文将继续说明** | +| current_activity | str | 当前活动 | | +| next_activity | obj | 下一个活动 | | +| current_sources | str | | **作用尚不明确** | +| finish_sources | str | | **作用尚不明确** | +| sale_left_time | str | | **作用尚不明确** | +| sale_time_end | str | | **作用尚不明确** | +| sale_surplus | str | 商品剩余数量 | | +| items | str | 装扮的具体内容 | | + +关于上述提到的 `properties` 对象中的共有字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------|----------------------| +| gray_rule | str | | **布尔型转换的字符串,作用尚不明确** | +| gray_rule_type | str | | **作用尚不明确** | +| realname_auth | str | | **布尔型转换的字符串,作用尚不明确** | +| sale_type | str | 促销类型 | | +| image | str | 图片 | | +| image_preview_small | str | 预览图 | | + +`emoji_package` 数组中的对象中 `properties` 对象中的额外字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|-------|----------------------| +| addable | str | | **布尔型转换的字符串,作用尚不明确** | +| biz | str | | **作用尚不明确** | +| is_symbol | str | | **布尔型转换的字符串,作用尚不明确** | +| permanent | str | 是否永久 | | +| preview | str | | **布尔型转换的字符串,作用尚不明确** | +| recently_used | str | | **布尔型转换的字符串,作用尚不明确** | +| recommend | str | 是否推荐 | | +| ref_mid | str | | | +| removable | str | 是否可移除 | | +| setting_pannel_not_show | str | | **布尔型转换的字符串,作用尚不明确** | +| size | str | 尺寸 | | +| sortable | str | 排序类型 | | + +`loading` 数组中的对象中 `properties` 对象中的额外字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------------|----------------------| +| loading_frame_url | str | 进度条动画的其中一帧 | | +| loading_url | str | 进度条动画 | | + +`play_icon` 数组中的对象中 `properties` 对象中的额外字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|-------------|----------------------| +| drag_left_png | str | 进度条向左拖动时的图片 | | +| drag_right_png | str | 进度条向右拖动时的图片 | | +| middle_png | str | 进度条暂停时的图片 | | +| squared_image | str | 效果图 | | +| static_icon_image | str | 静态图标 | | + +`play_icon` 数组中的对象中 `properties` 对象中的额外字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|---------------------|----------------------| +| head_bg | str | 首页顶部图片 | | +| head_myself_mp4_play | str | 个人空间顶部视频动画的播放类型 | | +| head_myself_squared_bg | str | 个人空间顶部图片 | | +| head_tab_bg | str | 首页顶部标签栏背景图 | | +| image_cover | str | 封面图 | | +| package_md5 | str | 装扮图包的md5值 | | +| package_url | str | 装扮图包的压缩包链接 | | +| skin_mode | str | 皮肤模式 | | +| tail_bg | str | 首页底部图片 | | +| tail_color | str | 首页底部颜色 | | +| tail_color_selected | str | 首页底部被选中时的颜色 | | +| tail_icon_ani | str | 首页底部是否播放动画 | | +| tail_icon_ani_mode | str | 首页底部动画的播放类型 | | +| tail_icon_channel | str | 首页底部“动态”按钮图片 | | +| tail_icon_dynamic | str | 首页底部“发布动态”按钮图片 | | +| tail_icon_main | str | 首页底部“首页”按钮图片 | | +| tail_icon_mode | str | 首页底部图标模式 | | +| tail_icon_myself | str | 首页底部“我的”按钮图片 | | +| tail_icon_pub_btn_bg | str | 首页底部“发布动态”按钮图片 | | +| tail_icon_selected_channel | str | 首页底部“动态”按钮被选中时的图片 | | +| tail_icon_selected_dynamic | str | 首页底部“发布动态”按钮被选中时的图片 | | +| tail_icon_selected_main | str | 首页底部“首页”按钮被选中时的图片 | | +| tail_icon_selected_myself | str | 首页底部“我的”按钮被选中时的图片 | | +| tail_icon_selected_pub_btn_bg | str | 首页底部“发布动态”按钮被选中时的图片 | | +| tail_icon_selected_shop | str | 首页底部“会员购”按钮被选中时的图片 | | +| tail_icon_shop | str | 首页底部“会员购”按钮图片 | | + +`space_bg` 数组中的对象中 `properties` 对象中的额外字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|-------------|----------------------| +| image1_landscape | str | 第一张空间海报 | | +| image1_portrait | str | 第一张空间海报(纵向) | | + +**如果是第二张图,则是`image2_xxx`,以此类推。** + +**示例:** + +```shell +curl -G 'https://api.bilibili.com/x/garb/v2/mall/suit/detail' \ + --data-urlencode 'buvid=xxx(非必须)' \ + --data-urlencode 'csrf=xxx(非必须)' \ + --data-urlencode 'item_id=42193' \ + --data-urlencode 'part=suit(非必须)' +``` + +
+查看响应示例: + +```json +{ + "code":0, + "message":"0", + "ttl":1, + "data":{ + "item_id":42193, + "name":"装扮小姐姐·梦幻冬季", + "group_id":69, + "group_name":"装扮小姐姐·梦幻冬季", + "part_id":6, + "state":"active", + "properties":{ + "desc":"扮扮糖集合啦!装扮小姐姐邀你共度梦幻冬季~", + "fan_desc":"装扮小姐姐·梦幻冬季", + "fan_id":"装扮小姐姐·梦幻冬季", + "fan_item_ids":"42190,42124,42192,42191,42188,42189", + "fan_mid":"647193094", + "fan_no_color":"#3e52eb", + "fan_recommend_desc":"扮扮糖集合啦!装扮小姐姐邀你共度梦幻冬季~", + "fan_recommend_jump_type":"url", + "fan_recommend_jump_value":"https://space.bilibili.com/647193094?spm_id_from=333.337.0.0", + "fan_share_image":"https://i0.hdslb.com/bfs/garb/item/f9ad456fb74fc58896743eb393664e3c7622de0c.jpg", + "gray_rule":"true", + "gray_rule_type":"all", + "image_cover":"https://i0.hdslb.com/bfs/garb/item/14072c2cb4f82c053d85dc92911da37583a17668.jpg", + "image_cover_color":"#dcf0f9", + "is_hide":"false", + "item_id_card":"42123", + "item_id_emoji":"42157", + "item_id_thumbup":"42125", + "open_platform_vip_discount":"true", + "owner_uid":"647193094", + "rank_investor_show":"false", + "realname_auth":"false", + "sale_bp_forever_raw":"5500", + "sale_bp_pm_raw":"800", + "sale_buy_num_limit":"100", + "sale_quantity":"10000", + "sale_quantity_limit":"true", + "sale_region_ip_limit":"全球", + "sale_reserve_switch":"false", + "sale_time_begin":"1670410800", + "sale_type":"pay", + "suit_card_type":"big_img", + "type":"ip" + }, + "current_activity":null, + "next_activity":{ + "type":"open_platform_vip_discount", + "time_limit":true, + "time_left":410175990, + "tag":"大会员平台折扣", + "price_bp_month":640, + "price_bp_forever":4400, + "type_month":"open_platform_vip_discount", + "tag_month":"大会员平台折扣", + "time_limit_month":true, + "time_left_month":410175990 + }, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-65301210, + "sale_time_end":-1735712010, + "sale_surplus":0, + "sale_count_desc":"1万+", + "total_count_desc":"", + "tag":"粉丝套装已售罄", + "jump_link":"", + "sales_mode":0, + "suit_items":{ + "card":[ + { + "item_id":42124, + "name":"装扮小姐姐梦幻冬季粉丝", + "state":"active", + "tab_id":35, + "suit_item_id":42193, + "properties":{ + "gray_rule":"true", + "gray_rule_type":"all", + "hot":"false", + "image":"https://i0.hdslb.com/bfs/garb/item/3bebd46d5ac6eaa1d6c3f65854b184932fb6230b.png", + "image_preview_small":"https://i0.hdslb.com/bfs/garb/item/611fc0d3401623977f580f592747d721de330fc6.png", + "realname_auth":"false", + "sale_type":"other" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + }, + { + "item_id":42123, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":35, + "suit_item_id":42193, + "properties":{ + "gray_rule":"true", + "gray_rule_type":"all", + "hot":"false", + "image":"https://i0.hdslb.com/bfs/garb/item/757320776561f6bf881b3c50bd59fc937cea3387.png", + "realname_auth":"false", + "sale_type":"other" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "card_bg":[ + { + "item_id":42189, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":44, + "suit_item_id":42193, + "properties":{ + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/38cbcb481923f6a3d7e724a3837324a8ab0f602e.png", + "image_preview_small":"https://i0.hdslb.com/bfs/garb/item/c9621eedabdc728d728158aafab2e271f152561e.png", + "realname_auth":"false", + "sale_type":"suit" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "emoji_package":[ + { + "item_id":42157, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":8, + "suit_item_id":42193, + "properties":{ + "addable":"true", + "biz":"dynamic,reply,watch_full", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/0dd53dc27d401cad0a3bfc07d91dba3af3a5d6d0.png", + "is_symbol":"false", + "item_ids":"42158,42159,42160,42161,42162,42163,42164,42165,42166,42167,42168,42169,42170,42171,42172,42173,42174,42175,42176,42177,42178,42179,42180,42181,42182,42183,42184,42185,42186,42187", + "permanent":"false", + "preview":"false", + "realname_auth":"false", + "recently_used":"false", + "recommend":"false", + "ref_mid":"0", + "removable":"true", + "sale_type":"pay", + "setting_pannel_not_show":"false", + "size":"L", + "sortable":"true" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":[ + { + "item_id":42158, + "name":"[装扮小姐姐梦幻冬季_揉脸]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/e47ad8b1c16ebaa780e0574f360c67f4c45e6325.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42159, + "name":"[装扮小姐姐梦幻冬季_啾咪]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/098619d6f2859966157dc0da4d3a24ae7a690781.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42160, + "name":"[装扮小姐姐梦幻冬季_下雪了]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/08a64a396b710f8670096c5f380f2839f973d218.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42161, + "name":"[装扮小姐姐梦幻冬季_圣诞老人]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/e86122e145000e00362d635c6ebe8ac4260de7f6.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42162, + "name":"[装扮小姐姐梦幻冬季_多喝热水]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/59fb78d3801682c94b126abc0fc1f1b7603dee06.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42163, + "name":"[装扮小姐姐梦幻冬季_扔]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/d762bb454bb2f4fc3827167749b3d61597657b3b.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42164, + "name":"[装扮小姐姐梦幻冬季_生气]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/47fc00a0f13ebd61237c4617a1e5485d0647e7f5.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42165, + "name":"[装扮小姐姐梦幻冬季_贴贴]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/3a7580978ee11f033860af2435bcef6fa282ee64.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42166, + "name":"[装扮小姐姐梦幻冬季_没米了]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/55b3660d73951fb394c6f0594c9fdbeca4f39bea.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42167, + "name":"[装扮小姐姐梦幻冬季_冲鸭]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/cb7c2fbc6ab19d3462d44cabf10b87458650bf28.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42168, + "name":"[装扮小姐姐梦幻冬季_累了]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/884f721618392a0efe6686c2c61fddf04c6f2d73.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42169, + "name":"[装扮小姐姐梦幻冬季_斯密马赛]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/1bbe9b564ee17701a22e848287a5f7983fdfcb34.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42170, + "name":"[装扮小姐姐梦幻冬季_告辞]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/264c9ab6a2503013e79eecdb86118f057762bae5.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42171, + "name":"[装扮小姐姐梦幻冬季_吃我一拳]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/2f7b233826fa0d0729619bbf3dc2220b4c534b3f.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42172, + "name":"[装扮小姐姐梦幻冬季_乌拉]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/23dca67aed7565a4f3e21d8d9d5337125b34d399.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42173, + "name":"[装扮小姐姐梦幻冬季_委屈]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/cec0b3ade7249740cee45f98100275fa7cf7320a.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42174, + "name":"[装扮小姐姐梦幻冬季_溜冰]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/3704984c68c867820103795c4b5313fea0c097e9.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42175, + "name":"[装扮小姐姐梦幻冬季_好耶]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/621d4683d492901c814c64ca3c7bb880ae818779.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42176, + "name":"[装扮小姐姐梦幻冬季_硬撑罢了]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/b4d10356d0ac483b29c875518e0c539809468ba9.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42177, + "name":"[装扮小姐姐梦幻冬季_摸鱼]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/da7205f6a8e7213cca2a06e71c819850cae28977.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42178, + "name":"[装扮小姐姐梦幻冬季_注意保暖]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/170df6f81c3f42defbc07192d19de02525b14348.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42179, + "name":"[装扮小姐姐梦幻冬季_抽我]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/45541e4471e57e59b4aa6b7bcc43e800e3cbde85.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42180, + "name":"[装扮小姐姐梦幻冬季_疑问]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/0d07fd66d3888ea55aa98fa8d520a6e759596e2b.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42181, + "name":"[装扮小姐姐梦幻冬季_抱抱]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/44481b886560e9e1300781ad8a1a4d1dfbbfd6fe.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42182, + "name":"[装扮小姐姐梦幻冬季_烤红薯]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/828555bbfa4dd8cadb9fdfa5868d3101c637945b.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42183, + "name":"[装扮小姐姐梦幻冬季_Power!]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/e4744b70edd5a271dcb6f1b1c62fa32dfa92c9fb.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42184, + "name":"[装扮小姐姐梦幻冬季_堆雪人]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/9407cb861173253f1a1206e3bda7497aebfd98ec.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42185, + "name":"[装扮小姐姐梦幻冬季_好的]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/d73bccf93a20c6eedeb81d975eba99ebc048a88e.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42186, + "name":"[装扮小姐姐梦幻冬季_滑雪]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/36af70fea3fc1636de990597c1a929fecba412db.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42187, + "name":"[装扮小姐姐梦幻冬季_吃火锅]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/bc234259d7971bd6255f9c464597285582e7ff82.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + } + ] + } + ], + "loading":[ + { + "item_id":42191, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":54, + "suit_item_id":42193, + "properties":{ + "gray_rule":"true", + "gray_rule_type":"all", + "image_preview_small":"https://i0.hdslb.com/bfs/garb/item/32377c9cb1167e1e251c467f6a56ca2b59f130b0.png", + "loading_frame_url":"https://i0.hdslb.com/bfs/garb/item/f2121039298817318e9a10ef25cd802ef7a546f0.png", + "loading_url":"https://i0.hdslb.com/bfs/garb/item/e5ba77a4c2d21809e5f2e407e7bf03a7df635a2c.webp", + "realname_auth":"false", + "ver":"1670384406" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "play_icon":[ + { + "item_id":42192, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":56, + "suit_item_id":42193, + "properties":{ + "drag_left_png":"https://i0.hdslb.com/bfs/garb/item/933cdf41a554ce65b2bac7cc2af578c065a01ff8.png", + "drag_right_png":"https://i0.hdslb.com/bfs/garb/item/1632ab1d853694d61fe170710b447f6bd9c9152b.png", + "gray_rule":"true", + "gray_rule_type":"all", + "middle_png":"https://i0.hdslb.com/bfs/garb/item/4e1eaa52e65da8e14bce321e7abab9e9a3a28b30.png", + "realname_auth":"false", + "squared_image":"https://i0.hdslb.com/bfs/garb/item/ca4d76d7e8384b18354709ac7e3a422a900f7e07.png", + "static_icon_image":"https://i0.hdslb.com/bfs/garb/item/a98ffc9a8871ded890959c22916f38aba61521fc.png", + "ver":"1670384416" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "skin":[ + { + "item_id":42190, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":45, + "suit_item_id":42193, + "properties":{ + "color":"#ffffff", + "color_mode":"dark", + "color_second_page":"#5d85c0", + "gray_rule":"true", + "gray_rule_type":"all", + "head_bg":"https://i0.hdslb.com/bfs/garb/item/6c74dac067a429029befc787572b5b7bc83f50a1.jpg", + "head_myself_mp4_play":"once", + "head_myself_squared_bg":"https://i0.hdslb.com/bfs/garb/item/8cff6c83023c9523669e89fc28e1cd7600f196ff.jpg", + "head_tab_bg":"https://i0.hdslb.com/bfs/garb/item/1fe3d1b486ab50d6ffdf30b29bc063818ecde544.jpg", + "image_cover":"https://i0.hdslb.com/bfs/garb/item/14072c2cb4f82c053d85dc92911da37583a17668.jpg", + "image_preview":"https://i0.hdslb.com/bfs/garb/item/14072c2cb4f82c053d85dc92911da37583a17668.jpg", + "package_md5":"4ed60db32789eb79c3e96dc8d6a23ebb", + "package_url":"https://i0.hdslb.com/bfs/garb/zip/b3c95365b791bc58fd56bba7c14b43377d7af82d.zip", + "realname_auth":"false", + "skin_mode":"normal", + "tail_bg":"https://i0.hdslb.com/bfs/garb/item/fda401903a377d79afd576f9ba921c83091e6943.png", + "tail_color":"#f6f1fd", + "tail_color_selected":"#5af1ff", + "tail_icon_ani":"true", + "tail_icon_ani_mode":"once", + "tail_icon_channel":"https://i0.hdslb.com/bfs/garb/item/504a27e5227f30741e35b5817079974335f13d29.png", + "tail_icon_dynamic":"https://i0.hdslb.com/bfs/garb/item/4e0ef0c9540277694087f0aca8aca86b87dc9331.png", + "tail_icon_main":"https://i0.hdslb.com/bfs/garb/item/2a1a97c098bf0d2374a141d8da7fad1e0d1cee24.png", + "tail_icon_mode":"img", + "tail_icon_myself":"https://i0.hdslb.com/bfs/garb/item/20050ddbc0265828e42f068b74b8f5d947f8b7b8.png", + "tail_icon_pub_btn_bg":"https://i0.hdslb.com/bfs/garb/item/4e0ef0c9540277694087f0aca8aca86b87dc9331.png", + "tail_icon_selected_channel":"https://i0.hdslb.com/bfs/garb/item/d14d87016fa2e995917f40148239bc1fa5961ec5.png", + "tail_icon_selected_dynamic":"https://i0.hdslb.com/bfs/garb/item/1b0fb973534600990ad48058eff901643fe7e9fc.png", + "tail_icon_selected_main":"https://i0.hdslb.com/bfs/garb/item/ce1272d036f196ea90e08a433d0003246822aabf.png", + "tail_icon_selected_myself":"https://i0.hdslb.com/bfs/garb/item/a7bbb67de4f22c105529e57b2a1b27737fb6d9df.png", + "tail_icon_selected_pub_btn_bg":"https://i0.hdslb.com/bfs/garb/item/1b0fb973534600990ad48058eff901643fe7e9fc.png", + "tail_icon_selected_shop":"https://i0.hdslb.com/bfs/garb/item/e1622e9643b6ec2186e9f88ee6251334a842e3d0.png", + "tail_icon_shop":"https://i0.hdslb.com/bfs/garb/item/a2eaa41ae4aba160b8b8a9cdc7bc98fd47f2720d.png", + "ver":"1670384396" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "space_bg":[ + { + "item_id":42188, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":37, + "suit_item_id":42193, + "properties":{ + "fan_no_color":"#3e52eb", + "fan_no_image":"https://i0.hdslb.com/bfs/garb/item/d4888365d80401c72fc34bcc1697c36eb2477a97.png", + "gray_rule":"true", + "gray_rule_type":"all", + "image1_landscape":"https://i0.hdslb.com/bfs/garb/item/971519888f96d2e3cd88e55cb2360ac087f1dde7.png", + "image1_portrait":"https://i0.hdslb.com/bfs/garb/item/78fb9e4a63a17854c7df1e3b1f5f9f48df723e2c.jpg", + "image2_landscape":"https://i0.hdslb.com/bfs/garb/item/90a99f2615ba34596b05cd2a268490cf0072f1e7.png", + "image2_portrait":"https://i0.hdslb.com/bfs/garb/item/11d1a96097ebe357c47277f6c0397a0323c316a5.jpg", + "image3_landscape":"https://i0.hdslb.com/bfs/garb/item/3d2e029d2f6d8c3a425377af5be47a4c8bf2d102.jpg", + "image3_portrait":"https://i0.hdslb.com/bfs/garb/item/3d1495d80211c07ab6773f7aa1d6cb198940907d.jpg", + "realname_auth":"false" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "thumbup":[ + { + "item_id":42125, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":36, + "suit_item_id":42193, + "properties":{ + "gray_rule":"true", + "gray_rule_type":"all", + "image_ani":"https://i0.hdslb.com/bfs/garb/item/6a2ae0534879d765087c284c745b3e88340a7371.bin", + "image_ani_cut":"https://i0.hdslb.com/bfs/garb/item/6a2ae0534879d765087c284c745b3e88340a7371.bin", + "image_preview":"https://i0.hdslb.com/bfs/garb/item/0cbe14efc8d5397bb6edbd4adae5dcf0ce307c15.png", + "realname_auth":"false" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ] + }, + "fan_user":{ + "mid":647193094, + "nickname":"装扮小姐姐", + "avatar":"https://i1.hdslb.com/bfs/baselabs/523830e526a81001e4c3dcec9f317623a4f1dd2e.png" + }, + "unlock_items":null, + "activity_entrance":{ + "id":0, + "item_id":0, + "title":"", + "image_cover":"", + "jump_link":"" + } + } +} +``` + +
+ +## 主题装扮列表API + +> https://api.bilibili.com/x/garb/v2/mall/partition/item/list + +*请求方式: GET* + +**URL参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|----------|-----|---------|-----|---------------------------------------------------------------------------| +| csrf | str | 用户csrf | 非必要 | | +| group_id | num | 分组id | 非必要 | 建议加上,不填的时候为0,一般配合`part_id`使用。
`0`: 装扮
`22`: 头像挂件
`5`: 动态卡片 | +| location | str | | 非必要 | **尚不明确** | +| part_id | num | 分类id | 必要 | 一般配合`group_id`使用。
`6`: 装扮
`1`: 头像挂件
`2`: 动态卡片
| +| pn | num | 页码 | 非必要 | 不填为1 | +| ps | num | 每页的数据数量 | 非必要 | 不填为20,默认值和最大值也都为20 | +| sort_type | num | 排序方式 | 非必要 | `0`: 默认排序
`1`: 按销量排序
`2`: 按最新上架时间排序 | +| user_info | str | 用户信息 | 非必要 | 为json对象,其中包含`buvid`和`buvid3`两个字段。 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------|-----------------------| +| code | num | 返回值 | `0`:成功
`-400`:错误 | +| message | str | 错误信息 | | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +|------|-------|------|--------------| +| page | obj | 分页信息 | 包含装扮总数、页码和每页的数据数量 | +| list | array | 装扮列表 | | +| offset_info | str | 补偿信息 | **作用尚不明确** | +| group | str | 分组 | **作用尚不明确** | + +`list`对象: + +| 字段 | 类型 | 内容 | 备注 | +|--------------|-----|-----|---------------| +| item_id | num | 装扮id | 如果为0,则该装扮为收藏集 | +| name | str | 装扮名称 | | +| group_id | num | 分组id | | +| group_name | str | 分组名称 | | +| part_id | num | 分类id | | +| state | str | 状态 | | +| properties | obj | 装扮具体属性 | | +| current_activity | str | 当前活动 | | +| next_activity | obj | 下一个活动 | | +| current_sources | str | | **作用尚不明确** | +| finish_sources | str | | **作用尚不明确** | +| sale_left_time | num | | **作用尚不明确** | +| sale_time_end | num | | **作用尚不明确** | +| sale_surplus | num | 商品剩余数量 | | +| sale_count_desc | str | 促销销量说明 | | +| total_count_desc | str | 总销量说明 | | +| tag | str | 标签 | | +| jump_link | str | 跳转链接 | | +| sales_mode | num | 促销模式 | | + +**示例:** + +```shell +curl -G 'https://api.bilibili.com/x/garb/v2/mall/partition/item/list' \ + --data-urlencode 'group_id=0' \ + --data-urlencode 'part_id=6' \ + --data-urlencode 'pn=1' \ + --data-urlencode 'ps=20' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "page": { + "total": 0, + "pn": 1, + "ps": 10 + }, + "list": [ + { + "item_id": 0, + "name": "MyGO!!!!!收藏集", + "group_id": 47, + "group_name": "MyGO!!!!!收藏集", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "59811", + "dlc_act_id": "102857", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "102858", + "dlc_lottery_sale_quantity": "1418368", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/c34fdba0b2a2aa31ff22bda77e217ca9c7e37344.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "100万+", + "total_count_desc": "已售100万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=102857&hybrid_set_header=2&lottery_id=102858", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "饿殍:明末千里行", + "group_id": 49, + "group_name": "饿殍:明末千里行", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "21825", + "dlc_act_id": "102794", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "102886", + "dlc_lottery_sale_quantity": "520677", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/838639725c0c37f6ccc5e85b2a1ed6ff895baca2.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "52万+", + "total_count_desc": "已售52万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=102794&hybrid_set_header=2&lottery_id=102886", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "2024拜年纪", + "group_id": 70, + "group_name": "2024拜年纪", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "30103", + "dlc_act_id": "279", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "256", + "dlc_lottery_sale_quantity": "332544", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "http://i0.hdslb.com/bfs/archive/f96a8cf6866ccef8f54de4773acf0cb07b915ac6.png", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "33万+", + "total_count_desc": "已售33万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=279&hybrid_set_header=2&lottery_id=256", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "2233·十五周年站庆", + "group_id": 70, + "group_name": "2233·十五周年站庆", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "38339", + "dlc_act_id": "293", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "302", + "dlc_lottery_sale_quantity": "63336", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "http://i0.hdslb.com/bfs/archive/633174e11f3587166e31b37cc87feb184808408d.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "6万+", + "total_count_desc": "已售6万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=293&hybrid_set_header=2&lottery_id=302", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "奈姬niki收藏集", + "group_id": 47, + "group_name": "奈姬niki收藏集", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "24158", + "dlc_act_id": "104783", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "104784", + "dlc_lottery_sale_quantity": "120787", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/6a2395d9be428ac09766deafbd8ead49503216ea.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "12万+", + "total_count_desc": "已售12万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=104783&hybrid_set_header=2&lottery_id=104784", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "黎歌Neeko收藏集-幻夏恋歌", + "group_id": 47, + "group_name": "黎歌Neeko收藏集-幻夏恋歌", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "22125", + "dlc_act_id": "100858", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "102305", + "dlc_lottery_sale_quantity": "528139", + "dlc_lottery_type": "2", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/ff57aba427ce4dd3608660233ba1d3ec518ff6aa.png", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "52万+", + "total_count_desc": "已售52万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=100858&hybrid_set_header=2&lottery_id=102305", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "2024明日方舟音律联觉", + "group_id": 49, + "group_name": "2024明日方舟音律联觉", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "59594", + "dlc_act_id": "102942", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "102943", + "dlc_lottery_sale_quantity": "1126215", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/c59397dff6e6618058b7d943aa9614b0d74a9c17.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "100万+", + "total_count_desc": "已售100万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=102942&hybrid_set_header=2&lottery_id=102943", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "BLG·2023LPL出征收藏集", + "group_id": 49, + "group_name": "BLG·2023LPL出征收藏集", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "18878", + "dlc_act_id": "228", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "157", + "dlc_lottery_sale_quantity": "14537", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "http://i0.hdslb.com/bfs/archive/dc0af06ae0e5018cc24ecab1be76742ff1ad9fc2.png", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "1万+", + "total_count_desc": "已售1万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=228&hybrid_set_header=2&lottery_id=157", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "幻星乐园", + "group_id": 107, + "group_name": "幻星乐园", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "22563", + "dlc_act_id": "103874", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "103875", + "dlc_lottery_sale_quantity": "319104", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/0f8eb52dfb0d3c7f89fb4d33749e4bf62544112e.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "31万+", + "total_count_desc": "已售31万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=103874&hybrid_set_header=2&lottery_id=103875", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "玉之けだま_毛玉收藏集", + "group_id": 46, + "group_name": "玉之けだま_毛玉收藏集", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "30723", + "dlc_act_id": "104459", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "104460", + "dlc_lottery_sale_quantity": "267724", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/565bf9465865efdd28b07c40f8352e43091ff4da.png", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "26万+", + "total_count_desc": "已售26万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=104459&hybrid_set_header=2&lottery_id=104460", + "sales_mode": 0 + } + ], + "offset_info": "pool::10", + "group": "garb_feed_recommend_rule_ab_key:1" + } +} +``` + +
+ +## 收藏集列表API + +> https://api.bilibili.com/x/vas/dlc_act/act/list + +*请求方式: GET* + +**URL参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|-------|------|--------|-----|---------------------------| +| csrf | str | 用户csrf | 非必要 | | +| scene | num | | 非必要 | **作用尚不明确,默认为1,不填则获取到空数据** | +| site | site | 位置 | 非必要 | 不填为20,但建议填上,会影响到后面的json数据 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|------|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------| +| code | num | 返回值 | `0`:成功 | +| message | str | 错误信息 | | +| ttl | num | 1 | | +| data | obj | 信息本体 | | +| is_more | bool | 是否还有足够的收藏集 | 如果为true,则说明如果继续增加url参数中site的值,都还能从当前的位置往后列出20份收藏集;
如果为false,则说明如果继续增加url参数中site的值,将无法继续从当前位置列出20份收藏集(最多也是20份),
这表示页面已经拉到底了,可用于判断是否已经获取完了所有收藏集的数据。 | +| site | num | 位置 | **它的值为url参数中site的值的基础上再加20**,比如url参数中的site值为0,则此site的值为20,
表示这页的收藏集列表是从序号为0的收藏集开始列出,直到列出往后的20份。 | + +`data` 对象中的 `list` 数组对象: + +| 字段 | 类型 | 内容 | 备注 | +|--------------|-----|---------|---------------| +| act_id | num | 收藏集id | | +| act_name | num | 收藏集名称 | | +| act_pic | num | 收藏集封面图片 | | +| sale_price | num | 收藏集价格 | 以0.01B币为单位 | +| act_desc | num | 收藏集说明 | | +| tag | num | 标签 | | +| lottery_id | num | 抽奖id | | +| lottery_type | num | 抽奖类型 | | +| act_link | num | 收藏集链接 | | + +**示例:** + +```shell +curl -G 'https://api.bilibili.com/x/vas/dlc_act/act/list' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'scene=1' \ + --data-urlencode 'site=0' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "act_id": 105432, + "act_name": "挚友的旅途·羽毛收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/b6a7314b6ad321b638c3d2270903c02c0d2d7b20.png", + "sale_price": 9900, + "act_desc": "已售份数6千+", + "tag": "新奖励", + "lottery_id": 105433, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105432&hybrid_set_header=2&lottery_id=105433" + }, + { + "act_id": 102054, + "act_name": "兰音的衣柜奇缘-兰音·拾光幻梦", + "act_pic": "https://i0.hdslb.com/bfs/garb/b7e5465ff80a3260cdc1c1255853730bfc6bd818.jpg", + "sale_price": 9900, + "act_desc": "已售份数3万+", + "tag": "新卡池", + "lottery_id": 105434, + "lottery_type": 2, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=102054&hybrid_set_header=2&lottery_id=105434" + }, + { + "act_id": 102550, + "act_name": "洛天依·收藏集-戏游九州", + "act_pic": "https://i0.hdslb.com/bfs/garb/74706a52bc08764828f9251439055b18646e98b3.png", + "sale_price": 9900, + "act_desc": "已售份数6万+", + "tag": "新奖励", + "lottery_id": 105269, + "lottery_type": 2, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=102550&hybrid_set_header=2&lottery_id=105269" + }, + { + "act_id": 105006, + "act_name": "村村宇宙·小猫女仆降临", + "act_pic": "https://i0.hdslb.com/bfs/garb/cfccce3c1520b828f02d7b4e009cc7d965133025.jpg", + "sale_price": 9900, + "act_desc": "已售份数1万+", + "tag": "新奖励", + "lottery_id": 105167, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105006&hybrid_set_header=2&lottery_id=105167" + }, + { + "act_id": 105435, + "act_name": "东方收藏集·浮生若梦", + "act_pic": "https://i0.hdslb.com/bfs/garb/27156281f59f774198f38b9a4a64d9a74efb9290.png", + "sale_price": 9900, + "act_desc": "已售份数6万+", + "tag": "新奖励", + "lottery_id": 105438, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105435&hybrid_set_header=2&lottery_id=105438" + }, + { + "act_id": 105407, + "act_name": "紫罗兰永恒花园收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/9e54ae06dfd32625071153adc702eb7554b45af8.jpg", + "sale_price": 9900, + "act_desc": "已售份数1万+", + "tag": "新奖励", + "lottery_id": 105408, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105407&hybrid_set_header=2&lottery_id=105408" + }, + { + "act_id": 105461, + "act_name": "Team Spirit 冠军收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/0a68dac1e2d37767c26930ad4d3121e2b7c56c44.jpg", + "sale_price": 9900, + "act_desc": "已售份数9千+", + "tag": "新奖励", + "lottery_id": 105462, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105461&hybrid_set_header=2&lottery_id=105462" + }, + { + "act_id": 105326, + "act_name": "小神奈殿下收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/ed3b6e516ef05cf595cf9d24203e16205eea55e5.png", + "sale_price": 9900, + "act_desc": "已售份数1万+", + "tag": "新奖励", + "lottery_id": 105327, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105326&hybrid_set_header=2&lottery_id=105327" + }, + { + "act_id": 105444, + "act_name": "yumekiii收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/afc2dd57c962244d8021b92752038714b7b3341e.png", + "sale_price": 9900, + "act_desc": "已售份数3千+", + "tag": "新奖励", + "lottery_id": 105445, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105444&hybrid_set_header=2&lottery_id=105445" + }, + { + "act_id": 101545, + "act_name": "Sheya收藏集-月食梦-镜海之梦", + "act_pic": "https://i0.hdslb.com/bfs/garb/262e59d60698d6797488f081826e172e6689c339.jpg", + "sale_price": 9900, + "act_desc": "已售份数3千+", + "tag": "新卡池", + "lottery_id": 105451, + "lottery_type": 2, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=101545&hybrid_set_header=2&lottery_id=105451" + }, + { + "act_id": 105388, + "act_name": "LOOPY可爱计划", + "act_pic": "https://i0.hdslb.com/bfs/garb/f24711f2f35cb9db7919bb888af3fe23f5c588ad.jpg", + "sale_price": 9900, + "act_desc": "", + "tag": "限时卡池", + "lottery_id": 105411, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105388&hybrid_set_header=2&lottery_id=105411" + }, + { + "act_id": 105413, + "act_name": "范式起源", + "act_pic": "https://i0.hdslb.com/bfs/garb/784d6073f5cc3110117449da018845443b9c484d.png", + "sale_price": 9900, + "act_desc": "已售份数1万+", + "tag": "", + "lottery_id": 105414, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105413&hybrid_set_header=2&lottery_id=105414" + }, + { + "act_id": 105409, + "act_name": "VirtuaReal碧波澜影", + "act_pic": "https://i0.hdslb.com/bfs/garb/63f57f0014e47d1302005a5c6ab0164e925c69ef.png", + "sale_price": 9900, + "act_desc": "已售份数3万+", + "tag": "", + "lottery_id": 105410, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105409&hybrid_set_header=2&lottery_id=105410" + }, + { + "act_id": 101388, + "act_name": "寺田堤拉 TERADA TERA-白橙绘锦", + "act_pic": "https://i0.hdslb.com/bfs/garb/8ec594c0a11706846f5394eaac78fd97065000b1.png", + "sale_price": 9900, + "act_desc": "已售份数5千+", + "tag": "", + "lottery_id": 104985, + "lottery_type": 2, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=101388&hybrid_set_header=2&lottery_id=104985" + }, + { + "act_id": 104978, + "act_name": "少女乐队的呐喊", + "act_pic": "https://i0.hdslb.com/bfs/garb/cdf0c00bd070ee77951e695355b3394be53b8288.jpg", + "sale_price": 9900, + "act_desc": "已售份数39万+", + "tag": "", + "lottery_id": 105056, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=104978&hybrid_set_header=2&lottery_id=105056" + }, + { + "act_id": 104174, + "act_name": "顾晓Khaos收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/52152a236bcd4e2829012eb8cc32d1e2f24490c9.png", + "sale_price": 9900, + "act_desc": "已售份数8千+", + "tag": "", + "lottery_id": 104181, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=104174&hybrid_set_header=2&lottery_id=104181" + }, + { + "act_id": 105151, + "act_name": "晴云-醒时晴空", + "act_pic": "https://i0.hdslb.com/bfs/garb/1320dd55c13a11dfc7c714a75b56159d73c2feae.jpg", + "sale_price": 9900, + "act_desc": "已售份数3千+", + "tag": "", + "lottery_id": 105168, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105151&hybrid_set_header=2&lottery_id=105168" + }, + { + "act_id": 103966, + "act_name": "礼拜六Liu收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/9c5b03a79074b1354ee4277d77c108441ac8ff35.jpg", + "sale_price": 9900, + "act_desc": "已售份数1万+", + "tag": "", + "lottery_id": 103967, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=103966&hybrid_set_header=2&lottery_id=103967" + } + ], + "is_more": true, + "site": 20 + } +} +``` + +
\ No newline at end of file From 7c1d182b300488593751bf02a46f0ec8df86c1e0 Mon Sep 17 00:00:00 2001 From: glyceryl <494192175@qq.com> Date: Thu, 2 Jan 2025 18:32:59 +0800 Subject: [PATCH 12/66] =?UTF-8?q?docs/garb/lottery.md:=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E4=B8=89=E4=B8=AA=E8=A3=85=E6=89=AE=E5=92=8C=E6=94=B6?= =?UTF-8?q?=E8=97=8F=E9=9B=86=E7=9B=B8=E5=85=B3=E7=9A=84=E9=87=8D=E8=A6=81?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/garb/lottery.md | 2881 +++++++++++++++++++++++++++++++++++------- 1 file changed, 2443 insertions(+), 438 deletions(-) diff --git a/docs/garb/lottery.md b/docs/garb/lottery.md index 861d874..609066b 100644 --- a/docs/garb/lottery.md +++ b/docs/garb/lottery.md @@ -150,15 +150,15 @@ curl -G 'https://api.bilibili.com/x/garb/v2/mall/home/search' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": null, - "pn": 1, - "ps": 20, - "total": 0 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": null, + "pn": 1, + "ps": 20, + "total": 0 + } } ``` @@ -306,437 +306,2442 @@ curl -G --url 'https://api.bilibili.com/x/vas/dlc_act/lottery_home_detail' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "lottery_id": 15, - "name": "夏日萌菜", - "item_list": [ - { - "item_type": 1, - "card_info": { - "card_type_id": 700903, - "card_name": "水中嬉戏·隐藏", - "card_img": "https://i0.hdslb.com/bfs/baselabs/d41acfc3bfcc9032a9759fbd9e64147a6d9a24b0.png", - "card_type": 2, - "video_list": [ - "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/2b/y2/_000008vnv2ddoooah248hqoyz2gy22b-1-152111110023.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=d22ca6102adb9ffe257f702047be6ef2&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=753ff946c9e4b3813eb72c744ed3a399ba9a225fe4767a7a03835890fcbe4b8a&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" - ], - "is_physical_orientation": 0, - "card_scarcity": 40, - "is_mute": 0, - "width": 1242, - "height": 1862, - "card_ext_text": "", - "card_img_download": "https://i0.hdslb.com/bfs/garb/d38c42b6f1151298888da5902bca5a41e14f67e1.png", - "video_list_download": [ - "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/digital_watermark/ib/30/_00003d7cuie74gr9z2322d7js5b30ib-teaser.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=hw&upsig=24512302cfa3b1f762f3ad08a0a2f5fe&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=5dc3cdfca31fca94c29a2ec945589ff319e97c3291dec2685184ec4083616cc2&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" - ], - "subtitles_url": "", - "play": null, - "tag": null, - "card_sub_type": 0, - "is_new_tag": 0, - "is_up_tag": 0, - "is_limited_card": 0, - "stock_info": null - } - }, - { - "item_type": 1, - "card_info": { - "card_type_id": 700902, - "card_name": "轻纱花语·隐藏", - "card_img": "https://i0.hdslb.com/bfs/baselabs/e4721d06a5c435be216b5011f0604c9e07d5e4af.png", - "card_type": 2, - "video_list": [ - "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/jb/4u/_00001f04wekkvpmr92osvwpej1e4ujb-1-152111110023.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=ad574839c71e5327783acf248b552b3d&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=49276ec1afce1a8f571e257fb6d2ab7488f623aa50c2c3b7252258be72315c5e&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" - ], - "is_physical_orientation": 0, - "card_scarcity": 30, - "is_mute": 0, - "width": 1242, - "height": 1862, - "card_ext_text": "", - "card_img_download": "https://i0.hdslb.com/bfs/garb/0e49e7c8108a98944a96bfa594cf7f74c72398cf.png", - "video_list_download": [ - "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/digital_watermark/nb/58/_000007ovzgblf574s1ywvm7inwx58nb-teaser.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=ec9de21147240e94494d736f277dfb64&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=2370473349a25fae0ea023f65f1e09c70b45d086831eef5f4727b8443acdf9f5&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" - ], - "subtitles_url": "", - "play": null, - "tag": null, - "card_sub_type": 0, - "is_new_tag": 0, - "is_up_tag": 0, - "is_limited_card": 0, - "stock_info": null - } - }, - { - "item_type": 1, - "card_info": { - "card_type_id": 700904, - "card_name": "甜心女仆", - "card_img": "https://i0.hdslb.com/bfs/baselabs/e1f9c56a8f49910d07852f2bd648fee910f36ff6.png", - "card_type": 2, - "video_list": [ - "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/gb/j6/_000015vmteklku8oj1ypmp1yjijj6gb-1-152111110023.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=c7412fe7b155deecbfea939f7c3d1b21&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=8989673c367aa0ffbe747cdc66129a6d1698f1c2b60ace24861ad62127cdd6da&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" - ], - "is_physical_orientation": 0, - "card_scarcity": 20, - "is_mute": 0, - "width": 1242, - "height": 1862, - "card_ext_text": "", - "card_img_download": "https://i0.hdslb.com/bfs/garb/e6c69329d843603166fac8d41682c3489fd137d4.png", - "video_list_download": [ - "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/digital_watermark/zb/eq/_000018oi0e68wv4id2vkrk9ovpteqzb-teaser.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=hw&upsig=f972e8cd996d058deb4e0ffb1d57671e&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=99054c626717b4ba61c01bbb0fe59f67feac394b89e19e4bbf95290d3a425f94&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" - ], - "subtitles_url": "", - "play": null, - "tag": null, - "card_sub_type": 0, - "is_new_tag": 0, - "is_up_tag": 0, - "is_limited_card": 0, - "stock_info": null - } - }, - { - "item_type": 1, - "card_info": { - "card_type_id": 700901, - "card_name": "约会憧憬", - "card_img": "https://i0.hdslb.com/bfs/baselabs/924ef9a71bf39010935b4a43845bec13c8a2022c.png", - "card_type": 1, - "video_list": null, - "is_physical_orientation": 0, - "card_scarcity": 10, - "is_mute": 0, - "width": 1242, - "height": 1863, - "card_ext_text": "", - "card_img_download": "https://i0.hdslb.com/bfs/garb/40a9ff949ca7a50dbce146ad28fbb567c2583261.png", - "video_list_download": null, - "subtitles_url": "", - "play": null, - "tag": null, - "card_sub_type": 0, - "is_new_tag": 0, - "is_up_tag": 0, - "is_limited_card": 0, - "stock_info": null - } - }, - { - "item_type": 1, - "card_info": { - "card_type_id": 700900, - "card_name": "夏日小憩", - "card_img": "https://i0.hdslb.com/bfs/baselabs/0eddbfc70200f16bef06acc88ef132eb25ede52d.png", - "card_type": 1, - "video_list": null, - "is_physical_orientation": 0, - "card_scarcity": 10, - "is_mute": 0, - "width": 1242, - "height": 1863, - "card_ext_text": "", - "card_img_download": "https://i0.hdslb.com/bfs/garb/61e26e17705e06ecdfdb9ff97befb19c702cf81e.png", - "video_list_download": null, - "subtitles_url": "", - "play": null, - "tag": null, - "card_sub_type": 0, - "is_new_tag": 0, - "is_up_tag": 0, - "is_limited_card": 0, - "stock_info": null - } - }, - { - "item_type": 1, - "card_info": { - "card_type_id": 700899, - "card_name": "微风校园", - "card_img": "https://i0.hdslb.com/bfs/baselabs/bbeaf7993566684e328e74d8ef7c47e6242869a2.png", - "card_type": 1, - "video_list": null, - "is_physical_orientation": 0, - "card_scarcity": 10, - "is_mute": 0, - "width": 1242, - "height": 1863, - "card_ext_text": "", - "card_img_download": "https://i0.hdslb.com/bfs/garb/8ac61045334699d621363ccac87153a7128ef0c3.png", - "video_list_download": null, - "subtitles_url": "", - "play": null, - "tag": null, - "card_sub_type": 0, - "is_new_tag": 0, - "is_up_tag": 0, - "is_limited_card": 0, - "stock_info": null - } - }, - { - "item_type": 1, - "card_info": { - "card_type_id": 700898, - "card_name": "萌宠幻想", - "card_img": "https://i0.hdslb.com/bfs/baselabs/f93f200ec862b4520b30e8f03219fbaca91a2089.png", - "card_type": 1, - "video_list": null, - "is_physical_orientation": 0, - "card_scarcity": 10, - "is_mute": 0, - "width": 1242, - "height": 1863, - "card_ext_text": "", - "card_img_download": "https://i0.hdslb.com/bfs/garb/93e59f3080f6b8070b0d0621496e4ed6cb20cf8f.png", - "video_list_download": null, - "subtitles_url": "", - "play": null, - "tag": null, - "card_sub_type": 0, - "is_new_tag": 0, - "is_up_tag": 0, - "is_limited_card": 0, - "stock_info": null - } - }, - { - "item_type": 1, - "card_info": { - "card_type_id": 700897, - "card_name": "空中环游", - "card_img": "https://i0.hdslb.com/bfs/baselabs/fc0c020091c0a9fb1778c420bc4f9773a72ea7ba.png", - "card_type": 1, - "video_list": null, - "is_physical_orientation": 0, - "card_scarcity": 10, - "is_mute": 0, - "width": 1242, - "height": 1863, - "card_ext_text": "", - "card_img_download": "https://i0.hdslb.com/bfs/garb/c1c6c9ca84b584bf5f2b0e1ec7d239eb935e4d44.png", - "video_list_download": null, - "subtitles_url": "", - "play": null, - "tag": null, - "card_sub_type": 0, - "is_new_tag": 0, - "is_up_tag": 0, - "is_limited_card": 0, - "stock_info": null - } - } - ], - "collect_list": { - "collect_infos": [ - { - "collect_id": 0, - "start_time": 1685372400, - "end_time": 2114406245, - "redeem_text": "1抽必得勋章,可应用为评论背景&动态卡片", - "redeem_item_type": 1001, - "redeem_item_id": "", - "redeem_item_name": "夏日萌菜勋章", - "redeem_item_image": "http://i0.hdslb.com/bfs/archive/b3d915c6ad88609fb658393585f018459a7e620d.png", - "owned_item_amount": 0, - "require_item_amount": 1, - "has_redeemed_cnt": 0, - "effective_forever": 1, - "redeem_item_image_download": "", - "card_item": null, - "jump_url": "", - "redeem_cond_type": "", - "remain_stock": 0, - "total_stock": -1, - "lottery_id": 0, - "reward_tag": "", - "redeem_detail_image": "", - "redeem_detail_videos": null, - "sort": 0, - "redeem_items_optional": null, - "unlock_condition": { - "unlocked": true, - "lock_type": 0, - "expire_at": 0, - "unlocked_at": 0, - "unlock_threshold": 0, - "current_threshold": 0 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "lottery_id": 15, + "name": "夏日萌菜", + "item_list": [ + { + "item_type": 1, + "card_info": { + "card_type_id": 700903, + "card_name": "水中嬉戏·隐藏", + "card_img": "https://i0.hdslb.com/bfs/baselabs/d41acfc3bfcc9032a9759fbd9e64147a6d9a24b0.png", + "card_type": 2, + "video_list": [ + "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/2b/y2/_000008vnv2ddoooah248hqoyz2gy22b-1-152111110023.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=d22ca6102adb9ffe257f702047be6ef2&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=753ff946c9e4b3813eb72c744ed3a399ba9a225fe4767a7a03835890fcbe4b8a&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" + ], + "is_physical_orientation": 0, + "card_scarcity": 40, + "is_mute": 0, + "width": 1242, + "height": 1862, + "card_ext_text": "", + "card_img_download": "https://i0.hdslb.com/bfs/garb/d38c42b6f1151298888da5902bca5a41e14f67e1.png", + "video_list_download": [ + "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/digital_watermark/ib/30/_00003d7cuie74gr9z2322d7js5b30ib-teaser.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=hw&upsig=24512302cfa3b1f762f3ad08a0a2f5fe&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=5dc3cdfca31fca94c29a2ec945589ff319e97c3291dec2685184ec4083616cc2&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" + ], + "subtitles_url": "", + "play": null, + "tag": null, + "card_sub_type": 0, + "is_new_tag": 0, + "is_up_tag": 0, + "is_limited_card": 0, + "stock_info": null + } + }, + { + "item_type": 1, + "card_info": { + "card_type_id": 700902, + "card_name": "轻纱花语·隐藏", + "card_img": "https://i0.hdslb.com/bfs/baselabs/e4721d06a5c435be216b5011f0604c9e07d5e4af.png", + "card_type": 2, + "video_list": [ + "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/jb/4u/_00001f04wekkvpmr92osvwpej1e4ujb-1-152111110023.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=ad574839c71e5327783acf248b552b3d&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=49276ec1afce1a8f571e257fb6d2ab7488f623aa50c2c3b7252258be72315c5e&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" + ], + "is_physical_orientation": 0, + "card_scarcity": 30, + "is_mute": 0, + "width": 1242, + "height": 1862, + "card_ext_text": "", + "card_img_download": "https://i0.hdslb.com/bfs/garb/0e49e7c8108a98944a96bfa594cf7f74c72398cf.png", + "video_list_download": [ + "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/digital_watermark/nb/58/_000007ovzgblf574s1ywvm7inwx58nb-teaser.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=ec9de21147240e94494d736f277dfb64&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=2370473349a25fae0ea023f65f1e09c70b45d086831eef5f4727b8443acdf9f5&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" + ], + "subtitles_url": "", + "play": null, + "tag": null, + "card_sub_type": 0, + "is_new_tag": 0, + "is_up_tag": 0, + "is_limited_card": 0, + "stock_info": null + } + }, + { + "item_type": 1, + "card_info": { + "card_type_id": 700904, + "card_name": "甜心女仆", + "card_img": "https://i0.hdslb.com/bfs/baselabs/e1f9c56a8f49910d07852f2bd648fee910f36ff6.png", + "card_type": 2, + "video_list": [ + "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/gb/j6/_000015vmteklku8oj1ypmp1yjijj6gb-1-152111110023.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=cos&upsig=c7412fe7b155deecbfea939f7c3d1b21&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=8989673c367aa0ffbe747cdc66129a6d1698f1c2b60ace24861ad62127cdd6da&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" + ], + "is_physical_orientation": 0, + "card_scarcity": 20, + "is_mute": 0, + "width": 1242, + "height": 1862, + "card_ext_text": "", + "card_img_download": "https://i0.hdslb.com/bfs/garb/e6c69329d843603166fac8d41682c3489fd137d4.png", + "video_list_download": [ + "https://upos-hz-mirrorakam.akamaized.net/panguxcodeboss/digital_watermark/zb/eq/_000018oi0e68wv4id2vkrk9ovpteqzb-teaser.mp4?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1723459855&gen=playurlv2&os=akam&oi=1823807565&trid=400d9529a562468c8312c1f4c4beb2e3B&mid=0&platform=html5&og=hw&upsig=f972e8cd996d058deb4e0ffb1d57671e&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform,og&hdnts=exp=1723459855~hmac=99054c626717b4ba61c01bbb0fe59f67feac394b89e19e4bbf95290d3a425f94&bvc=vod&nettype=0&orderid=0,1&logo=00000000&f=B_0_0" + ], + "subtitles_url": "", + "play": null, + "tag": null, + "card_sub_type": 0, + "is_new_tag": 0, + "is_up_tag": 0, + "is_limited_card": 0, + "stock_info": null + } + }, + { + "item_type": 1, + "card_info": { + "card_type_id": 700901, + "card_name": "约会憧憬", + "card_img": "https://i0.hdslb.com/bfs/baselabs/924ef9a71bf39010935b4a43845bec13c8a2022c.png", + "card_type": 1, + "video_list": null, + "is_physical_orientation": 0, + "card_scarcity": 10, + "is_mute": 0, + "width": 1242, + "height": 1863, + "card_ext_text": "", + "card_img_download": "https://i0.hdslb.com/bfs/garb/40a9ff949ca7a50dbce146ad28fbb567c2583261.png", + "video_list_download": null, + "subtitles_url": "", + "play": null, + "tag": null, + "card_sub_type": 0, + "is_new_tag": 0, + "is_up_tag": 0, + "is_limited_card": 0, + "stock_info": null + } + }, + { + "item_type": 1, + "card_info": { + "card_type_id": 700900, + "card_name": "夏日小憩", + "card_img": "https://i0.hdslb.com/bfs/baselabs/0eddbfc70200f16bef06acc88ef132eb25ede52d.png", + "card_type": 1, + "video_list": null, + "is_physical_orientation": 0, + "card_scarcity": 10, + "is_mute": 0, + "width": 1242, + "height": 1863, + "card_ext_text": "", + "card_img_download": "https://i0.hdslb.com/bfs/garb/61e26e17705e06ecdfdb9ff97befb19c702cf81e.png", + "video_list_download": null, + "subtitles_url": "", + "play": null, + "tag": null, + "card_sub_type": 0, + "is_new_tag": 0, + "is_up_tag": 0, + "is_limited_card": 0, + "stock_info": null + } + }, + { + "item_type": 1, + "card_info": { + "card_type_id": 700899, + "card_name": "微风校园", + "card_img": "https://i0.hdslb.com/bfs/baselabs/bbeaf7993566684e328e74d8ef7c47e6242869a2.png", + "card_type": 1, + "video_list": null, + "is_physical_orientation": 0, + "card_scarcity": 10, + "is_mute": 0, + "width": 1242, + "height": 1863, + "card_ext_text": "", + "card_img_download": "https://i0.hdslb.com/bfs/garb/8ac61045334699d621363ccac87153a7128ef0c3.png", + "video_list_download": null, + "subtitles_url": "", + "play": null, + "tag": null, + "card_sub_type": 0, + "is_new_tag": 0, + "is_up_tag": 0, + "is_limited_card": 0, + "stock_info": null + } + }, + { + "item_type": 1, + "card_info": { + "card_type_id": 700898, + "card_name": "萌宠幻想", + "card_img": "https://i0.hdslb.com/bfs/baselabs/f93f200ec862b4520b30e8f03219fbaca91a2089.png", + "card_type": 1, + "video_list": null, + "is_physical_orientation": 0, + "card_scarcity": 10, + "is_mute": 0, + "width": 1242, + "height": 1863, + "card_ext_text": "", + "card_img_download": "https://i0.hdslb.com/bfs/garb/93e59f3080f6b8070b0d0621496e4ed6cb20cf8f.png", + "video_list_download": null, + "subtitles_url": "", + "play": null, + "tag": null, + "card_sub_type": 0, + "is_new_tag": 0, + "is_up_tag": 0, + "is_limited_card": 0, + "stock_info": null + } + }, + { + "item_type": 1, + "card_info": { + "card_type_id": 700897, + "card_name": "空中环游", + "card_img": "https://i0.hdslb.com/bfs/baselabs/fc0c020091c0a9fb1778c420bc4f9773a72ea7ba.png", + "card_type": 1, + "video_list": null, + "is_physical_orientation": 0, + "card_scarcity": 10, + "is_mute": 0, + "width": 1242, + "height": 1863, + "card_ext_text": "", + "card_img_download": "https://i0.hdslb.com/bfs/garb/c1c6c9ca84b584bf5f2b0e1ec7d239eb935e4d44.png", + "video_list_download": null, + "subtitles_url": "", + "play": null, + "tag": null, + "card_sub_type": 0, + "is_new_tag": 0, + "is_up_tag": 0, + "is_limited_card": 0, + "stock_info": null + } + } + ], + "collect_list": { + "collect_infos": [ + { + "collect_id": 0, + "start_time": 1685372400, + "end_time": 2114406245, + "redeem_text": "1抽必得勋章,可应用为评论背景&动态卡片", + "redeem_item_type": 1001, + "redeem_item_id": "", + "redeem_item_name": "夏日萌菜勋章", + "redeem_item_image": "http://i0.hdslb.com/bfs/archive/b3d915c6ad88609fb658393585f018459a7e620d.png", + "owned_item_amount": 0, + "require_item_amount": 1, + "has_redeemed_cnt": 0, + "effective_forever": 1, + "redeem_item_image_download": "", + "card_item": null, + "jump_url": "", + "redeem_cond_type": "", + "remain_stock": 0, + "total_stock": -1, + "lottery_id": 0, + "reward_tag": "", + "redeem_detail_image": "", + "redeem_detail_videos": null, + "sort": 0, + "redeem_items_optional": null, + "unlock_condition": { + "unlocked": true, + "lock_type": 0, + "expire_at": 0, + "unlocked_at": 0, + "unlock_threshold": 0, + "current_threshold": 0 + } + }, + { + "collect_id": 172, + "start_time": 1691640000, + "end_time": 2114406245, + "redeem_text": "抽出任意5张不同卡牌,即可领取,单UID仅可领取一次", + "redeem_item_type": 5, + "redeem_item_id": "56658", + "redeem_item_name": "夏日萌菜个性主题", + "redeem_item_image": "https://i0.hdslb.com/bfs/garb/48f755d6d08d96bfebcadee0be4bc34ce42421de.jpg", + "owned_item_amount": 0, + "require_item_amount": 5, + "has_redeemed_cnt": 0, + "effective_forever": 1, + "redeem_item_image_download": "", + "card_item": { + "card_type_info": null, + "play": null, + "tag": null, + "card_asset_info": null + }, + "jump_url": "", + "redeem_cond_type": "scarcity", + "remain_stock": -1, + "total_stock": -1, + "lottery_id": 0, + "reward_tag": "任务奖励限定", + "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/48f755d6d08d96bfebcadee0be4bc34ce42421de.jpg", + "redeem_detail_videos": null, + "sort": 0, + "redeem_items_optional": null, + "unlock_condition": { + "unlocked": true, + "lock_type": 0, + "expire_at": 0, + "unlocked_at": 0, + "unlock_threshold": 0, + "current_threshold": 0 + } + }, + { + "collect_id": 51, + "start_time": 1685372400, + "end_time": 2114406245, + "redeem_text": "抽出任意1张隐藏卡牌,即可领取,单UID仅可领取一次", + "redeem_item_type": 3, + "redeem_item_id": "53199", + "redeem_item_name": "夏日萌菜头像框", + "redeem_item_image": "https://i0.hdslb.com/bfs/garb/item/9fcb99ccfd057c5eac165832d71fb63f07f26097.png", + "owned_item_amount": 0, + "require_item_amount": 1, + "has_redeemed_cnt": 0, + "effective_forever": 1, + "redeem_item_image_download": "", + "card_item": { + "card_type_info": null, + "play": null, + "tag": null, + "card_asset_info": null + }, + "jump_url": "", + "redeem_cond_type": "scarcity", + "remain_stock": -1, + "total_stock": -1, + "lottery_id": 0, + "reward_tag": "任务奖励限定", + "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/item/9fcb99ccfd057c5eac165832d71fb63f07f26097.png", + "redeem_detail_videos": null, + "sort": 0, + "redeem_items_optional": null, + "unlock_condition": { + "unlocked": true, + "lock_type": 0, + "expire_at": 0, + "unlocked_at": 0, + "unlock_threshold": 0, + "current_threshold": 0 + } + }, + { + "collect_id": 50, + "start_time": 1685372400, + "end_time": 2114406245, + "redeem_text": "抽出任意3张不同卡牌,即可领取,单UID仅可领取一次", + "redeem_item_type": 2, + "redeem_item_id": "53178", + "redeem_item_name": "夏日萌菜表情包", + "redeem_item_image": "https://i0.hdslb.com/bfs/garb/462ae9b5735fef4bb9ed87a6d6467a4768b06006.png", + "owned_item_amount": 0, + "require_item_amount": 3, + "has_redeemed_cnt": 0, + "effective_forever": 1, + "redeem_item_image_download": "", + "card_item": { + "card_type_info": null, + "play": null, + "tag": null, + "card_asset_info": null + }, + "jump_url": "", + "redeem_cond_type": "scarcity", + "remain_stock": -1, + "total_stock": -1, + "lottery_id": 0, + "reward_tag": "任务奖励限定", + "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/462ae9b5735fef4bb9ed87a6d6467a4768b06006.png", + "redeem_detail_videos": null, + "sort": 0, + "redeem_items_optional": null, + "unlock_condition": { + "unlocked": true, + "lock_type": 0, + "expire_at": 0, + "unlocked_at": 0, + "unlock_threshold": 0, + "current_threshold": 0 + } + }, + { + "collect_id": 366, + "start_time": 1694768400, + "end_time": 1696953600, + "redeem_text": "抽齐全部8张卡牌领取,直接获得全图鉴进度条标记,10月28日前人工发放头像", + "redeem_item_type": 5, + "redeem_item_id": "59374", + "redeem_item_name": "水中嬉戏·隐藏出框头像", + "redeem_item_image": "https://i0.hdslb.com/bfs/garb/ff981dbdca5c6b539e22596674265ef1cb110c9c.png", + "owned_item_amount": 0, + "require_item_amount": 8, + "has_redeemed_cnt": 0, + "effective_forever": 0, + "redeem_item_image_download": "", + "card_item": { + "card_type_info": null, + "play": null, + "tag": null, + "card_asset_info": null + }, + "jump_url": "", + "redeem_cond_type": "scarcity", + "remain_stock": -1, + "total_stock": -1, + "lottery_id": 0, + "reward_tag": "任务奖励限定", + "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/ff981dbdca5c6b539e22596674265ef1cb110c9c.png", + "redeem_detail_videos": null, + "sort": 0, + "redeem_items_optional": null, + "unlock_condition": { + "unlocked": true, + "lock_type": 0, + "expire_at": 0, + "unlocked_at": 0, + "unlock_threshold": 0, + "current_threshold": 0 + } + } + ], + "collect_chain": null }, - { - "collect_id": 172, - "start_time": 1691640000, - "end_time": 2114406245, - "redeem_text": "抽出任意5张不同卡牌,即可领取,单UID仅可领取一次", - "redeem_item_type": 5, - "redeem_item_id": "56658", - "redeem_item_name": "夏日萌菜个性主题", - "redeem_item_image": "https://i0.hdslb.com/bfs/garb/48f755d6d08d96bfebcadee0be4bc34ce42421de.jpg", - "owned_item_amount": 0, - "require_item_amount": 5, - "has_redeemed_cnt": 0, - "effective_forever": 1, - "redeem_item_image_download": "", - "card_item": { - "card_type_info": null, - "play": null, - "tag": null, - "card_asset_info": null - }, - "jump_url": "", - "redeem_cond_type": "scarcity", - "remain_stock": -1, - "total_stock": -1, - "lottery_id": 0, - "reward_tag": "任务奖励限定", - "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/48f755d6d08d96bfebcadee0be4bc34ce42421de.jpg", - "redeem_detail_videos": null, - "sort": 0, - "redeem_items_optional": null, - "unlock_condition": { - "unlocked": true, - "lock_type": 0, - "expire_at": 0, - "unlocked_at": 0, - "unlock_threshold": 0, - "current_threshold": 0 - } - }, - { - "collect_id": 51, - "start_time": 1685372400, - "end_time": 2114406245, - "redeem_text": "抽出任意1张隐藏卡牌,即可领取,单UID仅可领取一次", - "redeem_item_type": 3, - "redeem_item_id": "53199", - "redeem_item_name": "夏日萌菜头像框", - "redeem_item_image": "https://i0.hdslb.com/bfs/garb/item/9fcb99ccfd057c5eac165832d71fb63f07f26097.png", - "owned_item_amount": 0, - "require_item_amount": 1, - "has_redeemed_cnt": 0, - "effective_forever": 1, - "redeem_item_image_download": "", - "card_item": { - "card_type_info": null, - "play": null, - "tag": null, - "card_asset_info": null - }, - "jump_url": "", - "redeem_cond_type": "scarcity", - "remain_stock": -1, - "total_stock": -1, - "lottery_id": 0, - "reward_tag": "任务奖励限定", - "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/item/9fcb99ccfd057c5eac165832d71fb63f07f26097.png", - "redeem_detail_videos": null, - "sort": 0, - "redeem_items_optional": null, - "unlock_condition": { - "unlocked": true, - "lock_type": 0, - "expire_at": 0, - "unlocked_at": 0, - "unlock_threshold": 0, - "current_threshold": 0 - } - }, - { - "collect_id": 50, - "start_time": 1685372400, - "end_time": 2114406245, - "redeem_text": "抽出任意3张不同卡牌,即可领取,单UID仅可领取一次", - "redeem_item_type": 2, - "redeem_item_id": "53178", - "redeem_item_name": "夏日萌菜表情包", - "redeem_item_image": "https://i0.hdslb.com/bfs/garb/462ae9b5735fef4bb9ed87a6d6467a4768b06006.png", - "owned_item_amount": 0, - "require_item_amount": 3, - "has_redeemed_cnt": 0, - "effective_forever": 1, - "redeem_item_image_download": "", - "card_item": { - "card_type_info": null, - "play": null, - "tag": null, - "card_asset_info": null - }, - "jump_url": "", - "redeem_cond_type": "scarcity", - "remain_stock": -1, - "total_stock": -1, - "lottery_id": 0, - "reward_tag": "任务奖励限定", - "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/462ae9b5735fef4bb9ed87a6d6467a4768b06006.png", - "redeem_detail_videos": null, - "sort": 0, - "redeem_items_optional": null, - "unlock_condition": { - "unlocked": true, - "lock_type": 0, - "expire_at": 0, - "unlocked_at": 0, - "unlock_threshold": 0, - "current_threshold": 0 - } - }, - { - "collect_id": 366, - "start_time": 1694768400, - "end_time": 1696953600, - "redeem_text": "抽齐全部8张卡牌领取,直接获得全图鉴进度条标记,10月28日前人工发放头像", - "redeem_item_type": 5, - "redeem_item_id": "59374", - "redeem_item_name": "水中嬉戏·隐藏出框头像", - "redeem_item_image": "https://i0.hdslb.com/bfs/garb/ff981dbdca5c6b539e22596674265ef1cb110c9c.png", - "owned_item_amount": 0, - "require_item_amount": 8, - "has_redeemed_cnt": 0, - "effective_forever": 0, - "redeem_item_image_download": "", - "card_item": { - "card_type_info": null, - "play": null, - "tag": null, - "card_asset_info": null - }, - "jump_url": "", - "redeem_cond_type": "scarcity", - "remain_stock": -1, - "total_stock": -1, - "lottery_id": 0, - "reward_tag": "任务奖励限定", - "redeem_detail_image": "https://i0.hdslb.com/bfs/garb/ff981dbdca5c6b539e22596674265ef1cb110c9c.png", - "redeem_detail_videos": null, - "sort": 0, - "redeem_items_optional": null, - "unlock_condition": { - "unlocked": true, - "lock_type": 0, - "expire_at": 0, - "unlocked_at": 0, - "unlock_threshold": 0, - "current_threshold": 0 - } - } - ], - "collect_chain": null - }, - "button_bubble": null, - "guide_info": null, - "is_booked": 0, - "total_book_cnt": 0, - "is_fission": 0, - "physical_exchange": 0 - } + "button_bubble": null, + "guide_info": null, + "is_booked": 0, + "total_book_cnt": 0, + "is_fission": 0, + "physical_exchange": 0 + } } ``` + +## 主题装扮信息API + +> https://api.bilibili.com/x/garb/v2/mall/suit/detail + +*请求方式: GET* + +**URL参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|---------|-----|------|----| ---- | +| buvid | str | 设备唯一标识 | 不必要 | | +| csrf | str | 用户csrf | 不必要 | | +| from | str | 来源页面 | 不必要 | | +| from_id | int | 来源页面id | 不必要 | | +| item_id | int | 装扮id | 必要 | | +| part | str | ?分类 | 不必要 | | + +**JSON回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------|-----------------| +| code | num | 返回值 | `0`:成功
`-400`:错误 | +| message | str | 错误信息 | | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|--------|------------| +| item_id | num | 装扮id | | +| name | str | 装扮名称 | | +| group_id | num | 分组id | | +| group_name | str | 分组名称 | | +| part_id | num | 分类id | | +| state | str | 状态 | | +| properties | obj | 装扮具体属性 | | +| current_activity | str | 当前活动 | | +| next_activity | obj | 下一个活动 | | +| current_sources | str | | **作用尚不明确** | +| finish_sources | str | | **作用尚不明确** | +| sale_left_time | num | | **作用尚不明确** | +| sale_time_end | num | | **作用尚不明确** | +| sale_surplus | num | 商品剩余数量 | | +| sale_count_desc | str | 促销销量说明 | | +| total_count_desc | str | 总销量说明 | | +| tag | str | 标签 | | +| jump_link | str | 跳转链接 | | +| sales_mode | num | 促销模式 | | +| suit_items | obj | 装扮具体内容 | | +| fan_user | obj | 装扮来源用户 | | +| unlock_items | obj | 未解锁装扮 | | +| activity_entrance | obj | 活动入口 | | + +`properties` 对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|----------------|-----------------------------| +| desc | str | 说明 | | +| fan_desc | str | 用户说明 | | +| fan_id | str | 装扮id | 获取到的数据,有时候是数字文本,有时候是普通文本 | +| fan_item_ids | str | 装扮id列表 | | +| fan_mid | str | 用户mid | | +| fan_no_color | str | | **为一串颜色16进制字符串,但作用尚不明确** | +| fan_recommend_desc | str | 用户推荐说明 | | +| fan_recommend_jump_type | str | 跳转类型 | | +| fan_recommend_jump_value | str | 跳转的值 | 一般为该装扮所有者的个人空间链接 | +| fan_share_image | str | | | +| gray_rule | str | | **布尔型转换的字符串,作用尚不明确** | +| gray_rule_type | str | | **作用尚不明确** | +| image_cover | str | 图片封面链接 | | +| image_cover_color | str | 图片封面颜色 | | +| is_hide | str | 是否隐藏 | **布尔型转换的字符串,作用尚不明确** | +| item_id_card | str | 动态卡片id | | +| item_id_emoji | str | 表情包id | | +| item_id_thumbup | str | 动态点赞特效id | | +| open_platform_vip_discount | str | 是否开启平台VIP折扣 | | +| owner_uid | str | 装扮所有者的用户uid | | +| rank_investor_show | str | ?显示投资者排名 | **布尔型转换的字符串,作用尚不明确** | +| realname_auth | str | | **布尔型转换的字符串,作用尚不明确** | +| sale_bp_forever_raw | str | | | +| sale_bp_pm_raw | str | | | +| sale_buy_num_limit | str | 促销限制数量 | | +| sale_quantity | str | 促销质量 | 整数型转换的字符串,"10000"可能表示的是这张图的原画 | +| sale_quantity_limit | str | ?是否限制某些质量装扮的销售 | **布尔型转换的字符串,作用尚不明确** | +| sale_region_ip_limit | str | 促销限制地区 | | +| sale_reserve_switch | str | | **布尔型转换的字符串,作用尚不明确** | +| sale_time_begin | str | 促销开始时间的时间戳 | | +| sale_type | str | 促销类型 | | +| suit_card_type | str | 装扮卡片类型 | | +| type | str | 类型 | **作用尚不明确** | + +`suit_items` 对象(可能不全,会继续补充): + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|--------|------------| +| card | array | 动态卡片 | | +| emoji_package | array | 表情包 | | +| card_bg | array | 专属评论装扮 | | +| thumbup | array | 动态点赞特效 | | +| loading | array | 专属加载动画 | | +| play_icon | array | 专属进度条 | | +| skin | array | 专属个性主题 | | +| space_bg | array | 专属空间海报 | | + +`suit_items` 中每个数组的对象: + +**即上文中所列出的 `suit_items` 中的那些数组对象,对于这些数组,
它们其中的字段基本都是相同的,不同的地方会在后面继续说明。** + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|---------|----------------------| +| item_id | num | 装扮id | | +| name | str | 装扮名称 | | +| state | str | 状态 | | +| tab_id | num | 分栏id | | +| suit_item_id | num | 所属装扮的id | | +| properties | obj | 装扮具体属性 | **不同点主要集中在这个地方,下文将继续说明** | +| current_activity | str | 当前活动 | | +| next_activity | obj | 下一个活动 | | +| current_sources | str | | **作用尚不明确** | +| finish_sources | str | | **作用尚不明确** | +| sale_left_time | str | | **作用尚不明确** | +| sale_time_end | str | | **作用尚不明确** | +| sale_surplus | str | 商品剩余数量 | | +| items | str | 装扮的具体内容 | | + +关于上述提到的 `properties` 对象中的共有字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------|----------------------| +| gray_rule | str | | **布尔型转换的字符串,作用尚不明确** | +| gray_rule_type | str | | **作用尚不明确** | +| realname_auth | str | | **布尔型转换的字符串,作用尚不明确** | +| sale_type | str | 促销类型 | | +| image | str | 图片 | | +| image_preview_small | str | 预览图 | | + +`emoji_package` 数组中的对象中 `properties` 对象中的额外字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|-------|----------------------| +| addable | str | | **布尔型转换的字符串,作用尚不明确** | +| biz | str | | **作用尚不明确** | +| is_symbol | str | | **布尔型转换的字符串,作用尚不明确** | +| permanent | str | 是否永久 | | +| preview | str | | **布尔型转换的字符串,作用尚不明确** | +| recently_used | str | | **布尔型转换的字符串,作用尚不明确** | +| recommend | str | 是否推荐 | | +| ref_mid | str | | | +| removable | str | 是否可移除 | | +| setting_pannel_not_show | str | | **布尔型转换的字符串,作用尚不明确** | +| size | str | 尺寸 | | +| sortable | str | 排序类型 | | + +`loading` 数组中的对象中 `properties` 对象中的额外字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------------|----------------------| +| loading_frame_url | str | 进度条动画的其中一帧 | | +| loading_url | str | 进度条动画 | | + +`play_icon` 数组中的对象中 `properties` 对象中的额外字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|-------------|----------------------| +| drag_left_png | str | 进度条向左拖动时的图片 | | +| drag_right_png | str | 进度条向右拖动时的图片 | | +| middle_png | str | 进度条暂停时的图片 | | +| squared_image | str | 效果图 | | +| static_icon_image | str | 静态图标 | | + +`play_icon` 数组中的对象中 `properties` 对象中的额外字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|---------------------|----------------------| +| head_bg | str | 首页顶部图片 | | +| head_myself_mp4_play | str | 个人空间顶部视频动画的播放类型 | | +| head_myself_squared_bg | str | 个人空间顶部图片 | | +| head_tab_bg | str | 首页顶部标签栏背景图 | | +| image_cover | str | 封面图 | | +| package_md5 | str | 装扮图包的md5值 | | +| package_url | str | 装扮图包的压缩包链接 | | +| skin_mode | str | 皮肤模式 | | +| tail_bg | str | 首页底部图片 | | +| tail_color | str | 首页底部颜色 | | +| tail_color_selected | str | 首页底部被选中时的颜色 | | +| tail_icon_ani | str | 首页底部是否播放动画 | | +| tail_icon_ani_mode | str | 首页底部动画的播放类型 | | +| tail_icon_channel | str | 首页底部“动态”按钮图片 | | +| tail_icon_dynamic | str | 首页底部“发布动态”按钮图片 | | +| tail_icon_main | str | 首页底部“首页”按钮图片 | | +| tail_icon_mode | str | 首页底部图标模式 | | +| tail_icon_myself | str | 首页底部“我的”按钮图片 | | +| tail_icon_pub_btn_bg | str | 首页底部“发布动态”按钮图片 | | +| tail_icon_selected_channel | str | 首页底部“动态”按钮被选中时的图片 | | +| tail_icon_selected_dynamic | str | 首页底部“发布动态”按钮被选中时的图片 | | +| tail_icon_selected_main | str | 首页底部“首页”按钮被选中时的图片 | | +| tail_icon_selected_myself | str | 首页底部“我的”按钮被选中时的图片 | | +| tail_icon_selected_pub_btn_bg | str | 首页底部“发布动态”按钮被选中时的图片 | | +| tail_icon_selected_shop | str | 首页底部“会员购”按钮被选中时的图片 | | +| tail_icon_shop | str | 首页底部“会员购”按钮图片 | | + +`space_bg` 数组中的对象中 `properties` 对象中的额外字段: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|-------------|----------------------| +| image1_landscape | str | 第一张空间海报 | | +| image1_portrait | str | 第一张空间海报(纵向) | | + +**如果是第二张图,则是`image2_xxx`,以此类推。** + +**示例:** + +```shell +curl -G 'https://api.bilibili.com/x/garb/v2/mall/suit/detail' \ + --data-urlencode 'buvid=xxx(非必须)' \ + --data-urlencode 'csrf=xxx(非必须)' \ + --data-urlencode 'item_id=42193' \ + --data-urlencode 'part=suit(非必须)' +``` + +
+查看响应示例: + +```json +{ + "code":0, + "message":"0", + "ttl":1, + "data":{ + "item_id":42193, + "name":"装扮小姐姐·梦幻冬季", + "group_id":69, + "group_name":"装扮小姐姐·梦幻冬季", + "part_id":6, + "state":"active", + "properties":{ + "desc":"扮扮糖集合啦!装扮小姐姐邀你共度梦幻冬季~", + "fan_desc":"装扮小姐姐·梦幻冬季", + "fan_id":"装扮小姐姐·梦幻冬季", + "fan_item_ids":"42190,42124,42192,42191,42188,42189", + "fan_mid":"647193094", + "fan_no_color":"#3e52eb", + "fan_recommend_desc":"扮扮糖集合啦!装扮小姐姐邀你共度梦幻冬季~", + "fan_recommend_jump_type":"url", + "fan_recommend_jump_value":"https://space.bilibili.com/647193094?spm_id_from=333.337.0.0", + "fan_share_image":"https://i0.hdslb.com/bfs/garb/item/f9ad456fb74fc58896743eb393664e3c7622de0c.jpg", + "gray_rule":"true", + "gray_rule_type":"all", + "image_cover":"https://i0.hdslb.com/bfs/garb/item/14072c2cb4f82c053d85dc92911da37583a17668.jpg", + "image_cover_color":"#dcf0f9", + "is_hide":"false", + "item_id_card":"42123", + "item_id_emoji":"42157", + "item_id_thumbup":"42125", + "open_platform_vip_discount":"true", + "owner_uid":"647193094", + "rank_investor_show":"false", + "realname_auth":"false", + "sale_bp_forever_raw":"5500", + "sale_bp_pm_raw":"800", + "sale_buy_num_limit":"100", + "sale_quantity":"10000", + "sale_quantity_limit":"true", + "sale_region_ip_limit":"全球", + "sale_reserve_switch":"false", + "sale_time_begin":"1670410800", + "sale_type":"pay", + "suit_card_type":"big_img", + "type":"ip" + }, + "current_activity":null, + "next_activity":{ + "type":"open_platform_vip_discount", + "time_limit":true, + "time_left":410175990, + "tag":"大会员平台折扣", + "price_bp_month":640, + "price_bp_forever":4400, + "type_month":"open_platform_vip_discount", + "tag_month":"大会员平台折扣", + "time_limit_month":true, + "time_left_month":410175990 + }, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-65301210, + "sale_time_end":-1735712010, + "sale_surplus":0, + "sale_count_desc":"1万+", + "total_count_desc":"", + "tag":"粉丝套装已售罄", + "jump_link":"", + "sales_mode":0, + "suit_items":{ + "card":[ + { + "item_id":42124, + "name":"装扮小姐姐梦幻冬季粉丝", + "state":"active", + "tab_id":35, + "suit_item_id":42193, + "properties":{ + "gray_rule":"true", + "gray_rule_type":"all", + "hot":"false", + "image":"https://i0.hdslb.com/bfs/garb/item/3bebd46d5ac6eaa1d6c3f65854b184932fb6230b.png", + "image_preview_small":"https://i0.hdslb.com/bfs/garb/item/611fc0d3401623977f580f592747d721de330fc6.png", + "realname_auth":"false", + "sale_type":"other" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + }, + { + "item_id":42123, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":35, + "suit_item_id":42193, + "properties":{ + "gray_rule":"true", + "gray_rule_type":"all", + "hot":"false", + "image":"https://i0.hdslb.com/bfs/garb/item/757320776561f6bf881b3c50bd59fc937cea3387.png", + "realname_auth":"false", + "sale_type":"other" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "card_bg":[ + { + "item_id":42189, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":44, + "suit_item_id":42193, + "properties":{ + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/38cbcb481923f6a3d7e724a3837324a8ab0f602e.png", + "image_preview_small":"https://i0.hdslb.com/bfs/garb/item/c9621eedabdc728d728158aafab2e271f152561e.png", + "realname_auth":"false", + "sale_type":"suit" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "emoji_package":[ + { + "item_id":42157, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":8, + "suit_item_id":42193, + "properties":{ + "addable":"true", + "biz":"dynamic,reply,watch_full", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/0dd53dc27d401cad0a3bfc07d91dba3af3a5d6d0.png", + "is_symbol":"false", + "item_ids":"42158,42159,42160,42161,42162,42163,42164,42165,42166,42167,42168,42169,42170,42171,42172,42173,42174,42175,42176,42177,42178,42179,42180,42181,42182,42183,42184,42185,42186,42187", + "permanent":"false", + "preview":"false", + "realname_auth":"false", + "recently_used":"false", + "recommend":"false", + "ref_mid":"0", + "removable":"true", + "sale_type":"pay", + "setting_pannel_not_show":"false", + "size":"L", + "sortable":"true" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":[ + { + "item_id":42158, + "name":"[装扮小姐姐梦幻冬季_揉脸]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/e47ad8b1c16ebaa780e0574f360c67f4c45e6325.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42159, + "name":"[装扮小姐姐梦幻冬季_啾咪]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/098619d6f2859966157dc0da4d3a24ae7a690781.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42160, + "name":"[装扮小姐姐梦幻冬季_下雪了]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/08a64a396b710f8670096c5f380f2839f973d218.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42161, + "name":"[装扮小姐姐梦幻冬季_圣诞老人]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/e86122e145000e00362d635c6ebe8ac4260de7f6.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42162, + "name":"[装扮小姐姐梦幻冬季_多喝热水]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/59fb78d3801682c94b126abc0fc1f1b7603dee06.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42163, + "name":"[装扮小姐姐梦幻冬季_扔]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/d762bb454bb2f4fc3827167749b3d61597657b3b.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42164, + "name":"[装扮小姐姐梦幻冬季_生气]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/47fc00a0f13ebd61237c4617a1e5485d0647e7f5.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42165, + "name":"[装扮小姐姐梦幻冬季_贴贴]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/3a7580978ee11f033860af2435bcef6fa282ee64.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42166, + "name":"[装扮小姐姐梦幻冬季_没米了]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/55b3660d73951fb394c6f0594c9fdbeca4f39bea.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42167, + "name":"[装扮小姐姐梦幻冬季_冲鸭]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/cb7c2fbc6ab19d3462d44cabf10b87458650bf28.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42168, + "name":"[装扮小姐姐梦幻冬季_累了]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/884f721618392a0efe6686c2c61fddf04c6f2d73.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42169, + "name":"[装扮小姐姐梦幻冬季_斯密马赛]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/1bbe9b564ee17701a22e848287a5f7983fdfcb34.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42170, + "name":"[装扮小姐姐梦幻冬季_告辞]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/264c9ab6a2503013e79eecdb86118f057762bae5.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42171, + "name":"[装扮小姐姐梦幻冬季_吃我一拳]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/2f7b233826fa0d0729619bbf3dc2220b4c534b3f.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42172, + "name":"[装扮小姐姐梦幻冬季_乌拉]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/23dca67aed7565a4f3e21d8d9d5337125b34d399.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42173, + "name":"[装扮小姐姐梦幻冬季_委屈]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/cec0b3ade7249740cee45f98100275fa7cf7320a.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42174, + "name":"[装扮小姐姐梦幻冬季_溜冰]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/3704984c68c867820103795c4b5313fea0c097e9.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42175, + "name":"[装扮小姐姐梦幻冬季_好耶]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/621d4683d492901c814c64ca3c7bb880ae818779.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42176, + "name":"[装扮小姐姐梦幻冬季_硬撑罢了]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/b4d10356d0ac483b29c875518e0c539809468ba9.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42177, + "name":"[装扮小姐姐梦幻冬季_摸鱼]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/da7205f6a8e7213cca2a06e71c819850cae28977.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42178, + "name":"[装扮小姐姐梦幻冬季_注意保暖]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/170df6f81c3f42defbc07192d19de02525b14348.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42179, + "name":"[装扮小姐姐梦幻冬季_抽我]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/45541e4471e57e59b4aa6b7bcc43e800e3cbde85.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42180, + "name":"[装扮小姐姐梦幻冬季_疑问]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/0d07fd66d3888ea55aa98fa8d520a6e759596e2b.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42181, + "name":"[装扮小姐姐梦幻冬季_抱抱]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/44481b886560e9e1300781ad8a1a4d1dfbbfd6fe.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42182, + "name":"[装扮小姐姐梦幻冬季_烤红薯]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/828555bbfa4dd8cadb9fdfa5868d3101c637945b.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42183, + "name":"[装扮小姐姐梦幻冬季_Power!]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/e4744b70edd5a271dcb6f1b1c62fa32dfa92c9fb.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42184, + "name":"[装扮小姐姐梦幻冬季_堆雪人]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/9407cb861173253f1a1206e3bda7497aebfd98ec.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42185, + "name":"[装扮小姐姐梦幻冬季_好的]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/d73bccf93a20c6eedeb81d975eba99ebc048a88e.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42186, + "name":"[装扮小姐姐梦幻冬季_滑雪]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/36af70fea3fc1636de990597c1a929fecba412db.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + }, + { + "item_id":42187, + "name":"[装扮小姐姐梦幻冬季_吃火锅]", + "state":"active", + "tab_id":7, + "suit_item_id":0, + "properties":{ + "associate":"false", + "gray_rule":"true", + "gray_rule_type":"all", + "image":"https://i0.hdslb.com/bfs/garb/item/bc234259d7971bd6255f9c464597285582e7ff82.png", + "is_symbol":"false", + "ref_mid":"0", + "sale_type":"pay" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0 + } + ] + } + ], + "loading":[ + { + "item_id":42191, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":54, + "suit_item_id":42193, + "properties":{ + "gray_rule":"true", + "gray_rule_type":"all", + "image_preview_small":"https://i0.hdslb.com/bfs/garb/item/32377c9cb1167e1e251c467f6a56ca2b59f130b0.png", + "loading_frame_url":"https://i0.hdslb.com/bfs/garb/item/f2121039298817318e9a10ef25cd802ef7a546f0.png", + "loading_url":"https://i0.hdslb.com/bfs/garb/item/e5ba77a4c2d21809e5f2e407e7bf03a7df635a2c.webp", + "realname_auth":"false", + "ver":"1670384406" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "play_icon":[ + { + "item_id":42192, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":56, + "suit_item_id":42193, + "properties":{ + "drag_left_png":"https://i0.hdslb.com/bfs/garb/item/933cdf41a554ce65b2bac7cc2af578c065a01ff8.png", + "drag_right_png":"https://i0.hdslb.com/bfs/garb/item/1632ab1d853694d61fe170710b447f6bd9c9152b.png", + "gray_rule":"true", + "gray_rule_type":"all", + "middle_png":"https://i0.hdslb.com/bfs/garb/item/4e1eaa52e65da8e14bce321e7abab9e9a3a28b30.png", + "realname_auth":"false", + "squared_image":"https://i0.hdslb.com/bfs/garb/item/ca4d76d7e8384b18354709ac7e3a422a900f7e07.png", + "static_icon_image":"https://i0.hdslb.com/bfs/garb/item/a98ffc9a8871ded890959c22916f38aba61521fc.png", + "ver":"1670384416" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "skin":[ + { + "item_id":42190, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":45, + "suit_item_id":42193, + "properties":{ + "color":"#ffffff", + "color_mode":"dark", + "color_second_page":"#5d85c0", + "gray_rule":"true", + "gray_rule_type":"all", + "head_bg":"https://i0.hdslb.com/bfs/garb/item/6c74dac067a429029befc787572b5b7bc83f50a1.jpg", + "head_myself_mp4_play":"once", + "head_myself_squared_bg":"https://i0.hdslb.com/bfs/garb/item/8cff6c83023c9523669e89fc28e1cd7600f196ff.jpg", + "head_tab_bg":"https://i0.hdslb.com/bfs/garb/item/1fe3d1b486ab50d6ffdf30b29bc063818ecde544.jpg", + "image_cover":"https://i0.hdslb.com/bfs/garb/item/14072c2cb4f82c053d85dc92911da37583a17668.jpg", + "image_preview":"https://i0.hdslb.com/bfs/garb/item/14072c2cb4f82c053d85dc92911da37583a17668.jpg", + "package_md5":"4ed60db32789eb79c3e96dc8d6a23ebb", + "package_url":"https://i0.hdslb.com/bfs/garb/zip/b3c95365b791bc58fd56bba7c14b43377d7af82d.zip", + "realname_auth":"false", + "skin_mode":"normal", + "tail_bg":"https://i0.hdslb.com/bfs/garb/item/fda401903a377d79afd576f9ba921c83091e6943.png", + "tail_color":"#f6f1fd", + "tail_color_selected":"#5af1ff", + "tail_icon_ani":"true", + "tail_icon_ani_mode":"once", + "tail_icon_channel":"https://i0.hdslb.com/bfs/garb/item/504a27e5227f30741e35b5817079974335f13d29.png", + "tail_icon_dynamic":"https://i0.hdslb.com/bfs/garb/item/4e0ef0c9540277694087f0aca8aca86b87dc9331.png", + "tail_icon_main":"https://i0.hdslb.com/bfs/garb/item/2a1a97c098bf0d2374a141d8da7fad1e0d1cee24.png", + "tail_icon_mode":"img", + "tail_icon_myself":"https://i0.hdslb.com/bfs/garb/item/20050ddbc0265828e42f068b74b8f5d947f8b7b8.png", + "tail_icon_pub_btn_bg":"https://i0.hdslb.com/bfs/garb/item/4e0ef0c9540277694087f0aca8aca86b87dc9331.png", + "tail_icon_selected_channel":"https://i0.hdslb.com/bfs/garb/item/d14d87016fa2e995917f40148239bc1fa5961ec5.png", + "tail_icon_selected_dynamic":"https://i0.hdslb.com/bfs/garb/item/1b0fb973534600990ad48058eff901643fe7e9fc.png", + "tail_icon_selected_main":"https://i0.hdslb.com/bfs/garb/item/ce1272d036f196ea90e08a433d0003246822aabf.png", + "tail_icon_selected_myself":"https://i0.hdslb.com/bfs/garb/item/a7bbb67de4f22c105529e57b2a1b27737fb6d9df.png", + "tail_icon_selected_pub_btn_bg":"https://i0.hdslb.com/bfs/garb/item/1b0fb973534600990ad48058eff901643fe7e9fc.png", + "tail_icon_selected_shop":"https://i0.hdslb.com/bfs/garb/item/e1622e9643b6ec2186e9f88ee6251334a842e3d0.png", + "tail_icon_shop":"https://i0.hdslb.com/bfs/garb/item/a2eaa41ae4aba160b8b8a9cdc7bc98fd47f2720d.png", + "ver":"1670384396" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "space_bg":[ + { + "item_id":42188, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":37, + "suit_item_id":42193, + "properties":{ + "fan_no_color":"#3e52eb", + "fan_no_image":"https://i0.hdslb.com/bfs/garb/item/d4888365d80401c72fc34bcc1697c36eb2477a97.png", + "gray_rule":"true", + "gray_rule_type":"all", + "image1_landscape":"https://i0.hdslb.com/bfs/garb/item/971519888f96d2e3cd88e55cb2360ac087f1dde7.png", + "image1_portrait":"https://i0.hdslb.com/bfs/garb/item/78fb9e4a63a17854c7df1e3b1f5f9f48df723e2c.jpg", + "image2_landscape":"https://i0.hdslb.com/bfs/garb/item/90a99f2615ba34596b05cd2a268490cf0072f1e7.png", + "image2_portrait":"https://i0.hdslb.com/bfs/garb/item/11d1a96097ebe357c47277f6c0397a0323c316a5.jpg", + "image3_landscape":"https://i0.hdslb.com/bfs/garb/item/3d2e029d2f6d8c3a425377af5be47a4c8bf2d102.jpg", + "image3_portrait":"https://i0.hdslb.com/bfs/garb/item/3d1495d80211c07ab6773f7aa1d6cb198940907d.jpg", + "realname_auth":"false" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ], + "thumbup":[ + { + "item_id":42125, + "name":"装扮小姐姐梦幻冬季", + "state":"active", + "tab_id":36, + "suit_item_id":42193, + "properties":{ + "gray_rule":"true", + "gray_rule_type":"all", + "image_ani":"https://i0.hdslb.com/bfs/garb/item/6a2ae0534879d765087c284c745b3e88340a7371.bin", + "image_ani_cut":"https://i0.hdslb.com/bfs/garb/item/6a2ae0534879d765087c284c745b3e88340a7371.bin", + "image_preview":"https://i0.hdslb.com/bfs/garb/item/0cbe14efc8d5397bb6edbd4adae5dcf0ce307c15.png", + "realname_auth":"false" + }, + "current_activity":null, + "next_activity":null, + "current_sources":null, + "finish_sources":null, + "sale_left_time":-1735712010, + "sale_time_end":-1735712010, + "sale_surplus":0, + "items":null + } + ] + }, + "fan_user":{ + "mid":647193094, + "nickname":"装扮小姐姐", + "avatar":"https://i1.hdslb.com/bfs/baselabs/523830e526a81001e4c3dcec9f317623a4f1dd2e.png" + }, + "unlock_items":null, + "activity_entrance":{ + "id":0, + "item_id":0, + "title":"", + "image_cover":"", + "jump_link":"" + } + } +} +``` + +
+ +## 主题装扮列表API + +> https://api.bilibili.com/x/garb/v2/mall/partition/item/list + +*请求方式: GET* + +**URL参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|----------|-----|---------|-----|---------------------------------------------------------------------------| +| csrf | str | 用户csrf | 非必要 | | +| group_id | num | 分组id | 非必要 | 建议加上,不填的时候为0,一般配合`part_id`使用。
`0`: 装扮
`22`: 头像挂件
`5`: 动态卡片 | +| location | str | | 非必要 | **尚不明确** | +| part_id | num | 分类id | 必要 | 一般配合`group_id`使用。
`6`: 装扮
`1`: 头像挂件
`2`: 动态卡片
| +| pn | num | 页码 | 非必要 | 不填为1 | +| ps | num | 每页的数据数量 | 非必要 | 不填为20,默认值和最大值也都为20 | +| sort_type | num | 排序方式 | 非必要 | `0`: 默认排序
`1`: 按销量排序
`2`: 按最新上架时间排序 | +| user_info | str | 用户信息 | 非必要 | 为json对象,其中包含`buvid`和`buvid3`两个字段。 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------|-----------------------| +| code | num | 返回值 | `0`:成功
`-400`:错误 | +| message | str | 错误信息 | | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +|------|-------|------|--------------| +| page | obj | 分页信息 | 包含装扮总数、页码和每页的数据数量 | +| list | array | 装扮列表 | | +| offset_info | str | 补偿信息 | **作用尚不明确** | +| group | str | 分组 | **作用尚不明确** | + +`list`对象: + +| 字段 | 类型 | 内容 | 备注 | +|--------------|-----|-----|---------------| +| item_id | num | 装扮id | 如果为0,则该装扮为收藏集 | +| name | str | 装扮名称 | | +| group_id | num | 分组id | | +| group_name | str | 分组名称 | | +| part_id | num | 分类id | | +| state | str | 状态 | | +| properties | obj | 装扮具体属性 | | +| current_activity | str | 当前活动 | | +| next_activity | obj | 下一个活动 | | +| current_sources | str | | **作用尚不明确** | +| finish_sources | str | | **作用尚不明确** | +| sale_left_time | num | | **作用尚不明确** | +| sale_time_end | num | | **作用尚不明确** | +| sale_surplus | num | 商品剩余数量 | | +| sale_count_desc | str | 促销销量说明 | | +| total_count_desc | str | 总销量说明 | | +| tag | str | 标签 | | +| jump_link | str | 跳转链接 | | +| sales_mode | num | 促销模式 | | + +**示例:** + +```shell +curl -G 'https://api.bilibili.com/x/garb/v2/mall/partition/item/list' \ + --data-urlencode 'group_id=0' \ + --data-urlencode 'part_id=6' \ + --data-urlencode 'pn=1' \ + --data-urlencode 'ps=20' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "page": { + "total": 0, + "pn": 1, + "ps": 10 + }, + "list": [ + { + "item_id": 0, + "name": "MyGO!!!!!收藏集", + "group_id": 47, + "group_name": "MyGO!!!!!收藏集", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "59811", + "dlc_act_id": "102857", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "102858", + "dlc_lottery_sale_quantity": "1418368", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/c34fdba0b2a2aa31ff22bda77e217ca9c7e37344.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "100万+", + "total_count_desc": "已售100万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=102857&hybrid_set_header=2&lottery_id=102858", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "饿殍:明末千里行", + "group_id": 49, + "group_name": "饿殍:明末千里行", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "21825", + "dlc_act_id": "102794", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "102886", + "dlc_lottery_sale_quantity": "520677", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/838639725c0c37f6ccc5e85b2a1ed6ff895baca2.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "52万+", + "total_count_desc": "已售52万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=102794&hybrid_set_header=2&lottery_id=102886", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "2024拜年纪", + "group_id": 70, + "group_name": "2024拜年纪", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "30103", + "dlc_act_id": "279", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "256", + "dlc_lottery_sale_quantity": "332544", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "http://i0.hdslb.com/bfs/archive/f96a8cf6866ccef8f54de4773acf0cb07b915ac6.png", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "33万+", + "total_count_desc": "已售33万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=279&hybrid_set_header=2&lottery_id=256", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "2233·十五周年站庆", + "group_id": 70, + "group_name": "2233·十五周年站庆", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "38339", + "dlc_act_id": "293", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "302", + "dlc_lottery_sale_quantity": "63336", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "http://i0.hdslb.com/bfs/archive/633174e11f3587166e31b37cc87feb184808408d.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "6万+", + "total_count_desc": "已售6万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=293&hybrid_set_header=2&lottery_id=302", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "奈姬niki收藏集", + "group_id": 47, + "group_name": "奈姬niki收藏集", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "24158", + "dlc_act_id": "104783", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "104784", + "dlc_lottery_sale_quantity": "120787", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/6a2395d9be428ac09766deafbd8ead49503216ea.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "12万+", + "total_count_desc": "已售12万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=104783&hybrid_set_header=2&lottery_id=104784", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "黎歌Neeko收藏集-幻夏恋歌", + "group_id": 47, + "group_name": "黎歌Neeko收藏集-幻夏恋歌", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "22125", + "dlc_act_id": "100858", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "102305", + "dlc_lottery_sale_quantity": "528139", + "dlc_lottery_type": "2", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/ff57aba427ce4dd3608660233ba1d3ec518ff6aa.png", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "52万+", + "total_count_desc": "已售52万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=100858&hybrid_set_header=2&lottery_id=102305", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "2024明日方舟音律联觉", + "group_id": 49, + "group_name": "2024明日方舟音律联觉", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "59594", + "dlc_act_id": "102942", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "102943", + "dlc_lottery_sale_quantity": "1126215", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/c59397dff6e6618058b7d943aa9614b0d74a9c17.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "100万+", + "total_count_desc": "已售100万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=102942&hybrid_set_header=2&lottery_id=102943", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "BLG·2023LPL出征收藏集", + "group_id": 49, + "group_name": "BLG·2023LPL出征收藏集", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "18878", + "dlc_act_id": "228", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "157", + "dlc_lottery_sale_quantity": "14537", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "http://i0.hdslb.com/bfs/archive/dc0af06ae0e5018cc24ecab1be76742ff1ad9fc2.png", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "1万+", + "total_count_desc": "已售1万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=228&hybrid_set_header=2&lottery_id=157", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "幻星乐园", + "group_id": 107, + "group_name": "幻星乐园", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "22563", + "dlc_act_id": "103874", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "103875", + "dlc_lottery_sale_quantity": "319104", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/0f8eb52dfb0d3c7f89fb4d33749e4bf62544112e.jpg", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "31万+", + "total_count_desc": "已售31万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=103874&hybrid_set_header=2&lottery_id=103875", + "sales_mode": 0 + }, + { + "item_id": 0, + "name": "玉之けだま_毛玉收藏集", + "group_id": 46, + "group_name": "玉之けだま_毛玉收藏集", + "part_id": 0, + "state": "active", + "properties": { + "book_amount": "30723", + "dlc_act_id": "104459", + "dlc_act_status": "2", + "dlc_is_free": "0", + "dlc_lottery_id": "104460", + "dlc_lottery_sale_quantity": "267724", + "dlc_lottery_type": "1", + "dlc_sale_end_time": "0", + "dlc_sale_mode": "0", + "dlc_sale_start_time": "0", + "dlc_surplus_stock": "0", + "image_cover": "https://i0.hdslb.com/bfs/garb/565bf9465865efdd28b07c40f8352e43091ff4da.png", + "sale_bp_forever_raw": "990", + "type": "dlc_act" + }, + "current_activity": null, + "next_activity": null, + "current_sources": null, + "finish_sources": null, + "sale_left_time": -1735808611, + "sale_time_end": -1735808611, + "sale_surplus": 0, + "sale_count_desc": "26万+", + "total_count_desc": "已售26万+份", + "tag": "", + "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=104459&hybrid_set_header=2&lottery_id=104460", + "sales_mode": 0 + } + ], + "offset_info": "pool::10", + "group": "garb_feed_recommend_rule_ab_key:1" + } +} +``` + +
+ +## 收藏集列表API + +> https://api.bilibili.com/x/vas/dlc_act/act/list + +*请求方式: GET* + +**URL参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|-------|------|--------|-----|---------------------------| +| csrf | str | 用户csrf | 非必要 | | +| scene | num | | 非必要 | **作用尚不明确,默认为1,不填则获取到空数据** | +| site | site | 位置 | 非必要 | 不填为20,但建议填上,会影响到后面的json数据 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +|---------|------|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------| +| code | num | 返回值 | `0`:成功 | +| message | str | 错误信息 | | +| ttl | num | 1 | | +| data | obj | 信息本体 | | +| is_more | bool | 是否还有足够的收藏集 | 如果为true,则说明如果继续增加url参数中site的值,都还能从当前的位置往后列出20份收藏集;
如果为false,则说明如果继续增加url参数中site的值,将无法继续从当前位置列出20份收藏集(最多也是20份),
这表示页面已经拉到底了,可用于判断是否已经获取完了所有收藏集的数据。 | +| site | num | 位置 | **它的值为url参数中site的值的基础上再加20**,比如url参数中的site值为0,则此site的值为20,
表示这页的收藏集列表是从序号为0的收藏集开始列出,直到列出往后的20份。 | + +`data` 对象中的 `list` 数组对象: + +| 字段 | 类型 | 内容 | 备注 | +|--------------|-----|---------|---------------| +| act_id | num | 收藏集id | | +| act_name | num | 收藏集名称 | | +| act_pic | num | 收藏集封面图片 | | +| sale_price | num | 收藏集价格 | 以0.01B币为单位 | +| act_desc | num | 收藏集说明 | | +| tag | num | 标签 | | +| lottery_id | num | 抽奖id | | +| lottery_type | num | 抽奖类型 | | +| act_link | num | 收藏集链接 | | + +**示例:** + +```shell +curl -G 'https://api.bilibili.com/x/vas/dlc_act/act/list' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'scene=1' \ + --data-urlencode 'site=0' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "act_id": 105432, + "act_name": "挚友的旅途·羽毛收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/b6a7314b6ad321b638c3d2270903c02c0d2d7b20.png", + "sale_price": 9900, + "act_desc": "已售份数6千+", + "tag": "新奖励", + "lottery_id": 105433, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105432&hybrid_set_header=2&lottery_id=105433" + }, + { + "act_id": 102054, + "act_name": "兰音的衣柜奇缘-兰音·拾光幻梦", + "act_pic": "https://i0.hdslb.com/bfs/garb/b7e5465ff80a3260cdc1c1255853730bfc6bd818.jpg", + "sale_price": 9900, + "act_desc": "已售份数3万+", + "tag": "新卡池", + "lottery_id": 105434, + "lottery_type": 2, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=102054&hybrid_set_header=2&lottery_id=105434" + }, + { + "act_id": 102550, + "act_name": "洛天依·收藏集-戏游九州", + "act_pic": "https://i0.hdslb.com/bfs/garb/74706a52bc08764828f9251439055b18646e98b3.png", + "sale_price": 9900, + "act_desc": "已售份数6万+", + "tag": "新奖励", + "lottery_id": 105269, + "lottery_type": 2, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=102550&hybrid_set_header=2&lottery_id=105269" + }, + { + "act_id": 105006, + "act_name": "村村宇宙·小猫女仆降临", + "act_pic": "https://i0.hdslb.com/bfs/garb/cfccce3c1520b828f02d7b4e009cc7d965133025.jpg", + "sale_price": 9900, + "act_desc": "已售份数1万+", + "tag": "新奖励", + "lottery_id": 105167, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105006&hybrid_set_header=2&lottery_id=105167" + }, + { + "act_id": 105435, + "act_name": "东方收藏集·浮生若梦", + "act_pic": "https://i0.hdslb.com/bfs/garb/27156281f59f774198f38b9a4a64d9a74efb9290.png", + "sale_price": 9900, + "act_desc": "已售份数6万+", + "tag": "新奖励", + "lottery_id": 105438, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105435&hybrid_set_header=2&lottery_id=105438" + }, + { + "act_id": 105407, + "act_name": "紫罗兰永恒花园收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/9e54ae06dfd32625071153adc702eb7554b45af8.jpg", + "sale_price": 9900, + "act_desc": "已售份数1万+", + "tag": "新奖励", + "lottery_id": 105408, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105407&hybrid_set_header=2&lottery_id=105408" + }, + { + "act_id": 105461, + "act_name": "Team Spirit 冠军收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/0a68dac1e2d37767c26930ad4d3121e2b7c56c44.jpg", + "sale_price": 9900, + "act_desc": "已售份数9千+", + "tag": "新奖励", + "lottery_id": 105462, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105461&hybrid_set_header=2&lottery_id=105462" + }, + { + "act_id": 105326, + "act_name": "小神奈殿下收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/ed3b6e516ef05cf595cf9d24203e16205eea55e5.png", + "sale_price": 9900, + "act_desc": "已售份数1万+", + "tag": "新奖励", + "lottery_id": 105327, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105326&hybrid_set_header=2&lottery_id=105327" + }, + { + "act_id": 105444, + "act_name": "yumekiii收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/afc2dd57c962244d8021b92752038714b7b3341e.png", + "sale_price": 9900, + "act_desc": "已售份数3千+", + "tag": "新奖励", + "lottery_id": 105445, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105444&hybrid_set_header=2&lottery_id=105445" + }, + { + "act_id": 101545, + "act_name": "Sheya收藏集-月食梦-镜海之梦", + "act_pic": "https://i0.hdslb.com/bfs/garb/262e59d60698d6797488f081826e172e6689c339.jpg", + "sale_price": 9900, + "act_desc": "已售份数3千+", + "tag": "新卡池", + "lottery_id": 105451, + "lottery_type": 2, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=101545&hybrid_set_header=2&lottery_id=105451" + }, + { + "act_id": 105388, + "act_name": "LOOPY可爱计划", + "act_pic": "https://i0.hdslb.com/bfs/garb/f24711f2f35cb9db7919bb888af3fe23f5c588ad.jpg", + "sale_price": 9900, + "act_desc": "", + "tag": "限时卡池", + "lottery_id": 105411, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105388&hybrid_set_header=2&lottery_id=105411" + }, + { + "act_id": 105413, + "act_name": "范式起源", + "act_pic": "https://i0.hdslb.com/bfs/garb/784d6073f5cc3110117449da018845443b9c484d.png", + "sale_price": 9900, + "act_desc": "已售份数1万+", + "tag": "", + "lottery_id": 105414, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105413&hybrid_set_header=2&lottery_id=105414" + }, + { + "act_id": 105409, + "act_name": "VirtuaReal碧波澜影", + "act_pic": "https://i0.hdslb.com/bfs/garb/63f57f0014e47d1302005a5c6ab0164e925c69ef.png", + "sale_price": 9900, + "act_desc": "已售份数3万+", + "tag": "", + "lottery_id": 105410, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105409&hybrid_set_header=2&lottery_id=105410" + }, + { + "act_id": 101388, + "act_name": "寺田堤拉 TERADA TERA-白橙绘锦", + "act_pic": "https://i0.hdslb.com/bfs/garb/8ec594c0a11706846f5394eaac78fd97065000b1.png", + "sale_price": 9900, + "act_desc": "已售份数5千+", + "tag": "", + "lottery_id": 104985, + "lottery_type": 2, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=101388&hybrid_set_header=2&lottery_id=104985" + }, + { + "act_id": 104978, + "act_name": "少女乐队的呐喊", + "act_pic": "https://i0.hdslb.com/bfs/garb/cdf0c00bd070ee77951e695355b3394be53b8288.jpg", + "sale_price": 9900, + "act_desc": "已售份数39万+", + "tag": "", + "lottery_id": 105056, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=104978&hybrid_set_header=2&lottery_id=105056" + }, + { + "act_id": 104174, + "act_name": "顾晓Khaos收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/52152a236bcd4e2829012eb8cc32d1e2f24490c9.png", + "sale_price": 9900, + "act_desc": "已售份数8千+", + "tag": "", + "lottery_id": 104181, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=104174&hybrid_set_header=2&lottery_id=104181" + }, + { + "act_id": 105151, + "act_name": "晴云-醒时晴空", + "act_pic": "https://i0.hdslb.com/bfs/garb/1320dd55c13a11dfc7c714a75b56159d73c2feae.jpg", + "sale_price": 9900, + "act_desc": "已售份数3千+", + "tag": "", + "lottery_id": 105168, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=105151&hybrid_set_header=2&lottery_id=105168" + }, + { + "act_id": 103966, + "act_name": "礼拜六Liu收藏集", + "act_pic": "https://i0.hdslb.com/bfs/garb/9c5b03a79074b1354ee4277d77c108441ac8ff35.jpg", + "sale_price": 9900, + "act_desc": "已售份数1万+", + "tag": "", + "lottery_id": 103967, + "lottery_type": 1, + "act_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=103966&hybrid_set_header=2&lottery_id=103967" + } + ], + "is_more": true, + "site": 20 + } +} +``` + +
\ No newline at end of file From 98149c529978507c1db34635a6b3106f7e399e4d Mon Sep 17 00:00:00 2001 From: Ho Date: Fri, 3 Jan 2025 14:12:19 +0800 Subject: [PATCH 13/66] =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=9A=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=89=A7=E9=9B=86=E6=98=8E=E7=BB=86=EF=BC=88web?= =?UTF-8?q?=E7=AB=AF=EF=BC=89=EF=BC=88ssid/epid=E6=96=B9=E5=BC=8F=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/bangumi/info.md | 874 +++++++++++++++++++++++++++++++++---------- 1 file changed, 675 insertions(+), 199 deletions(-) diff --git a/docs/bangumi/info.md b/docs/bangumi/info.md index 6857cd3..6c3005d 100644 --- a/docs/bangumi/info.md +++ b/docs/bangumi/info.md @@ -1,3 +1,74 @@ +# 剧集地区一览 + +| ID | 名称 | +|----|-------| +| 1 | 中国大陆 | +| 2 | 日本 | +| 3 | 美国 | +| 4 | 英国 | +| 5 | 加拿大 | +| 6 | 中国香港 | +| 7 | 中国台湾 | +| 8 | 韩国 | +| 9 | 法国 | +| 10 | 泰国 | +| 11 | 马来西亚 | +| 12 | 新加坡 | +| 13 | 西班牙 | +| 14 | 俄罗斯 | +| 15 | 德国 | +| 16 | 其他 | +| 17 | 丹麦 | +| 18 | 乌克兰 | +| 19 | 以色列 | +| 20 | 伊朗 | +| 21 | 保加利亚 | +| 22 | 克罗地亚 | +| 23 | 冰岛 | +| 24 | 匈牙利 | +| 25 | 南非 | +| 26 | 印尼 | +| 27 | 印度 | +| 28 | 哥伦比亚 | +| 30 | 土耳其 | +| 31 | 墨西哥 | +| 32 | 委内瑞拉 | +| 33 | 巴西 | +| 34 | 希腊 | +| 35 | 意大利 | +| 36 | 挪威 | +| 37 | 捷克 | +| 38 | 摩洛哥 | +| 39 | 新西兰 | +| 40 | 智利 | +| 41 | 比利时 | +| 42 | 波兰 | +| 43 | 澳大利亚 | +| 44 | 爱尔兰 | +| 45 | 瑞典 | +| 46 | 瑞士 | +| 47 | 芬兰 | +| 48 | 苏联 | +| 49 | 荷兰 | +| 50 | 越南 | +| 51 | 阿根廷 | +| 52 | 马耳他 | +| 53 | 古巴 | +| 54 | 菲律宾 | +| 55 | 哈萨克斯坦 | +| 56 | 黎巴嫩 | +| 57 | 塞浦路斯 | +| 58 | 卡塔尔 | +| 59 | 阿联酋 | +| 60 | 奥地利 | +| 61 | 西德 | +| 62 | 卢森堡 | +| 63 | 罗马尼亚 | +| 64 | 印度尼西亚 | +| 65 | 南斯拉夫 | +| 66 | 蒙古 | +| 70 | 葡萄牙 | + # 剧集基本信息 ## 剧集基本信息(mdid方式) @@ -57,10 +128,10 @@ `areas`数组中的对象: -| 字段 | 类型 | 内容 | 备注 | -|------|-----|--------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| id | num | 所属地区编号 | 1:中国大陆
2:日本
3:美国
4:英国
5:加拿大
6:中国香港
7:中国台湾
8:韩国
9:法国
10:泰国
12:新加坡
13:西班牙
14:俄罗斯
15:德国
16:其他
17:丹麦
18:乌克兰
19:以色列
20:伊朗
24:匈牙利
22:克罗地亚
23:冰岛
24:匈牙利
25:南非
26:印尼
27:印度
30:土耳其
31:墨西哥
32:委内瑞拉
33:巴西
34:希腊
35:意大利
36:挪威
37:捷克
39:新西兰
40:智利
41:比利时
42:波兰
43:澳大利亚
44:爱尔兰
45:瑞典
46:瑞士
47:芬兰
48:苏联
49:荷兰
51:阿根廷
53:古巴
54:菲律宾
55:哈萨克斯坦 | -| name | str | 所属地区名称 | | +| 字段 | 类型 | 内容 | 备注 | +|------|-----|--------|-------------------| +| id | num | 所属地区编号 | [剧集地区一览](#剧集地区一览) | +| name | str | 所属地区名称 | | `media`中的`new_ep`对象: @@ -141,262 +212,667 @@ curl -G 'https://api.bilibili.com/pgc/review/user' \ **url参数:** -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| --------- | ---- | -------- | ------------ | ------------------------ | -| season_id | num | 番剧ssid | 必要(可选) | season_id与ep_id任选其一 | -| ep_id | num | 剧集epid | 必要(可选) | season_id与ep_id任选其一 | +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|-----------|-----|--------|--------|---------------------| +| season_id | num | 番剧ssid | 必要(可选) | season_id与ep_id任选其一 | +| ep_id | num | 剧集epid | 必要(可选) | season_id与ep_id任选其一 | **json回复:** 根对象: -| 字段 | 类型 | 内容 | 备注 | -| ------- | ---- | -------- | ----------------------- | -| code | num | 返回值 | 0:成功
-404:错误 | -| message | str | 错误信息 | 默认为success | -| ttl | num | 1 | 作用尚不明确 | -| result | obj | 信息本体 | | +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------|-------------------| +| code | num | 返回值 | 0:成功
-404:错误 | +| message | str | 错误信息 | 默认为success | +| result | obj | 信息本体 | | `result`对象: -| 字段 | 类型 | 内容 | 备注 | -| --------------- | ------ | -------------------------- | ------------------------------------------ | -| activity | obj | 参与的活动 | | -| alias | str | 空 | 作用尚不明确 | -| bkg_cover | str | 网页背景图片url | 无则为空 | -| cover | str | 剧集封面图片url | | -| episodes | array | 正片剧集列表 | | -| evaluate | str | 简介 | | -| jp_title | str | 空 | 作用尚不明确 | -| link | str | 简介页面url | | -| media_id | num | 剧集mdid | | -| mode | num | 2 | 作用尚不明确 | -| new_ep | obj | 更新信息 | | -| payment | obj | 会员&付费信息 | 若无相关内容则无此项 | -| positive | obj | | | -| publish | obj | 发布信息 | | -| rating | obj | 评分信息 | 若无相关内容则无此项 | -| record | str | 备案号 | 无则为空 | -| rights | obj | 属性标志信息 | | -| season_id | num | 番剧ssid | | -| season_title | str | 剧集标题 | | -| seasons | array | 同系列所有季信息 | | -| section | array | 花絮、PV、番外等非正片内容 | 若无相关内容则无此项 | -| series | obj | 系列信息 | | -| share_copy | str | 《{标题}》+{备注} | | -| share_sub_title | str | 备注 | | -| share_url | str | 番剧播放页面url | | -| show | obj | 网页全屏标志 | | -| square_cover | str | 方形封面图片url | | -| stat | obj | 状态数 | | -| status | num | | | -| subtitle | str | 剧集副标题 | | -| title | str | 剧集标题 | | -| total | num | 总计正片集数 | 未完结:大多为-1
已完结:正整数 | -| type | num | 剧集类型 | 1:番剧
2:电影
3:纪录片
4:国创
5:电视剧
7:综艺 | -| up_info | obj | UP主信息 | 若无相关内容则无此项 | - +| 字段 | 类型 | 内容 | 备注 | +|-------------------------|-------|----------------|----------------------------------------------------------| +| activity | obj | 参与的活动 | | +| actors | str | | | +| alias | str | 空 | 作用尚不明确 | +| areas | array | | | +| bkg_cover | str | 网页背景图片url | 无则为空 | +| cover | str | 剧集封面图片url | | +| delivery_fragment_video | bool | | | +| enable_vt | bool | | | +| episodes | array | 正片剧集列表 | | +| evaluate | str | 简介 | | +| freya | obj | | | +| hide_ep_vv_vt_dm | num | | | +| icon_font | obj | | | +| jp_title | str | 空 | 作用尚不明确 | +| link | str | 简介页面url | | +| media_id | num | 剧集mdid | | +| mode | num | 2 | 作用尚不明确 | +| multi_view_info | obj | | | +| new_ep | obj | 更新信息 | | +| payment | obj | 会员&付费信息 | 若无相关内容则无此项 | +| payPack | obj | | | +| play_strategy | obj | | | +| positive | obj | | | +| publish | obj | 发布信息 | | +| rating | obj | 评分信息 | 若无相关内容则无此项 | +| record | str | 备案号 | 无则为空 | +| rights | obj | 属性标志信息 | | +| season_id | num | 番剧ssid | | +| season_title | str | 剧集标题 | | +| seasons | array | 同系列所有季信息 | | +| section | array | 花絮、PV、番外等非正片内容 | 若无相关内容则无此项 | +| section_bottom_desc | str | | | +| series | obj | 系列信息 | | +| share_copy | str | 《{标题}》+{备注} | | +| share_sub_title | str | 备注 | | +| share_url | str | 番剧播放页面url | | +| show | obj | 网页全屏标志 | | +| show_season_type | num | | | +| square_cover | str | 方形封面图片url | | +| staff | str | | | +| stat | obj | 状态数 | | +| status | num | | | +| styles | array | | | +| subtitle | str | 剧集副标题 | | +| title | str | 剧集标题 | | +| total | num | 总计正片集数 | 未完结:大多为-1
已完结:正整数 | +| type | num | 剧集类型 | 1:番剧
2:电影
3:纪录片
4:国创
5:电视剧
7:综艺 | +| up_info | obj | UP主信息 | 若无相关内容则无此项 | +| user_status | obj | | | `result`中的`activity`对象: -| 字段 | 类型 | 内容 | 备注 | -| ----------- | ---- | -------- | ------------ | -| head_bg_url | str | 空 | 作用尚不明确 | -| id | num | 活动id | | -| title | str | 活动标题 | | +| 字段 | 类型 | 内容 | 备注 | +|-------------|-------|------|--------| +| cover | str | | | +| head_bg_url | str | 空 | 作用尚不明确 | +| id | num | 活动id | | +| link | str | | | +| pendants | array | | | +| title | str | 活动标题 | | + +`activity`中的`pendants`数组 + +| 字段名 | 类型 | 内容 | 备注 | +|-------|-----|----|----| +| image | str | | | +| name | str | | | +| pid | num | | | + +`result`中的`areas`数组 + +| 字段名 | 类型 | 内容 | 备注 | +|------|-----|--------|-------------------| +| id | num | 所属地区编号 | [剧集地区一览](#剧集地区一览) | +| name | str | 所属地区名称 | | `result`中的`episodes`数组: -| 项 | 类型 | 内容 | 备注 | -| ---- | ---- | --------------- | ------------ | -| 0 | obj | 正片第1集 | | -| n | obj | 正片第(n+1)集 | 按照顺序排列 | -| …… | obj | | | +| 项 | 类型 | 内容 | 备注 | +|----|-----|-----------|--------| +| 0 | obj | 正片第1集 | | +| n | obj | 正片第(n+1)集 | 按照顺序排列 | +| …… | obj | | | `episodes`数组中的对象: -| 字段 | 类型 | 内容 | 备注 | -| ------------ | ---- | --------------------------------- | -------------------- | -| aid | num | 单集稿件avid | | -| badge | str | 标签文字 | 例如`会员`、`限免`等 | -| badge_info | obj | | | -| badge_type | num | | | -| bvid | str | 单集稿件bvid | | -| cid | num | 视频cid | | -| cover | str | 单集封面url | | -| dimension | obj | 分辨率信息 | | -| from | str | | | -| id | num | 单集epid | | -| link | str | 单集网页url | | -| long_title | str | 单集完整标题 | | -| pub_time | num | 发布时间 | 时间戳 | -| pv | num | 0 | 作用尚不明确 | -| release_date | str | 空 | 作用尚不明确 | -| rights | obj | | | -| share_copy | str | 《{标题}》+第n话+{单集完整标题} | | -| share_url | str | 单集网页url | | -| short_link | str | 单集网页url短链接 | | -| status | num | | | -| subtitle | str | 单集副标题 | 观看次数文字 | -| title | str | 单集标题 | | -| vid | str | 单集vid | vupload_+{cid} | +| 字段 | 类型 | 内容 | 备注 | +|--------------------|-------|---------------------|----------------| +| aid | num | 单集稿件avid | | +| archive_attr | num | | | +| badge | str | 标签文字 | 例如`会员`、`限免`等 | +| badge_info | obj | | | +| badge_type | num | | | +| bvid | str | 单集稿件bvid | | +| cid | num | 视频cid | | +| cover | str | 单集封面url | | +| dimension | obj | 分辨率信息 | | +| duration | num | | | +| enable_vt | bool | | | +| ep_id | num | | | +| from | str | | | +| id | num | 单集epid | | +| interaction | obj | | | +| is_sub_view | bool | | | +| is_view_hide | bool | | | +| link | str | 单集网页url | | +| long_title | str | 单集完整标题 | | +| multi_view_eps | array | | | +| pub_time | num | 发布时间 | 时间戳 | +| pv | num | 0 | 作用尚不明确 | +| release_date | str | 空 | 作用尚不明确 | +| rights | obj | | | +| section_type | num | | | +| share_copy | str | 《{标题}》+第n话+{单集完整标题} | | +| share_url | str | 单集网页url | | +| short_link | str | 单集网页url短链接 | | +| show_title | str | | | +| showDrmLoginDialog | bool | | | +| skip | obj | | | +| status | num | | | +| subtitle | str | 单集副标题 | 观看次数文字 | +| title | str | 单集标题 | | +| toast_title | str | | | +| vid | str | 单集vid | vupload_+{cid} | + +`episodes`中的`badge_info`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|----------------|-----|----|----| +| bg_color | str | | | +| bg_color_night | str | | | +| text | str | | | + +`episodes`中的`dimension`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|--------|-----|----|----| +| height | num | | | +| rotate | num | | | +| width | num | | | + +`episodes`中的`interaction`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|---------------|------|----|----| +| graph_version | num | | | +| interaction | bool | | | + +`episodes`中的`multi_view_eps`数组 + +| 字段名 | 类型 | 内容 | 备注 | +|-------|-----|----|----| +| ep_id | num | | | + +`episodes`中的`rights`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|----------------|-----|----|----| +| allow_demand | num | | | +| allow_dm | num | | | +| allow_download | num | | | +| area_limit | num | | | + +`episodes`中的`skip`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-----|-----|----|----| +| ed | obj | | | +| op | obj | | | + +`skip`对象中的`ed`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-------|-----|----|----| +| end | num | | | +| start | num | | | + +`skip`对象中的`op`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-------|-----|----|----| +| end | num | | | +| start | num | | | + +`result`中的`freya`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-----------------|-----|----|----| +| bubble_desc | str | | | +| bubble_show_cnt | num | | | +| icon_show | num | | | + +`result`中的`icon_font`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|------|-----|----|----| +| name | str | | | +| text | str | | | + +`result`中的`multi_view_info`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|----------------------|------|----|----| +| changing_dance | str | | | +| is_multi_view_season | bool | | | `result`中的`new_ep`对象: -| 字段 | 类型 | 内容 | 备注 | -| ------ | ---- | ------------ | ---------------- | -| desc | str | 更新备注 | | -| id | num | 最新一话epid | | -| is_new | num | 是否最新发布 | 0:否
1:是 | -| title | str | 最新一话标题 | | +| 字段 | 类型 | 内容 | 备注 | +|--------|-----|----------|--------------| +| desc | str | 更新备注 | | +| id | num | 最新一话epid | | +| is_new | num | 是否最新发布 | 0:否
1:是 | +| title | str | 最新一话标题 | | `result`中的`payment`对象: -| 字段 | 类型 | 内容 | 备注 | -| ------------------- | ---- | ------------ | -------- | -| discount | num | 折扣 | 100为原价 | -| pay_type | obj | 支付相关 | | -| price | str | 售价 | | -| promotion | str | 推广信息 | | -| vip_discount | num | 大会员折扣 | | -| vip_first_promotion | str | | | -| vip_price | str | 大会员售价 | | -| vip_promotion | str | 大会员推广信息 | | +| 字段 | 类型 | 内容 | 备注 | +|---------------------|-----|---------|--------| +| discount | num | 折扣 | 100为原价 | +| pay_type | obj | 支付相关 | | +| price | str | 售价 | | +| promotion | str | 推广信息 | | +| tip | str | | | +| view_start_time | num | | | +| vip_discount | num | 大会员折扣 | | +| vip_first_promotion | str | | | +| vip_price | str | 大会员售价 | | +| vip_promotion | str | 大会员推广信息 | | `payment`中的`pay_type`对象: -| 字段 | 类型 | 内容 | 备注 | -| ------------------- | ---- | ------------- | ------------------------- | -| allow_discount | num | 启用折扣 | 0:否
1:是
下同 | -| allow_pack | num | | | -| allow_ticket | num | 启用票券 | | -| allow_time_limit | num | 启用时间限制 | | -| allow_vip_discount | num | 启用大会员折扣 | | -| forbid_bb | num | 禁止使用B币券 | | +| 字段 | 类型 | 内容 | 备注 | +|--------------------|-----|---------|----------------------| +| allow_discount | num | 启用折扣 | 0:否
1:是
下同 | +| allow_pack | num | | | +| allow_ticket | num | 启用票券 | | +| allow_time_limit | num | 启用时间限制 | | +| allow_vip_discount | num | 启用大会员折扣 | | +| forbid_bb | num | 禁止使用B币券 | | + +`result`中的`payPack`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-----------------------|-----|----|----| +| id | num | | | +| not_paid_text_for_app | str | | | +| paid_text_for_app | str | | | +| pay_pack_url | str | | | +| status | num | | | +| title | str | | | + +`result`中的`play_strategy`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|------------|-------|----|----| +| strategies | array | | | `result`中的`positive`对象: -| 字段 | 类型 | 内容 | 备注 | -| ----- | ---- | ---- | ---- | -| id | num | | | -| title | str | | | +| 字段 | 类型 | 内容 | 备注 | +|-------|-----|----|----| +| id | num | | | +| title | str | | | `result`中的`publish`对象: -| 字段 | 类型 | 内容 | 备注 | -| --------------- | ---- | ---------------- | ------------------------ | -| is_finish | num | 完结状态 | 0:未完结
1:已完结 | -| is_started | num | 是否发布 | 0:未发布
1:已发布 | -| pub_time | str | 发布时间 | YYYY-MM-DDD hh:mm:ss | -| pub_time_show | str | 发布时间文字介绍 | | -| unknow_pub_date | num | 0 | 作用尚不明确 | -| weekday | num | 0 | 作用尚不明确 | +| 字段 | 类型 | 内容 | 备注 | +|-----------------|-----|----------|----------------------| +| is_finish | num | 完结状态 | 0:未完结
1:已完结 | +| is_started | num | 是否发布 | 0:未发布
1:已发布 | +| pub_time | str | 发布时间 | YYYY-MM-DDD hh:mm:ss | +| pub_time_show | str | 发布时间文字介绍 | | +| unknow_pub_date | num | 0 | 作用尚不明确 | +| weekday | num | 0 | 作用尚不明确 | `result`中的`rating`对象: -| 字段 | 类型 | 内容 | 备注 | -| ----- | ---- | ------------ | ---- | -| count | num | 总计评分人数 | | -| score | num | 评分 | | +| 字段 | 类型 | 内容 | 备注 | +|-------|-----|--------|----| +| count | num | 总计评分人数 | | +| score | num | 评分 | | `result`中的`rights`对象: -| 字段 | 类型 | 内容 | 备注 | -| ----------------- | ---- | -------- | ------------------------------- | -| allow_bp | num | | | -| allow_bp_rank | num | | | -| allow_download | num | | | -| allow_review | num | | | -| area_limit | num | | | -| ban_area_show | num | | | -| can_watch | num | | | -| copyright | str | 版权标志 | bilibili:授权
dujia:独家 | -| forbid_pre | num | | | -| is_cover_show | num | | | -| is_preview | num | | | -| only_vip_download | num | | | -| resource | str | | | -| watch_platform | num | | | +| 字段 | 类型 | 内容 | 备注 | +|-------------------|-----|------|---------------------------| +| allow_bp | num | | | +| allow_bp_rank | num | | | +| allow_download | num | | | +| allow_review | num | | | +| area_limit | num | | | +| ban_area_show | num | | | +| can_watch | num | | | +| copyright | str | 版权标志 | bilibili:授权
dujia:独家 | +| forbid_pre | num | | | +| freya_white | num | | | +| is_cover_show | num | | | +| is_preview | num | | | +| only_vip_download | num | | | +| resource | str | | | +| watch_platform | num | | | `result`中的`seasons`数组: -| 项 | 类型 | 内容 | 备注 | -| ---- | ---- | ----------------- | ------------ | -| 0 | obj | 同系列剧集1 | | -| n | obj | 同系列剧集(n+1) | 按照顺序排列 | -| …… | obj | | | +| 项 | 类型 | 内容 | 备注 | +|----|-----|------------|--------| +| 0 | obj | 同系列剧集1 | | +| n | obj | 同系列剧集(n+1) | 按照顺序排列 | +| …… | obj | | | `seasons`数组中的对象: -| 字段 | 类型 | 内容 | 备注 | -| ------------ | ---- | ---- | ---- | -| badge | str | | | -| badge_info | obj | | | -| badge_type | num | | | -| cover | str | | | -| media_id | str | | | -| new_ep | num | | | -| season_id | obj | | | -| season_title | num | | | -| season_type | str | | | -| stat | obj | | | +| 字段 | 类型 | 内容 | 备注 | +|-----------------------|------|----|----| +| badge | str | | | +| badge_info | obj | | | +| badge_type | num | | | +| cover | str | | | +| enable_vt | bool | | | +| horizontal_cover_1610 | str | | | +| horizontal_cover_169 | str | | | +| icon_font | obj | | | +| media_id | num | | | +| new_ep | obj | | | +| season_id | num | | | +| season_title | str | | | +| season_type | num | | | +| stat | obj | | | + +`seasons`中的`badge_info`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|----------------|-----|----|----| +| bg_color | str | | | +| bg_color_night | str | | | +| text | str | | | + +`seasons`中的`icon_font`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|------|-----|----|----| +| name | str | | | +| text | str | | | + +`seasons`中的`new_ep`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|------------|-----|----|----| +| cover | str | | | +| id | num | | | +| index_show | str | | | + +`seasons`中的`stat`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|---------------|-----|----|----| +| favorites | num | | | +| series_follow | num | | | +| views | num | | | +| vt | num | | | `result`中的`section`数组: -| 项 | 类型 | 内容 | 备注 | -| ---- | ---- | ----------------- | ------------ | -| 0 | obj | 其他内容块1 | | -| n | obj | 其他内容块(n+1) | 按照顺序排列 | -| …… | obj | | | +| 项 | 类型 | 内容 | 备注 | +|----|-----|------------|--------| +| 0 | obj | 其他内容块1 | | +| n | obj | 其他内容块(n+1) | 按照顺序排列 | +| …… | obj | | | `section`数组中的对象: -| 字段 | 类型 | 内容 | 备注 | -| ---------- | ----- | -------- | ---- | -| episode_id | num | 0 | | -| episodes | array | 板块内容 | | -| id | num | 板块id? | | -| title | str | 板块标题 | | -| type | num | ? | | +| 字段 | 类型 | 内容 | 备注 | +|-------------|-------|-------|----| +| attr | num | | | +| episode_id | num | 0 | | +| episode_ids | array | | | +| episodes | array | 板块内容 | | +| id | num | 板块id? | | +| report | obj | | | +| title | str | 板块标题 | | +| type | num | ? | | +| type2 | num | | | + +`episodes`数组中的对象 + +| 字段名 | 类型 | 内容 | 备注 | +|--------------------|------|----|----| +| aid | num | | | +| archive_attr | num | | | +| badge | str | | | +| badge_info | obj | | | +| badge_type | num | | | +| bvid | str | | | +| cid | num | | | +| cover | str | | | +| dimension | obj | | | +| duration | num | | | +| enable_vt | bool | | | +| ep_id | num | | | +| from | str | | | +| icon_font | obj | | | +| id | num | | | +| interaction | obj | | | +| is_view_hide | bool | | | +| link | str | | | +| link_type | str | | | +| long_title | str | | | +| pub_time | num | | | +| pv | num | | | +| release_date | str | | | +| report | obj | | | +| rights | obj | | | +| section_type | num | | | +| share_copy | str | | | +| share_url | str | | | +| short_link | str | | | +| show_title | str | | | +| showDrmLoginDialog | bool | | | +| skip | obj | | | +| stat | obj | | | +| stat_for_unity | obj | | | +| status | num | | | +| subtitle | str | | | +| title | str | | | +| toast_title | str | | | +| up_info | obj | | | +| vid | str | | | + +`badge_info`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|----------------|-----|----|----| +| bg_color | str | | | +| bg_color_night | str | | | +| text | str | | | + +`dimension`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|--------|-----|----|----| +| height | num | | | +| rotate | num | | | +| width | num | | | + +`icon_font`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|------|-----|----|----| +| name | str | | | +| text | str | | | + +`interaction`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|---------------|------|----|----| +| graph_version | num | | | +| interaction | bool | | | + +`report`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|--------------|-----|----|----| +| aid | str | | | +| ep_title | str | | | +| position | str | | | +| season_id | str | | | +| season_type | str | | | +| section_id | str | | | +| section_type | str | | | + +`rights`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|----------------|-----|----|----| +| allow_demand | num | | | +| allow_dm | num | | | +| allow_download | num | | | +| area_limit | num | | | + +`skip`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-----|-----|----|----| +| ed | obj | | | +| op | obj | | | + +`ed`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-------|-----|----|----| +| end | num | | | +| start | num | | | + +`op`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-------|-----|----|----| +| end | num | | | +| start | num | | | + +`stat_for_unity`对象 + +### 根对象 -> `result`对象 -> `section`数组中的对象 -> `episodes`数组中的对象 -> `stat_for_unity`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|---------|-----|----|----| +| coin | num | | | +| danmaku | obj | | | +| likes | num | | | +| reply | num | | | +| vt | obj | | | + +`danmaku`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-----------|-----|----|----| +| icon | str | | | +| pure_text | str | | | +| text | str | | | +| value | num | | | + +`vt`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-----------|-----|----|----| +| icon | str | | | +| pure_text | str | | | +| text | str | | | +| value | num | | | + +`stat`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|----------|-----|----|----| +| coin | num | | | +| danmakus | num | | | +| likes | num | | | +| play | num | | | +| reply | num | | | +| vt | num | | | + +`up_info`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|--------------|-----|----|----| +| avatar | str | | | +| follower | num | | | +| is_follow | num | | | +| mid | num | | | +| uname | str | | | +| verify_type | num | | | +| verify_type2 | num | | | + +`report`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|--------------|-----|----|----| +| season_id | str | | | +| season_type | str | | | +| sec_title | str | | | +| section_id | str | | | +| section_type | str | | | + `result`中的`series`对象: -| 字段 | 类型 | 内容 | 备注 | -| ------------ | ---- | ------ | ---- | -| series_id | num | 系列id | | -| series_title | str | 系列名 | | +| 字段 | 类型 | 内容 | 备注 | +|--------------|-----|------|----| +| display_type | num | | | +| series_id | num | 系列id | | +| series_title | str | 系列名 | | `result`中的`show`对象: -| 字段 | 类型 | 内容 | 备注 | -| ----------- | ---- | -------- | -------------------- | -| wide_screen | num | 是否全屏 | 0:正常
1:全屏 | +| 字段 | 类型 | 内容 | 备注 | +|-------------|-----|------|----------------| +| wide_screen | num | 是否全屏 | 0:正常
1:全屏 | `result`中的`stat`对象: -| 字段 | 类型 | 内容 | 备注 | -| --------- | ---- | ------ | ---- | -| coins | num | 投币数 | | -| danmakus | num | 弹幕数 | | -| favorites | num | 收藏数 | | -| likes | num | 点赞数 | | -| reply | num | 评论数 | | -| share | num | 分享数 | | -| views | num | 播放数 | | +| 字段 | 类型 | 内容 | 备注 | +|-------------|-----|-----|----| +| coins | num | 投币数 | | +| danmakus | num | 弹幕数 | | +| favorite | num | | | +| favorites | num | 收藏数 | | +| follow_text | str | | | +| hot | num | | | +| likes | num | 点赞数 | | +| reply | num | 评论数 | | +| share | num | 分享数 | | +| views | num | 播放数 | | +| vt | num | | | `result`中的`up_info`对象: -| 字段 | 类型 | 内容 | 备注 | -| ----------- | ---- | ----------- | ---- | -| avatar | str | 头像图片url | | -| follower | num | 粉丝数 | | -| is_follow | num | 0 | | -| mid | num | UP主mid | | -| pendant | obj | | | -| theme_type | num | 0 | | -| uname | str | UP主昵称 | | -| verify_type | num | | | -| vip_status | num | | | -| vip_type | num | | | +| 字段 | 类型 | 内容 | 备注 | +|----------------------|-----|---------|----| +| avatar | str | 头像图片url | | +| avatar_subscript_url | str | | | +| follower | num | 粉丝数 | | +| is_follow | num | 0 | | +| mid | num | UP主mid | | +| nickname_color | str | | | +| pendant | obj | | | +| theme_type | num | 0 | | +| uname | str | UP主昵称 | | +| verify_type | num | | | +| vip_label | obj | | | +| vip_status | num | | | +| vip_type | num | | | + +`up_info`中的`pendant`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|-------|-----|----|----| +| image | str | | | +| name | str | | | +| pid | num | | | + +`up_info`中的`vip_label`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|--------------|-----|----|----| +| bg_color | str | | | +| bg_style | num | | | +| border_color | str | | | +| text | str | | | +| text_color | str | | | + +`result`中的`user_status`对象 + +| 字段名 | 类型 | 内容 | 备注 | +|---------------|-----|----|----| +| area_limit | num | | | +| ban_area_show | num | | | +| follow | num | | | +| follow_status | num | | | +| login | num | | | +| pay | num | | | +| pay_pack_paid | num | | | +| sponsor | num | | | # 获取剧集分集信息 From 1a575d1b54454b77d1c6fb292c1f19f7ff3da489 Mon Sep 17 00:00:00 2001 From: Ho Date: Fri, 3 Jan 2025 14:55:37 +0800 Subject: [PATCH 14/66] Update --- docs/bangumi/info.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/bangumi/info.md b/docs/bangumi/info.md index 6c3005d..6345107 100644 --- a/docs/bangumi/info.md +++ b/docs/bangumi/info.md @@ -251,7 +251,7 @@ curl -G 'https://api.bilibili.com/pgc/review/user' \ | multi_view_info | obj | | | | new_ep | obj | 更新信息 | | | payment | obj | 会员&付费信息 | 若无相关内容则无此项 | -| payPack | obj | | | +| payPack | obj | 付费包信息 | 目前只有霹雳布袋戏付费套餐一种 | | play_strategy | obj | | | | positive | obj | | | | publish | obj | 发布信息 | | @@ -268,18 +268,19 @@ curl -G 'https://api.bilibili.com/pgc/review/user' \ | share_sub_title | str | 备注 | | | share_url | str | 番剧播放页面url | | | show | obj | 网页全屏标志 | | -| show_season_type | num | | | +| show_season_type | num | 1,2,3,4,5,7 | | | square_cover | str | 方形封面图片url | | -| staff | str | | | +| staff | str | 制作人员信息 | | | stat | obj | 状态数 | | | status | num | | | -| styles | array | | | +| styles | array | 标签 | | | subtitle | str | 剧集副标题 | | | title | str | 剧集标题 | | | total | num | 总计正片集数 | 未完结:大多为-1
已完结:正整数 | | type | num | 剧集类型 | 1:番剧
2:电影
3:纪录片
4:国创
5:电视剧
7:综艺 | | up_info | obj | UP主信息 | 若无相关内容则无此项 | | user_status | obj | | | + `result`中的`activity`对象: | 字段 | 类型 | 内容 | 备注 | From 22723ca1cef3472f5d29840e264f00397cd24aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Tue, 22 Apr 2025 01:27:47 +0800 Subject: [PATCH 15/66] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20rural.svg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/zone_v2_icon/rural.svg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/zone_v2_icon/rural.svg b/assets/zone_v2_icon/rural.svg index c1ea246..86890a6 100644 --- a/assets/zone_v2_icon/rural.svg +++ b/assets/zone_v2_icon/rural.svg @@ -12,6 +12,6 @@ d="M19.80106 14.7049C19.08797 18.83357 13.92499 19.93133 11.03338 16.8288C12.60778 12.48394 16.91021 12.22205 19.80106 14.7049z" fill="#57D587ff"> + d="M16.30752 5.67904C16.56192 6.14421 16.39104 6.72755 15.92592 6.98196C13.72982 8.183 12.6264 10.43021 12.22214 12.83395C11.81539 15.25277 12.15562 17.6279 12.63734 18.80381C12.83827 19.29446 12.60346 19.8551 12.1128 20.05603C11.62224 20.25706 11.0616 20.02224 10.86058 19.53158C10.22304 17.97514 9.87216 15.2304 10.32874 12.51552C10.78781 9.78549 12.10214 6.88484 15.00461 5.29743C15.46973 5.04302 16.05312 5.21388 16.30752 5.67904z" + fill="#1F9F81ff"> \ No newline at end of file From 33a7c9a3cc22ba0a151fecf7b2119f879eb144d4 Mon Sep 17 00:00:00 2001 From: stydxm <1773834430@qq.com> Date: Tue, 22 Apr 2025 18:05:01 +0800 Subject: [PATCH 16/66] =?UTF-8?q?feat:=20=E7=94=A8=E6=88=B7=E6=8A=95?= =?UTF-8?q?=E7=A8=BF=E8=A7=86=E9=A2=91=E6=98=8E=E7=BB=86=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/user/space.md | 365 +++++++++++++++++++++++++++++++-------------- 1 file changed, 252 insertions(+), 113 deletions(-) diff --git a/docs/user/space.md b/docs/user/space.md index 58c0a6b..6ae66e6 100644 --- a/docs/user/space.md +++ b/docs/user/space.md @@ -2598,6 +2598,7 @@ curl -G 'https://app.bilibili.com/x/v2/space/likearc' \ | 字段 | 类型 | 内容 | 备注 | | ----- | ------ | ---------------- | ---- | +| slist | array | 空数组 | | | tlist | obj | 投稿视频分区索引 | | | vlist | array | 投稿视频列表 | | @@ -2626,30 +2627,76 @@ curl -G 'https://app.bilibili.com/x/v2/space/likearc' \ `list`中的`vlist`数组中的对象: -| 字段 | 类型 | 内容 | 备注 | -| -------------- | ---- | -------------- | ---------------------------- | -| aid | num | 稿件avid | | -| attribute | num | | | -| author | str | 视频UP主 | 不一定为目标用户(合作视频) | -| bvid | str | 稿件bvid | | -| comment | num | 视频评论数 | | -| copyright | str | 视频版权类型 | | -| created | num | 投稿时间 | 时间戳 | -| description | str | 视频简介 | | -| enable_vt | num | | | -| hide_click | bool | false | 作用尚不明确 | -| is_pay | num | 0 | 作用尚不明确 | -| is_union_video | num | 是否为合作视频 | 0:否
1:是 | -| length | str | 视频长度 | MM:SS | -| mid | num | 视频UP主mid | 不一定为目标用户(合作视频) | -| meta | obj | | 无数据时为 null | -| pic | str | 视频封面 | | -| play | num | 视频播放次数 | | -| review | num | 0 | 作用尚不明确 | -| subtitle | str | 空 | 作用尚不明确 | -| title | str | 视频标题 | | -| typeid | num | 视频分区tid | | -| video_review | num | 视频弹幕数 | | +| 字段 | 类型 | 内容 | 备注 | +| ------------------ | ---- | -------------- | ---------------------------- | +| aid | num | 稿件avid | | +| attribute | num | | | +| author | str | 视频UP主 | 不一定为目标用户(合作视频) | +| bvid | str | 稿件bvid | | +| comment | num | 视频评论数 | | +| copyright | str | 视频版权类型 | | +| created | num | 投稿时间 | 时间戳 | +| description | str | 视频简介 | | +| elec_arc_type | num | 充电为1,否则0 | 可能还有其他情况 | +| enable_vt | num | 0 | 作用尚不明确 | +| hide_click | bool | false | 作用尚不明确 | +| is_avoided | num | 0 | 作用尚不明确 | +| is_charging_arc | bool | 是否为充电视频 | | +| is_lesson_video | num | 是否为课堂视频 | 0:否
1:是 | +| is_lesson_finished | num | 课堂是否已完结 | 0:否
1:是 | +| is_live_playback | num | 是否为直播回放 | 0:否
1:是 | +| is_pay | num | 0 | 作用尚不明确 | +| is_self_view | bool | false | 作用尚不明确 | +| is_steins_gate | num | 是否为互动视频 | 0:否
1:是 | +| is_union_video | num | 是否为合作视频 | 0:否
1:是 | +| jump_url | str | 跳转链接 | 跳转到课堂的链接,否则为"" | +| length | str | 视频长度 | MM:SS | +| mid | num | 视频UP主mid | 不一定为目标用户(合作视频) | +| meta | obj | 所属合集或课堂 | 无数据时为 null | +| pic | str | 视频封面 | | +| play | num | 视频播放次数 | | +| playback_position | num | 百分比播放进度 | 封面下方显示的粉色条 | +| review | num | 0 | 作用尚不明确 | +| season_id | num | 合集或课堂编号 | 都不属于时为0 | +| subtitle | str | 空 | 作用尚不明确 | +| title | str | 视频标题 | | +| typeid | num | 视频分区tid | | +| video_review | num | 视频弹幕数 | | +| vt | num | 0 | 作用尚不明确 | +| vt_display | str | 空 | 作用尚不明确 | + +`list`中的`vlist`数组中的对象中的`meta`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ---------- | ---- | ------------ | ---------------- | +| attribute | num | 0 | 作用尚不明确 | +| cover | str | 合集封面URL | | +| ep_count | num | 合集视频数量 | | +| ep_num | num | 合集视频数量 | | +| first_aid | num | 首个视频av号 | | +| id | num | 合集id | | +| intro | str | 合集介绍 | | +| mid | num | UP主uid | 若为课堂,则为0 | +| ptime | num | unix时间(s) | 最后更新时间 | +| sign_state | num | 0 | 作用尚不明确 | +| stat | obj | 合集统计数据 | | +| title | str | 合集名称 | | + +`list`中的`vlist`数组中的对象中的`meta`对象中的`stat`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ---------- | ---- | ------------ | -------------------- | +| coin | num | 合集总投币数 | | +| danmaku | num | 合集总弹幕数 | | +| favorite | num | 合集总收藏数 | | +| like | num | 合集总点咱数 | | +| mtime | num | unix时间(s) | 其他统计数据更新时间 | +| reply | num | 合集总评论数 | | +| season_id | num | 合集id | | +| share | num | 合集总分享数 | | +| view | num | 合集总播放量 | | +| vt | num | 0 | 作用尚不明确 | +| vv | num | 0 | 作用尚不明确 | `data`中的`page`对象: @@ -2684,95 +2731,187 @@ curl -G 'https://api.bilibili.com/x/space/arc/search' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": { - "tlist": { - "1": { - "tid": 1, - "count": 26, - "name": "动画" - }, - "160": { - "tid": 160, - "count": 42, - "name": "生活" - }, - "211": { - "tid": 211, - "count": 3, - "name": "美食" - }, - "3": { - "tid": 3, - "count": 33, - "name": "音乐" - }, - "4": { - "tid": 4, - "count": 72, - "name": "游戏" - } - }, - "vlist": [ - { - "comment": 3558, - "typeid": 47, - "play": 1275661, - "pic": "//i2.hdslb.com/bfs/archive/90157806a34646ac2d4c6af3e8b6156cb3460d14.jpg", - "subtitle": "", - "description": "第一期:BV1ak4y1B7aG\n第二期:BV1eA411Y7FN\n脚本/绘画/配音/动画/片尾曲:warma\n第三期终于做完啦!这是一个以我平时发呆的时候想到的一些灵感组成的冷笑话合集,名字叫《沃玛的生活》,可以当作日常搞笑单元小动画来看。\n如果你喜欢这个系列的话请点赞投币收藏一键三连给我一些继续制作的动力吧,我真的非常非常需要更多的动力!\n祝看得开心~\n我的微博:@_warma_", - "copyright": "", - "title": "【warma】沃玛的新番更新!从现在开始放飞自我【沃玛的生活/第三期】", - "review": 0, - "author": "Warma", - "mid": 53456, - "created": 1605844817, - "length": "05:16", - "video_review": 7470, - "aid": 585275804, - "bvid": "BV1sz4y1y7KJ", - "hide_click": false, - "is_pay": 0, - "is_union_video": 0, - "is_steins_gate": 0 - }, - { - "comment": 2979, - "typeid": 21, - "play": 840676, - "pic": "//i2.hdslb.com/bfs/archive/b43f88c6ebae8fdc7dfb663f6f6f2931b924c763.jpg", - "subtitle": "", - "description": "前一阵子过生日,大家的礼物经过几番转寄终于收到了~于是录了这期礼物开箱视频。\n现在也在感慨,大家的礼物真的都太强了,居然这些全都是手工做的,真的好厉害!\n这些手工礼物背后得花多少时间和心力啊……这些对我来说都是无价的礼物,制作礼物的大家真的有心了,谢谢!!\n收到这些礼物真的很开心,视频的封面也是在这样激动的情况下画出来的,祝你看得开心~\n我的微博:@_warma_", - "copyright": "", - "title": "【warma】来开箱!大家寄来的生日礼物", - "review": 0, - "author": "Warma", - "mid": 53456, - "created": 1604635221, - "length": "24:28", - "video_review": 10476, - "aid": 287744380, - "bvid": "BV1xf4y1q7XN", - "hide_click": false, - "is_pay": 0, - "is_union_video": 0, - "is_steins_gate": 0 - } - ] - }, - "page": { - "pn": 1, - "ps": 2, - "count": 176 - }, - "episodic_button": { - "text": "播放全部", - "uri": "//www.bilibili.com/medialist/play/53456?from=space" - } - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": { + "slist": [], + "tlist": { + "1": { + "tid": 1, + "count": 3, + "name": "动画" + }, + "129": { + "tid": 129, + "count": 1, + "name": "舞蹈" + }, + "160": { + "tid": 160, + "count": 96, + "name": "生活" + }, + "177": { + "tid": 177, + "count": 4, + "name": "纪录片" + }, + "181": { + "tid": 181, + "count": 50, + "name": "影视" + }, + "188": { + "tid": 188, + "count": 444, + "name": "科技" + }, + "196": { + "tid": 196, + "count": 2, + "name": "课堂" + } + }, + "vlist": [{ + "comment": 985, + "typeid": 250, + "play": 224185, + "pic": "http://i0.hdslb.com/bfs/archive/5e56c10a9bd67f2fcac46fdd0fc2caa8769700c8.jpg", + "subtitle": "", + "description": "这一次,我们的样片日记首次来到了西藏,在桃花季开启了藏东样片之旅!这趟“开荒”之旅我们跋山涉水,一路硬刚,多亏有路虎卫士这样的神队友撑全场!这次的素材我们也上传到了官网(ysjf.com/material),欢迎大家去看看~如果你喜欢这期视频,请多多支持我们,并把视频分享给你的朋友们一起看看!", + "copyright": "1", + "title": "和朋友去西藏拍样片日记……", + "review": 0, + "author": "影视飓风", + "mid": 946974, + "created": 1745290800, + "length": "22:11", + "video_review": 2365, + "aid": 114375683741573, + "bvid": "BV1ac5yzhE94", + "hide_click": false, + "is_pay": 0, + "is_union_video": 1, + "is_steins_gate": 0, + "is_live_playback": 0, + "is_lesson_video": 0, + "is_lesson_finished": 0, + "lesson_update_info": "", + "jump_url": "", + "meta": { + "id": 2046621, + "title": "样片日记", + "cover": "https://archive.biliimg.com/bfs/archive/e2ca3e5a6672cf35c9e61ac02e8d739cc0aafa8b.jpg", + "mid": 946974, + "intro": "", + "sign_state": 0, + "attribute": 140, + "stat": { + "season_id": 2046621, + "view": 31755096, + "danmaku": 171253, + "reply": 33685, + "favorite": 409505, + "coin": 935105, + "share": 199467, + "like": 1791607, + "mtime": 1745309513, + "vt": 0, + "vv": 0 + }, + "ep_count": 13, + "first_aid": 238588630, + "ptime": 1745290800, + "ep_num": 13 + }, + "is_avoided": 0, + "season_id": 2046621, + "attribute": 16793984, + "is_charging_arc": false, + "elec_arc_type": 0, + "vt": 0, + "enable_vt": 0, + "vt_display": "", + "playback_position": 0, + "is_self_view": false + }, { + "comment": 0, + "typeid": 197, + "play": 8506, + "pic": "https://archive.biliimg.com/bfs/archive/489f3df26a190a152ad479bfe50a73f1cd4c43c5.jpg", + "subtitle": "", + "description": "8节课,Tim和青青带你用iPhone拍出电影感", + "copyright": "1", + "title": "【影视飓风】只看8节课,用iPhone拍出电影感", + "review": 0, + "author": "影视飓风", + "mid": 946974, + "created": 1744865737, + "length": "00:00", + "video_review": 9, + "aid": 114351440726681, + "bvid": "BV1WB5ezxEnz", + "hide_click": false, + "is_pay": 0, + "is_union_video": 0, + "is_steins_gate": 0, + "is_live_playback": 0, + "is_lesson_video": 1, + "is_lesson_finished": 1, + "lesson_update_info": "8", + "jump_url": "https://www.bilibili.com/cheese/play/ss190402215", + "meta": { + "id": 190402215, + "title": "【影视飓风】只看8节课,用iPhone拍出电影感", + "cover": "https://archive.biliimg.com/bfs/archive/489f3df26a190a152ad479bfe50a73f1cd4c43c5.jpg", + "mid": 0, + "intro": "", + "sign_state": 0, + "attribute": 0, + "stat": { + "season_id": 190402215, + "view": 1111222, + "danmaku": 1853, + "reply": 0, + "favorite": 0, + "coin": 0, + "share": 0, + "like": 0, + "mtime": 0, + "vt": 0, + "vv": 0 + }, + "ep_count": 0, + "ptime": 1744865737, + "ep_num": 0 + }, + "is_avoided": 0, + "season_id": 190402215, + "attribute": 1073758592, + "is_charging_arc": false, + "elec_arc_type": 0, + "vt": 0, + "enable_vt": 0, + "vt_display": "", + "playback_position": 0, + "is_self_view": false + }] + }, + "page": { + "pn": 1, + "ps": 42, + "count": 786 + }, + "episodic_button": { + "text": "播放全部", + "uri": "//www.bilibili.com/medialist/play/946974?from=space" + }, + "is_risk": false, + "gaia_res_type": 0, + "gaia_data": null + } } ``` From 8d72b5aa0da72c73a90eeb71f89a43f91b9c911b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Wed, 23 Apr 2025 00:06:18 +0800 Subject: [PATCH 17/66] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20info.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/vip/info.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/vip/info.md b/docs/vip/info.md index 9e3ef1b..3fc4611 100644 --- a/docs/vip/info.md +++ b/docs/vip/info.md @@ -43,7 +43,7 @@ | bind_phone | str | 绑定的手机号 | 星号隐藏部分信息 | | taobao_account | 有效时:obj
无效时:null | 绑定的淘宝账号 | | -`list`数组中的对象: +`list`数组: | 索引 | 类型 | 内容 | type | 备注 | | ---- | ---- | -------------------------------- | ---- | ------------------------------- | @@ -57,7 +57,7 @@ | 7 | obj | (~~王者荣耀~~)游戏礼盒兑换状态 | 8 | 每日可领取,目前 state 固定为 1 | | 8 | obj | 每日 10 经验领取状态 | 9 | 每日可领取,未完成时 state 为 2 | -`list`中的对象: +`list`数组中的对象: | 字段 | 类型 | 内容 | 备注 | | ----------------- | ---- | -------------------- | ----------------------------------------------------- | From dc3f6d64a730cf3481365e49ddd9c6b2d568569f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Sat, 26 Apr 2025 02:02:17 +0800 Subject: [PATCH 18/66] feat & fix: update docs & fix typo in issue template --- .github/ISSUE_TEMPLATE/1-update-request.yml | 11 +- docs/message/msg.md | 1 + docs/user/relation.md | 12 +- docs/video/info.md | 2 +- docs/video/tags.md | 374 +++++++++++++------- 5 files changed, 264 insertions(+), 136 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1-update-request.yml b/.github/ISSUE_TEMPLATE/1-update-request.yml index 9693f2f..385a587 100644 --- a/.github/ISSUE_TEMPLATE/1-update-request.yml +++ b/.github/ISSUE_TEMPLATE/1-update-request.yml @@ -14,12 +14,13 @@ body: attributes: label: "API 来源" description: "该 API 在何平台中使用" + multiple: true options: - "Web 端(含 h5)" - "PC 客户端(Electron)" - "Android 客户端(含粉版、平板版、蓝版、概念版、国际版等)" - - "TV 客户端(含云试听小电视、车机、物联网版等)" - - "IOS 客户端(含粉版、平板版、概念版等)" + - "TV 客户端(含云视听小电视、车机、物联网版等)" + - "iOS 客户端(含粉版、平板版、概念版等)" - "必剪客户端" - "漫画客户端" - "其他(请在详情中备注)" @@ -33,16 +34,16 @@ body: options: - "REST" - "gRPC" - - "长连接数据帧(含 ws、TCP)" + - "长连接数据帧(含 WebSocket、TCP)" - "其他类型(请在详情中备注)" validations: required: true - type: input - id: adderss + id: address attributes: label: "API 地址" description: "REST 的 url,或 gRPC 的包名+服务名,更新时可为原文档链接" - placeholder: "eg: https://api.bilibili.com/2333333" + placeholder: "e.g.: https://api.bilibili.com/x/..." validations: required: false - type: textarea diff --git a/docs/message/msg.md b/docs/message/msg.md index a3c8f96..ac7b47c 100644 --- a/docs/message/msg.md +++ b/docs/message/msg.md @@ -3,6 +3,7 @@ ## 获取未读消息数 > https://api.bilibili.com/x/msgfeed/unread + > https://api.vc.bilibili.com/x/im/web/msgfeed/unread (新接口) *请求方式:GET* diff --git a/docs/user/relation.md b/docs/user/relation.md index 5f4bcdf..d9e5d43 100644 --- a/docs/user/relation.md +++ b/docs/user/relation.md @@ -1348,7 +1348,7 @@ curl 'https://api.bilibili.com/x/relation/modify' \ | 参数名 | 类型 | 内容 | 必要性 | 备注 | | ---------- | ---- | ------------------------- | --------------- | ------------------------------------------------- | | access_key | str | APP 登录 Token | APP 方式必要 | | -| fids | nums | 目标用户 mid 列表 | 必要 | 每个之间用`,`间隔 | +| fids | nums | 目标用户 mid 列表 | 必要 | 每个成员之间用 `,` 间隔,最多 50 个成员,不能包含自己的 mid | | act | num | 操作代码 | 必要 | 同上
仅可为 1 或 5,故只能进行批量关注和拉黑 | | re_src | num | 关注来源代码 | 必要 | 同上 | | csrf | str | CSRF Token(位于 Cookie) | Cookie 方式必要 | | @@ -1485,13 +1485,15 @@ curl -G 'https://api.bilibili.com/x/relation' \ ### 查询用户与自己关系(互相关系) -> https://api.bilibili.com/x/space/wbi/acc/relation +> 接口1:https://api.bilibili.com/x/space/wbi/acc/relation + +> 接口2:https://api.bilibili.com/x/web-interface/relation *请求方式:GET* 认证方式:Cookie(SESSDATA)或 APP -鉴权方式:[Wbi 签名](../misc/sign/wbi.md) +鉴权方式(仅接口1):[Wbi 签名](../misc/sign/wbi.md) ~~该接口的旧版 API :https://api.bilibili.com/x/space/acc/relation~~(已废弃,不建议使用) @@ -1501,8 +1503,8 @@ curl -G 'https://api.bilibili.com/x/relation' \ | ---------- | ---- | ------------ | ----------- | ------------------------------------ | | access_key | str | APP登录Token | APP方式必要 | | | mid | num | 目标用户mid | 必要 | | -| w_rid | str | Wbi 签名 | 必要 | 详见 [Wbi 签名](../misc/sign/wbi.md) | -| wts | num | 当前时间戳 | 必要 | 详见 [Wbi 签名](../misc/sign/wbi.md) | +| w_rid | str | Wbi 签名 | 仅接口1必要 | 详见 [Wbi 签名](../misc/sign/wbi.md) | +| wts | num | 当前时间戳 | 仅接口1必要 | 详见 [Wbi 签名](../misc/sign/wbi.md) | **json回复:** diff --git a/docs/video/info.md b/docs/video/info.md index d264303..4dd6c2d 100644 --- a/docs/video/info.md +++ b/docs/video/info.md @@ -676,7 +676,7 @@ https://i1.hdslb.com/bfs/archive/ea0dd34bf41e23a68175680a00e3358cd249105f.jpg `data`中的`Tags`数组: -基本同「[获取视频TAG信息](tags.md#获取视频TAG信息)」中的data数组 +基本同「[获取视频TAG信息(新)](tags.md#获取视频TAG信息新)」中的data数组 `data`中的`Reply`对象: diff --git a/docs/video/tags.md b/docs/video/tags.md index 451e2f2..2ee6fde 100644 --- a/docs/video/tags.md +++ b/docs/video/tags.md @@ -1,8 +1,132 @@ # 视频TAG -## 获取视频TAG信息 +## 获取视频TAG信息(新) -> https://api.bilibili.com/x/tag/archive/tags +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ------ | ---- | -------- | ------------ | -------------------------------- | +| aid | num | 稿件avid | 必要(可选) | avid与bvid任选一个 | +| bvid | str | 稿件bvid | 必要(可选) | avid与bvid任选一个 | +| cid | num | 分P cid | 非必要 | 提供此参数可返回对应分P的BGM信息 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ----- | -------- | --------------------------- | +| code | num | 返回值 | 0:成功
-400:请求错误 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | array | TAG列表 | 无TAG为空 | + +`data`数组: + +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | -------------- | ---- | +| 0 | obj | 第1个TAG | | +| n | obj | 第(n+1)个TAG | | +| …… | obj | …… | …… | + +`data`数组中的对象: + +| 字段 | 类型 | 内容 | 备注 | +| -------- | ---- | ---------- | ------------------------------------------------------------ | +| tag_id | num | tag_id | 当`tag_type`不为`bgm`时有效 | +| tag_name | str | TAG名称 | | +| music_id | str | 背景音乐id | 当`tag_type`为`bgm`时有效,以`MA`开头 | +| tag_type | str | TAG类型 | `old_channel`:普通标签
`topic`:话题
`bgm`:背景音乐 | +| jump_url | str | 跳转url | 当`tag_type`为`topic`或`bgm`时有效 | + +**示例:** + +查询视频`av89772773`/`BV1M741177Kg`的TAG + +avid方式: + +```shell +curl -G 'https://api.bilibili.com/x/web-interface/view/detail/tag' \ +--data-urlencode 'aid=89772773' \ +--data-urlencode 'cid=153322313' \ +-b 'SESSDATA=xxx' +``` + +bvid方式: + +```shell +curl -G 'https://api.bilibili.com/x/web-interface/view/detail/tag' \ +--data-urlencode 'bvid=BV1M741177Kg' \ +--data-urlencode 'cid=153322313' \ +-b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": [ + { + "tag_id": 0, + "tag_name": "发现《Other Side》", + "music_id": "MA456128506519140428", + "tag_type": "bgm", + "jump_url": "https://music.bilibili.com/h5/music-detail?music_id=MA456128506519140428&cid=153322313&aid=89772773&na_close_hide=1" + }, + { + "tag_id": 12620189, + "tag_name": "异度侵入", + "music_id": "", + "tag_type": "old_channel", + "jump_url": "" + }, + { + "tag_id": 707, + "tag_name": "ED", + "music_id": "", + "tag_type": "old_channel", + "jump_url": "" + }, + { + "tag_id": 1394, + "tag_name": "动漫", + "music_id": "", + "tag_type": "old_channel", + "jump_url": "" + }, + { + "tag_id": 13289329, + "tag_name": "异度侵入ed原图", + "music_id": "", + "tag_type": "old_channel", + "jump_url": "" + }, + { + "tag_id": 7520816, + "tag_name": "bilibili新星计划", + "music_id": "", + "tag_type": "old_channel", + "jump_url": "" + } + ] +} +``` + +
+ +## 获取视频TAG信息(旧) + +> *请求方式:GET* @@ -19,12 +143,12 @@ 根对象: -| 字段 | 类型 | 内容 | 备注 | -| ------- | ------ | -------- | ---------------------------- | -| code | num | 返回值 | 0:成功
-400:请求错误 | -| message | str | 错误信息 | 默认为0 | -| ttl | num | 1 | | -| data | array | TAG列表 | 无TAG为空 | +| 字段 | 类型 | 内容 | 备注 | +| ------- | ----- | -------- | --------------------------- | +| code | num | 返回值 | 0:成功
-400:请求错误 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | array | TAG列表 | 无TAG为空 | `data`数组: @@ -38,7 +162,7 @@ | 字段 | 类型 | 内容 | 备注 | | ------------- | ---- | -------------- | ------------------------------------------------------------ | -| tag_id | num | tag_id | | +| tag_id | num | tag_id | | | tag_name | str | TAG名称 | | | cover | str | TAG图片url | | | head_cover | str | TAG页面头图url | | @@ -46,7 +170,7 @@ | short_content | str | TAG简介 | | | type | num | ??? | | | state | num | 0 | | -| ctime | num | 创建时间 | 时间戳 | +| ctime | num | 创建时间 | 秒级时间戳 | | count | obj | 状态数 | | | is_atten | num | 是否关注 | 0:未关注
1:已关注
需要登录(Cookie)
未登录为0 | | likes | num | 0 | 作用尚不明确 | @@ -54,7 +178,7 @@ | attribute | num | 0 | 作用尚不明确 | | liked | num | 是否已经点赞 | 0:未点赞
1:已点赞
需要登录(Cookie)
未登录为0 | | hated | num | 是否已经点踩 | 0:未点踩
1:已点踩
需要登录(Cookie)
未登录为0 | -| extra_attr | num | ? ? ? | | +| extra_attr | num | ? ? ? | | `data`数组中的对象中的`count`对象: @@ -89,115 +213,115 @@ curl -G 'https://api.bilibili.com/x/tag/archive/tags' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": [{ - "tag_id": 12620189, - "tag_name": "异度侵入", - "cover": "", - "head_cover": "", - "content": "", - "short_content": "", - "type": 1, - "state": 0, - "ctime": 1576235749, - "count": { - "view": 0, - "use": 6392, - "atten": 8938 - }, - "is_atten": 1, - "likes": 1, - "hates": 0, - "attribute": 0, - "liked": 0, - "hated": 0 - }, { - "tag_id": 7520816, - "tag_name": "bilibili新星计划", - "cover": "", - "head_cover": "", - "content": "", - "short_content": "", - "type": 4, - "state": 0, - "ctime": 1529717850, - "count": { - "view": 0, - "use": 1967314, - "atten": 65082 - }, - "is_atten": 0, - "likes": 0, - "hates": 0, - "attribute": 0, - "liked": 0, - "hated": 0 - }, { - "tag_id": 707, - "tag_name": "ED", - "cover": "", - "head_cover": "", - "content": "", - "short_content": "", - "type": 3, - "state": 0, - "ctime": 1436866637, - "count": { - "view": 0, - "use": 62646, - "atten": 75642 - }, - "is_atten": 1, - "likes": 0, - "hates": 0, - "attribute": 0, - "liked": 0, - "hated": 0 - }, { - "tag_id": 1394, - "tag_name": "动漫", - "cover": "http://i0.hdslb.com/bfs/tag/d08c5fe17ceb793e7ce95d9c67392743b33b46d0.jpg", - "head_cover": "", - "content": " “动漫”是动画和漫画的合称与缩写。在其他语言相当少用。随着现代传媒技术的发展,动画(animation或anime)和漫画(comics,manga;特别是故事性漫画)之间联系日趋紧密,两者常被合而为“动漫”。\n  由于漫画本身的发展形成了现代故事漫画的表现形式,将影视艺术融入漫画之中,使得漫画与动画更容易结合,影视艺术独特的地方在于它能通过镜头的推拉摇移和片段剪辑的蒙太奇技巧来表达想法和感受。漫画正是吸收了影视艺术的这两个特点。当讲述的故事越发复杂、人物越发丰富的时候,传统单线式叙事的方法就越行不通,蒙太奇的介入就成为一种需要了;当漫画家在传统表现手段中无法找到更合适的抒发感情的方法的时候,当读者需要作品有更强的冲击力和表现力的时候,各种镜头的灵活运用就成为一种必需了。一部现代故事漫画往往集远、中、近、特四种镜头于一身,漫画家往往能熟练地运用镜头的移动和各种蒙太奇剪接,对故事特定部分的情绪和氛围进行渲染。这就是现代故事漫画容易和动画结合的一个原因,因为它天生就像动画的分镜头剧本,读者在看漫画时如同在看一部电影。正是有着这样的相似性所以如今将动画和漫画合称为“动漫”。", - "short_content": "", - "type": 3, - "state": 0, - "ctime": 1436866637, - "count": { - "view": 0, - "use": 1134143, - "atten": 113030 - }, - "is_atten": 0, - "likes": 0, - "hates": 0, - "attribute": 0, - "liked": 0, - "hated": 0 - }, { - "tag_id": 13289329, - "tag_name": "异度侵入ed原图", - "cover": "", - "head_cover": "", - "content": "", - "short_content": "", - "type": 1, - "state": 0, - "ctime": 1581948411, - "count": { - "view": 0, - "use": 3, - "atten": 0 - }, - "is_atten": 0, - "likes": 0, - "hates": 0, - "attribute": 0, - "liked": 0, - "hated": 0 - }] + "code": 0, + "message": "0", + "ttl": 1, + "data": [{ + "tag_id": 12620189, + "tag_name": "异度侵入", + "cover": "", + "head_cover": "", + "content": "", + "short_content": "", + "type": 1, + "state": 0, + "ctime": 1576235749, + "count": { + "view": 0, + "use": 6392, + "atten": 8938 + }, + "is_atten": 1, + "likes": 1, + "hates": 0, + "attribute": 0, + "liked": 0, + "hated": 0 + }, { + "tag_id": 7520816, + "tag_name": "bilibili新星计划", + "cover": "", + "head_cover": "", + "content": "", + "short_content": "", + "type": 4, + "state": 0, + "ctime": 1529717850, + "count": { + "view": 0, + "use": 1967314, + "atten": 65082 + }, + "is_atten": 0, + "likes": 0, + "hates": 0, + "attribute": 0, + "liked": 0, + "hated": 0 + }, { + "tag_id": 707, + "tag_name": "ED", + "cover": "", + "head_cover": "", + "content": "", + "short_content": "", + "type": 3, + "state": 0, + "ctime": 1436866637, + "count": { + "view": 0, + "use": 62646, + "atten": 75642 + }, + "is_atten": 1, + "likes": 0, + "hates": 0, + "attribute": 0, + "liked": 0, + "hated": 0 + }, { + "tag_id": 1394, + "tag_name": "动漫", + "cover": "http://i0.hdslb.com/bfs/tag/d08c5fe17ceb793e7ce95d9c67392743b33b46d0.jpg", + "head_cover": "", + "content": " “动漫”是动画和漫画的合称与缩写。在其他语言相当少用。随着现代传媒技术的发展,动画(animation或anime)和漫画(comics,manga;特别是故事性漫画)之间联系日趋紧密,两者常被合而为“动漫”。\n  由于漫画本身的发展形成了现代故事漫画的表现形式,将影视艺术融入漫画之中,使得漫画与动画更容易结合,影视艺术独特的地方在于它能通过镜头的推拉摇移和片段剪辑的蒙太奇技巧来表达想法和感受。漫画正是吸收了影视艺术的这两个特点。当讲述的故事越发复杂、人物越发丰富的时候,传统单线式叙事的方法就越行不通,蒙太奇的介入就成为一种需要了;当漫画家在传统表现手段中无法找到更合适的抒发感情的方法的时候,当读者需要作品有更强的冲击力和表现力的时候,各种镜头的灵活运用就成为一种必需了。一部现代故事漫画往往集远、中、近、特四种镜头于一身,漫画家往往能熟练地运用镜头的移动和各种蒙太奇剪接,对故事特定部分的情绪和氛围进行渲染。这就是现代故事漫画容易和动画结合的一个原因,因为它天生就像动画的分镜头剧本,读者在看漫画时如同在看一部电影。正是有着这样的相似性所以如今将动画和漫画合称为“动漫”。", + "short_content": "", + "type": 3, + "state": 0, + "ctime": 1436866637, + "count": { + "view": 0, + "use": 1134143, + "atten": 113030 + }, + "is_atten": 0, + "likes": 0, + "hates": 0, + "attribute": 0, + "liked": 0, + "hated": 0 + }, { + "tag_id": 13289329, + "tag_name": "异度侵入ed原图", + "cover": "", + "head_cover": "", + "content": "", + "short_content": "", + "type": 1, + "state": 0, + "ctime": 1581948411, + "count": { + "view": 0, + "use": 3, + "atten": 0 + }, + "is_atten": 0, + "likes": 0, + "hates": 0, + "attribute": 0, + "liked": 0, + "hated": 0 + }] } ``` @@ -205,7 +329,7 @@ curl -G 'https://api.bilibili.com/x/tag/archive/tags' \ ## 点赞&取消点赞视频TAG -> https://api.bilibili.com/x/tag/archive/like2 +> *请求方式:POST* @@ -218,7 +342,7 @@ curl -G 'https://api.bilibili.com/x/tag/archive/tags' \ | 参数名 | 类型 | 内容 | 必要性 | 备注 | | ------ | ---- | ------------------------ | ------ | ---- | | aid | num | 稿件avid | 必要 | | -| tag_id | num | tag_id | 必要 | | +| tag_id | num | tag_id | 必要 | | | csrf | str | CSRF Token(位于cookie) | 必要 | | **json回复:** @@ -258,20 +382,20 @@ curl 'https://api.bilibili.com/x/tag/archive/like2' \ ## 点踩&取消点踩视频TAG -> https://api.bilibili.com/x/tag/archive/hate2 +> *请求方式:POST* 认证方式:Cookie(SESSDATA) -重复访问为取消 +重复请求为取消 **正文参数( application/x-www-form-urlencoded ):** | 参数名 | 类型 | 内容 | 必要性 | 备注 | | ------ | ---- | ------------------------ | ------ | ---- | | aid | num | 稿件avid | 必要 | | -| tag_id | num | tag_id | 必要 | | +| tag_id | num | tag_id | 必要 | | | csrf | str | CSRF Token(位于cookie) | 必要 | | **json回复:** From cb9e3a7cc2ed9cb570c30893b4d10d9890c6c6c7 Mon Sep 17 00:00:00 2001 From: stydxm Date: Sat, 26 Apr 2025 11:28:21 +0800 Subject: [PATCH 19/66] fix: typo --- docs/user/space.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/space.md b/docs/user/space.md index 6ae66e6..0bf7d2b 100644 --- a/docs/user/space.md +++ b/docs/user/space.md @@ -2689,7 +2689,7 @@ curl -G 'https://app.bilibili.com/x/v2/space/likearc' \ | coin | num | 合集总投币数 | | | danmaku | num | 合集总弹幕数 | | | favorite | num | 合集总收藏数 | | -| like | num | 合集总点咱数 | | +| like | num | 合集总点赞数 | | | mtime | num | unix时间(s) | 其他统计数据更新时间 | | reply | num | 合集总评论数 | | | season_id | num | 合集id | | From a2161708ce5126ccece299ef88c02ef59ad371e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Fri, 2 May 2025 09:35:55 +0800 Subject: [PATCH 20/66] feat(login_notice.md): improve docs --- docs/login/login_notice.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/login/login_notice.md b/docs/login/login_notice.md index 73f6b5f..17a0761 100644 --- a/docs/login/login_notice.md +++ b/docs/login/login_notice.md @@ -12,7 +12,7 @@ | 参数名 | 类型 | 内容 | 必要性 | 备注 | | ------ | ---- | ---------- | ------ | ------------------------------------------------------------ | -| mid | num | 用户mid | 必要 | | +| mid | num | 用户mid | 必要 | 必须为自己的mid | | buvid | str | 设备虚拟id | 非必要 | web端为操作登录接口时Cookie中的`buvid3`
若登录设备无`buvid`则留空 | **json回复:** @@ -21,7 +21,7 @@ | 字段 | 类型 | 内容 | 备注 | | ------- | ---- | -------- | --------------------------- | -| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误
-403:访问权限不足 | | message | str | 错误信息 | 默认为0 | | ttl | num | 1 | | | data | obj | 信息本体 | | @@ -114,7 +114,7 @@ curl -G 'https://api.bilibili.com/x/safecenter/login_notice' \ | 字段 | 类型 | 内容 | 备注 | | -------- | ---- | -------------- | ---- | -| ip | str | 登录 IP | 末两位以 `*` 打码 | +| ip | str | 登录 IP | IPv4:末 2 位以 `*` 打码
IPv6:末 5 位以 `*` 打码 | | time | num | 登录时间 | UNIX 秒级时间戳 | | time_at | str | 登录时间 | 格式为 `yyyy-MM-dd HH:mm:ss` | | status | bool | 是否登录成功? | | @@ -139,8 +139,16 @@ curl -G "https://api.bilibili.com/x/member/web/login/log" \ "message": "0", "ttl": 1, "data": { - "count": 14, + "count": 15, "list": [ + { + "ip": "240e:*:*:*:*:*:*:*", + "time": 1746038055, + "time_at": "2025-05-01 02:34:15", + "status": true, + "type": 0, + "geo": "中国广西梧州电信" + }, { "ip": "108.181.*.*", "time": 1722036741, From 35510b7a088cadead2a2e6455de262e6c4c9e657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Sat, 3 May 2025 01:39:08 +0800 Subject: [PATCH 21/66] feat: add details & replace spaces --- docs/electric/charge_list.md | 185 +++--- docs/electric/monthly.md | 620 +++++++++++-------- docs/message/private_msg.md | 910 ++++++++++++++-------------- docs/message/private_msg_content.md | 288 ++++----- docs/user/info.md | 2 +- 5 files changed, 1072 insertions(+), 933 deletions(-) diff --git a/docs/electric/charge_list.md b/docs/electric/charge_list.md index 4770ba3..cb68162 100644 --- a/docs/electric/charge_list.md +++ b/docs/electric/charge_list.md @@ -20,7 +20,7 @@ | 字段 | 类型 | 内容 | 备注 | | ------- | ---- | -------- | ---------------------------- | -| code | num | 返回值 | 0:成功
-400:请求错误
88214:up主未开通充电 | +| code | num | 返回值 | 0:成功
-400:请求错误
88214:up主未开通充电 | | message | str | 错误信息 | | | ttl | num | 0 | | | data | obj | 数据本体 | | @@ -71,8 +71,8 @@ ```shell curl -G 'https://api.bilibili.com/x/ugcpay-rank/elec/month/up' \ --A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' \ ---data-urlencode 'up_mid=53456' + -A 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' \ + --data-urlencode 'up_mid=53456' ```
@@ -80,39 +80,39 @@ curl -G 'https://api.bilibili.com/x/ugcpay-rank/elec/month/up' \ ```json { - "code": 0, - "message": "", - "ttl": 0, - "data": { - "count": 8521, - "list": [ - { - "uname": "云梦澡堂", - "avatar": "https://i1.hdslb.com/bfs/face/6589df5fdac0f80593f6a86e4d88dc08e25df3d2.jpg", - "mid": 53456, - "pay_mid": 1555775947, - "rank": 1, - "trend_type": 0, - "vip_info": { "vipDueMsec": 0, "vipStatus": 0, "vipType": 0 }, - "message": "", - "message_hidden": 0 - }, - { - "uname": "在下小天子", - "avatar": "https://i1.hdslb.com/bfs/face/a3bfbe6186889bb50dcd87c1156d07a70227a25b.jpg", - "mid": 53456, - "pay_mid": 508630801, - "rank": 2, - "trend_type": 0, - "vip_info": { "vipDueMsec": 0, "vipStatus": 0, "vipType": 0 }, - "message": "", - "message_hidden": 0 - } - ], - "total_count": 41919, - "total": 41919, - "special_day": 0 - } + "code": 0, + "message": "", + "ttl": 0, + "data": { + "count": 8521, + "list": [ + { + "uname": "云梦澡堂", + "avatar": "https://i1.hdslb.com/bfs/face/6589df5fdac0f80593f6a86e4d88dc08e25df3d2.jpg", + "mid": 53456, + "pay_mid": 1555775947, + "rank": 1, + "trend_type": 0, + "vip_info": { "vipDueMsec": 0, "vipStatus": 0, "vipType": 0 }, + "message": "", + "message_hidden": 0 + }, + { + "uname": "在下小天子", + "avatar": "https://i1.hdslb.com/bfs/face/a3bfbe6186889bb50dcd87c1156d07a70227a25b.jpg", + "mid": 53456, + "pay_mid": 508630801, + "rank": 2, + "trend_type": 0, + "vip_info": { "vipDueMsec": 0, "vipStatus": 0, "vipType": 0 }, + "message": "", + "message_hidden": 0 + } + ], + "total_count": 41919, + "total": 41919, + "special_day": 0 + } } ``` @@ -161,25 +161,36 @@ curl -G 'https://api.bilibili.com/x/ugcpay-rank/elec/month/up' \ | 字段 | 类型 | 内容 | 备注 | | ---------- | ---- | ------------------------ | ---------------- | | show | bool | 是否展示视频充电鸣谢名单 | | -| state | num | 充电功能开启状态 | -1:未开通充电功能
1:已开通自定义充电
2:已开通包月、自定义充电
3:已开通高档、自定义充电 | +| state | num | 充电功能开启状态 | -1:未开通充电功能
1:已开通自定义充电
2:已开通包月、自定义充电
3:已开通包月高档、自定义充电 | | title | str | 充电按钮显示文字 | 空字符串或 `充电` 或 `充电中` | | jump_url | str | 跳转url | | | icon | str | 充电图标 | | -| high_level | obj | 高档充电信息 | | +| high_level | obj | 充电专属视频信息 | | +| with_qa_id | num | 充电问答id | | `show_info`中的`high_level`对象: -| 字段 | 类型 | 内容 | 备注 | -| -------------- | ---- | ------------------------ | ---------------- | -| privilege_type | num | | | -| title | str | | | -| sub_title | str | | | -| show_button | bool | | | -| button_text | str | | | -| jump_url | obj | | | -| intro | str | | | -| open | bool | | | -| new | bool | | | +| 字段 | 类型 | 内容 | 备注 | +| -------------- | ---- | ------------------------------ | ---------------- | +| privilege_type | num | 解锁视频所需最低定价档位的代码 | 见[充电档位代码与定价](../electric/monthly.md#充电档位代码privilege_type与定价) | +| title | str | 提示标题 | `该视频为「{充电档位名称}」专属视频` | +| sub_title | str | 提示子标题 | `开通「{充电档位定价}元档包月充电」即可观看` | +| show_button | bool | 是否显示按钮 | | +| button_text | str | 按钮文本 | `去开通` | +| jump_url | obj | 跳转url信息 | 详细信息有待补充 | +| intro | str | 充电介绍语 | | +| open | bool | (?) | | +| new | bool | (?) | | +| question_text | str | (?) | | +| qa_detail_link | str | (?) | | + +`high_level`中的`jump_url`对象: + +| 字段 | 类型 | 内容 | 备注 | +| --------------- | ---- | ----------------------- | ---- | +| up_link | str | UP主包月充电购买页面url | | +| paywall_link | str | 视频试看后的提示页面url | | +| previewbar_link | str | 视频预览页面url | | `data`中的`list`数组: @@ -219,16 +230,16 @@ avid方式: ```shell curl -G 'https://api.bilibili.com/x/web-interface/elec/show' \ ---data-urlencode 'mid=53456' \ ---data-urlencode 'aid=967773538' + --data-urlencode 'mid=53456' \ + --data-urlencode 'aid=967773538' ``` bvid方式: ```shell curl -G 'https://api.bilibili.com/x/web-interface/elec/show' \ ---data-urlencode 'mid=53456' \ ---data-urlencode 'bvid=BV1up4y1y77i' + --data-urlencode 'mid=53456' \ + --data-urlencode 'bvid=BV1up4y1y77i' ```
@@ -370,10 +381,10 @@ curl -G 'https://api.bilibili.com/x/web-interface/elec/show' \ ```shell curl -G 'https://pay.bilibili.com/bk/brokerage/listForCustomerRechargeRecord' \ ---data-urlencode 'currentPage=1' \ ---data-urlencode 'pageSize=2' \ ---data-urlencode 'customerId=10026' \ --b 'SESSDATA=xxx' + --data-urlencode 'currentPage=1' \ + --data-urlencode 'pageSize=2' \ + --data-urlencode 'customerId=10026' \ + -b 'SESSDATA=xxx' ```
@@ -487,7 +498,7 @@ curl -G 'https://pay.bilibili.com/bk/brokerage/listForCustomerRechargeRecord' \ ```shell curl -G 'https://member.bilibili.com/x/h5/elec/rank/recent' \ --b 'SESSDATA=xxx' + -b 'SESSDATA=xxx' ```
@@ -495,36 +506,36 @@ curl -G 'https://member.bilibili.com/x/h5/elec/rank/recent' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": [ - { - "aid": 0, - "bvid": "", - "elec_num": 50, - "title": "", - "uname": "", - "avatar": "", - "ctime": "2020-04-02 03:12:22" - }, - { - "aid": 0, - "bvid": "", - "elec_num": 20, - "title": "", - "uname": "", - "avatar": "", - "ctime": "2020-04-02 03:12:00" - } - ], - "pager": { - "current": 1, - "size": 20, - "total": 38 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "aid": 0, + "bvid": "", + "elec_num": 50, + "title": "", + "uname": "", + "avatar": "", + "ctime": "2020-04-02 03:12:22" + }, + { + "aid": 0, + "bvid": "", + "elec_num": 20, + "title": "", + "uname": "", + "avatar": "", + "ctime": "2020-04-02 03:12:00" + } + ], + "pager": { + "current": 1, + "size": 20, + "total": 38 } + } } ``` diff --git a/docs/electric/monthly.md b/docs/electric/monthly.md index 24dcdcc..9bed7cc 100644 --- a/docs/electric/monthly.md +++ b/docs/electric/monthly.md @@ -75,7 +75,7 @@ | item | array | 充电详情 | | | start | num | 开始充电时间 | 秒级时间戳 | | high_level_state | num | 是否可对UP主进行高档充电 | | -| elec_reply_state | num | 是否可对UP主进行专属问答 | 0:否
1:是
2:(?) | +| elec_reply_state | num | 是否可对UP主进行专属问答 | 0:否
1:是
2:状态未知 | 数组`list`中的对象中的`item`数组: @@ -85,7 +85,6 @@ | n | obj | 充电档位(n+1) | | | …… | obj | …… | …… | - 数组`item`中的对象: | 字段 | 类型 | 内容 | 备注 | @@ -111,18 +110,17 @@ | signed_price | num | 下次续费金额 | 单位为千分之一元人民币 | | pay_channel | num | 签约平台 | 2:微信支付
4:支付宝 | | period | num | 下次充电天数 | | -| mobile_app | num | 充电渠道 | 可为`android`等 | +| mobile_app | str | 充电渠道 | 可为`android`等 | **示例:** 获取自己正在使用的包月充电的列表 - ```shell curl 'https://api.live.bilibili.com/xlive/revenue/v1/guard/getChargeRecord' \ ---data-urlencode 'page=1' \ ---data-urlencode 'type=1' \ --b 'SESSDATA=xxx' + --data-urlencode 'page=1' \ + --data-urlencode 'type=1' \ + -b 'SESSDATA=xxx' ```
@@ -130,108 +128,107 @@ curl 'https://api.live.bilibili.com/xlive/revenue/v1/guard/getChargeRecord' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": [ - { - "up_uid": 2233, - "user_name": "2233", - "user_face": "https://i0.hdslb.com/bfs/face/noface.jpg", - "item": [ - { - "privilege_type": 10, - "icon": "https://s1.hdslb.com/bfs/templar/york-static/lightning_icon@2x.png", - "name": "为TA充电", - "expire_time": 1703519999, - "renew": { - "uid": 425503913, - "ruid": 2233, - "goods_id": 174, - "status": 1, - "next_execute_time": 1703174400, - "signed_time": 1671618921, - "signed_price": 36000, - "pay_channel": 2, - "period": 366, - "mobile_app": "android" - }, - "start_time": 1671618921, - "renew_list": [ - { - "uid": 425503913, - "ruid": 2233, - "goods_id": 174, - "status": 1, - "next_execute_time": 1703174400, - "signed_time": 1671618921, - "signed_price": 36000, - "pay_channel": 2, - "period": 366, - "mobile_app": "android" - } - ] - } - ], - "start": 1669183804, - "high_level_state": 1, - "elec_reply_state": 1 + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "up_uid": 2233, + "user_name": "2233", + "user_face": "https://i0.hdslb.com/bfs/face/noface.jpg", + "item": [ + { + "privilege_type": 10, + "icon": "https://s1.hdslb.com/bfs/templar/york-static/lightning_icon@2x.png", + "name": "为TA充电", + "expire_time": 1703519999, + "renew": { + "uid": 425503913, + "ruid": 2233, + "goods_id": 174, + "status": 1, + "next_execute_time": 1703174400, + "signed_time": 1671618921, + "signed_price": 36000, + "pay_channel": 2, + "period": 366, + "mobile_app": "android" }, - { - "up_uid": 293793435, - "user_name": "社会易姐QwQ", - "user_face": "https://i0.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg", - "item": [ - { - "privilege_type": 10, - "icon": "https://s1.hdslb.com/bfs/templar/york-static/lightning_icon@2x.png", - "name": "为TA充电", - "expire_time": 1681401599, - "renew": { - "uid": 425503913, - "ruid": 293793435, - "goods_id": 173, - "status": 1, - "next_execute_time": 1680364800, - "signed_time": 1677760921, - "signed_price": 5000, - "pay_channel": 4, - "period": 31, - "mobile_app": "android" - }, - "start_time": 1677760921, - "renew_list": [ - { - "uid": 425503913, - "ruid": 293793435, - "goods_id": 173, - "status": 1, - "next_execute_time": 1680364800, - "signed_time": 1677760921, - "signed_price": 5000, - "pay_channel": 4, - "period": 31, - "mobile_app": "android" - } - ] - } - ], - "start": 1676033795, - "high_level_state": 1, - "elec_reply_state": 1 - } + "start_time": 1671618921, + "renew_list": [ + { + "uid": 425503913, + "ruid": 2233, + "goods_id": 174, + "status": 1, + "next_execute_time": 1703174400, + "signed_time": 1671618921, + "signed_price": 36000, + "pay_channel": 2, + "period": 366, + "mobile_app": "android" + } + ] + } ], - "page": 1, - "page_size": 10, - "total_page": 3, - "total_num": 22, - "is_more": 1 - } + "start": 1669183804, + "high_level_state": 1, + "elec_reply_state": 1 + }, + { + "up_uid": 293793435, + "user_name": "社会易姐QwQ", + "user_face": "https://i0.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg", + "item": [ + { + "privilege_type": 10, + "icon": "https://s1.hdslb.com/bfs/templar/york-static/lightning_icon@2x.png", + "name": "为TA充电", + "expire_time": 1681401599, + "renew": { + "uid": 425503913, + "ruid": 293793435, + "goods_id": 173, + "status": 1, + "next_execute_time": 1680364800, + "signed_time": 1677760921, + "signed_price": 5000, + "pay_channel": 4, + "period": 31, + "mobile_app": "android" + }, + "start_time": 1677760921, + "renew_list": [ + { + "uid": 425503913, + "ruid": 293793435, + "goods_id": 173, + "status": 1, + "next_execute_time": 1680364800, + "signed_time": 1677760921, + "signed_price": 5000, + "pay_channel": 4, + "period": 31, + "mobile_app": "android" + } + ] + } + ], + "start": 1676033795, + "high_level_state": 1, + "elec_reply_state": 1 + } + ], + "page": 1, + "page_size": 10, + "total_page": 3, + "total_num": 22, + "is_more": 1 + } } ``` -
表示自己从2022-11-23 14:10:04开始给“2233”包月充电,并且在2022-12-21 18:35:21在微信开通了连续包年充电,在2023-12-22 00:00:00的时候会自动续费36元,并继续充电366天; @@ -254,20 +251,26 @@ curl 'https://api.live.bilibili.com/xlive/revenue/v1/guard/getChargeRecord' \ 根对象: -| 字段 | 类型 | 内容 | 备注 | -| ------- | ---- | -------- | --------------------------------------------------------------- | -| code | num | 返回值 | 0:成功
-400:请求错误
203101:UP主未开通包月充电功能 | -| message | str | 错误信息 | 默认为0 | -| ttl | num | 1 | | -| data | obj | 信息本体 | | +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | --------------------------- | +| code | num | 返回值 | 0:成功
-400:请求错误 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | | `data`对象: -| 字段 | 类型 | 内容 | 备注 | -| ----------- | ---- | ---------- | ---- | -| upower_rank | obj | 充电详情 | | -| item | obj | 充电欢迎语 | | -| user_card | obj | UP主信息 | | +| 字段 | 类型 | 内容 | 备注 | +| ------------------ | ---- | -------------------------- | ------------------------------ | +| upower_rank | obj | 充电详情 | | +| item | obj | 充电欢迎语信息 | | +| user_card | obj | UP主信息 | | +| upower_level | num | UP主开通的充电等级 | 1:非高档充电
2:高档充电 | +| elec_reply_state | num | 是否可对UP主进行专属问答 | | +| voucher_state | obj | 包月充电券信息 | **详细信息有待补充** | +| upower_right_count | obj | 不同充电档位下的充电权益数 | | +| only_contain_medal | bool | 享有的权益仅为粉丝勋章 | | +| privilege_type | num | 当前给该UP主包月充电的档位 | 见[充电档位代码与定价](#充电档位代码privilege_type与定价),若从未给该UP主包月充电过则为0 | `data`中的`upower_rank`对象: @@ -279,13 +282,13 @@ curl 'https://api.live.bilibili.com/xlive/revenue/v1/guard/getChargeRecord' \ `upower_rank`中的`list`数组: -| 项 | 类型 | 内容 | 备注 | -| ---- | ---- | --------- | ---------------- | -| 0 | obj | 用户1 | | -| n | obj | 用户(n+1) | 按照充电时间排序 | -| …… | obj | …… | …… | +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | --------- | -------------------------- | +| 0 | obj | 用户1 | | +| n | obj | 用户(n+1) | 按照最初充电时间排序(?) | +| …… | obj | …… | …… | -数组`list`中的对象: +`list`数组中的对象: | 字段 | 类型 | 内容 | 备注 | | -------- | ---- | --------------- | ---- | @@ -308,15 +311,20 @@ curl 'https://api.live.bilibili.com/xlive/revenue/v1/guard/getChargeRecord' \ | avatar | str | UP主头像url | | | nickname | str | UP主昵称 | | +`data`中的`upower_right_count`对象: + +| 字段 | 类型 | 内容 | 备注 | +| -------------- | ---- | -------------------- | ---- | +| {充电档位代码} | num | 该档位下的充电权益数 | | + **示例:** -获取`mid=293793435`的包月充电详情 - +获取`mid=1265680561`的包月充电详情 ```shell curl 'https://api.bilibili.com/x/upower/item/detail' \ ---data-urlencode 'up_mid=293793435' \ --b 'SESSDATA=xxx' + --data-urlencode 'up_mid=1265680561' \ + -b 'SESSDATA=xxx' ```
@@ -324,31 +332,63 @@ curl 'https://api.bilibili.com/x/upower/item/detail' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "upower_rank": { - "total": 1, - "total_desc": "1+", - "list": [ - { - "rank": 1, - "mid": 425503913, - "nickname": "晨叶梦春", - "avatar": "https://i2.hdslb.com/bfs/face/540ed71e2fb2ddd8967c21b392026c34fc15673e.jpg" - } - ] + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "upower_rank": { + "total": 5082, + "total_desc": "5000+", + "list": [ + { + "rank": 1, + "mid": 1476475459, + "nickname": "一只屑椒", + "avatar": "https://i1.hdslb.com/bfs/face/dc721da215f4651e0472d566b146ee8fdf198dbe.jpg" }, - "item": { - "intro_video_aid": "", - "welcomes": "哈喽b站的小伙伴们,我的充电计划升级啦! 感兴趣就多多支持我吧~(゜-゜)つロ" + { + "rank": 2, + "mid": 275365317, + "nickname": "-陪我去看海吧i", + "avatar": "https://i0.hdslb.com/bfs/face/dd7547b13020e7f47549ad7908fd3fc58efadefc.jpg" }, - "user_card": { - "avatar": "https://i0.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg", - "nickname": "社会易姐QwQ" + { + "rank": 3, + "mid": 401909111, + "nickname": "Vege5able", + "avatar": "https://i2.hdslb.com/bfs/face/46b1fdc94c7851ec0c47817adeec13e3225da559.jpg" } - } + ] + }, + "item": { + "intro_video_aid": "", + "welcomes": "哈喽b站的小伙伴们,我的充电计划升级啦! 感兴趣就多多支持我吧~(゜-゜)つロ" + }, + "user_card": { + "avatar": "https://i1.hdslb.com/bfs/face/5ddddba98f0265265662a8f7d5383e528a98412b.jpg", + "nickname": "永雏塔菲" + }, + "upower_level": 1, + "elec_reply_state": 1, + "voucher_state": { + "voucher_order_id": "95843e812210c455d1ea6e4714bf105a00", + "user_voucher_state": 2, + "vip_action": 0, + "voucher_name": "包月充电券(6元档)", + "validate_price": 0, + "validate_level": 0, + "activity": "", + "common_time": 0, + "high_level_time": 0, + "specify_up": 0, + "specify_level": 0 + }, + "upower_right_count": { + "10": 3 + }, + "only_contain_medal": false, + "privilege_type": 0 + } } ``` @@ -381,15 +421,19 @@ curl 'https://api.bilibili.com/x/upower/item/detail' \ `data`对象: -| 字段 | 类型 | 内容 | 备注 | -| ---------------- | ---- | ------------------------ | ------------------------------------------- | -| days | num | 已保持多少天包月充电状态 | | -| up_card | obj | UP主信息 | | -| user_card | obj | 自己的信息 | | -| remain_days | num | 剩余天数 | 未处于包月充电状态为-1 | -| remain_less_1day | num | 剩余的天数小于1天 | 0:否
1:是
未处于包月充电状态为0 | -| upower_rank | obj | 充电详情 | | -| upower_icon | str | 充电图标url | 仅在处于包月充电状态时有内容 | +| 字段 | 类型 | 内容 | 备注 | +| ------------------ | ---- | ------------------------------ | ------------------------------------------- | +| days | num | 已保持多少天包月充电状态 | | +| up_card | obj | UP主信息 | | +| user_card | obj | 自己的信息 | | +| remain_days | num | 剩余天数 | 未处于包月充电状态为-1 | +| remain_less_1day | num | 剩余的天数是否小于1天 | 0:否
1:是
未处于包月充电状态为0 | +| upower_rank | obj | 充电详情 | | +| upower_icon | str | 充电图标url | 仅在处于包月充电状态时有内容 | +| upower_right_count | obj | 当前自己享有该UP主的充电权益数 | | +| only_contain_medal | bool | 享有的权益仅为粉丝勋章 | | +| privilege_type | num | 当前给该UP主包月充电的档位代码 | 见[充电档位代码与定价](#充电档位代码privilege_type与定价),若未处于包月充电状态为0 | +| challenge_info | obj | 充电挑战信息 | **详细信息有待补充** | `data`中的`up_card`对象: @@ -436,11 +480,10 @@ curl 'https://api.bilibili.com/x/upower/item/detail' \ 获取与`mid=293793435`的包月充电关系 - ```shell curl 'https://api.bilibili.com/x/upower/charge/follow/info' \ ---data-urlencode 'up_mid=293793435' \ --b 'SESSDATA=xxx' + --data-urlencode 'up_mid=293793435' \ + -b 'SESSDATA=xxx' ```
@@ -448,37 +491,53 @@ curl 'https://api.bilibili.com/x/upower/charge/follow/info' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "days": 17, - "up_card": { - "mid": 293793435, - "nickname": "社会易姐QwQ", - "official_title": "", - "avatar": "https://i0.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg" - }, - "user_card": { - "avatar": "https://i2.hdslb.com/bfs/face/540ed71e2fb2ddd8967c21b392026c34fc15673e.jpg", - "nickname": "晨叶梦春" - }, - "remain_days": 15, - "remain_less_1day": 0, - "upower_rank": { - "total": 1, - "total_desc": "1+", - "list": [ - { - "rank": 1, - "mid": 425503913, - "nickname": "晨叶梦春", - "avatar": "https://i2.hdslb.com/bfs/face/540ed71e2fb2ddd8967c21b392026c34fc15673e.jpg" - } - ] - }, - "upower_icon": "https://i0.hdslb.com/bfs/garb/item/33e2e72d9a0c855f036b4cb55448f44af67a0635.png" + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "days": 17, + "up_card": { + "mid": 293793435, + "nickname": "社会易姐QwQ", + "official_title": "", + "avatar": "https://i0.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg" + }, + "user_card": { + "avatar": "https://i2.hdslb.com/bfs/face/540ed71e2fb2ddd8967c21b392026c34fc15673e.jpg", + "nickname": "晨叶梦春" + }, + "remain_days": 15, + "remain_less_1day": 0, + "upower_rank": { + "total": 1, + "total_desc": "1+", + "list": [ + { + "rank": 1, + "mid": 425503913, + "nickname": "晨叶梦春", + "avatar": "https://i2.hdslb.com/bfs/face/540ed71e2fb2ddd8967c21b392026c34fc15673e.jpg" + } + ] + }, + "upower_icon": "https://i0.hdslb.com/bfs/garb/item/33e2e72d9a0c855f036b4cb55448f44af67a0635.png", + "upower_right_count": 2, + "only_contain_medal": false, + "privilege_type": 10, + "challenge_info": { + "challenge_id": "", + "description": "", + "challenge_type": 0, + "remaining_days": 0, + "end_time": "", + "progress": 0, + "targets": [], + "state": 0, + "end_time_unix": 0, + "pub_dyn": 0, + "dyn_content": "" } + } } ``` @@ -496,11 +555,12 @@ curl 'https://api.bilibili.com/x/upower/charge/follow/info' \ **url参数:** -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| ------ | ---- | ----------- | ------ | -------- | -| up_mid | num | 目标用户mid | 必要 | | -| ps | num | 每页项数 | 非必要 | 默认为20 | -| pn | num | 页码 | 非必要 | 默认为1 | +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| -------------- | ---- | ------------ | ------ | --------- | +| up_mid | num | 目标用户mid | 必要 | | +| ps | num | 每页项数 | 必要 | 最大为101 | +| pn | num | 页码 | 必要 | | +| privilege_type | num | 充电档位代码 | 非必要 | 见[充电档位代码与定价](#充电档位代码privilege_type与定价),默认为可以显示排名的档位中**最高定价**的档位 | **json回复:** @@ -515,22 +575,27 @@ curl 'https://api.bilibili.com/x/upower/charge/follow/info' \ `data`对象: -| 字段 | 类型 | 内容 | 备注 | -| ------------ | ----- | ------------ | ---- | -| up_info | obj | UP主信息 | | -| rank_info | array | 充电用户排名 | | -| user_info | obj | 自己的信息 | | -| member_total | num | 充电用户总数 | | +| 字段 | 类型 | 内容 | 备注 | +| -------------- | ----- | ------------------------------ | -------- | +| up_info | obj | UP主信息 | | +| rank_info | array | 当前档位的充电用户排名 | | +| user_info | obj | 自己在该档位下与UP主的充电关系 | | +| member_total | num | 当前档位的充电用户总数 | | +| privilege_type | num | 当前充电档位代码 | 见[充电档位代码与定价](#充电档位代码privilege_type与定价) | +| is_charge | bool | 自己是否给该UP主包月充电过 | 无论档位 | +| tabs | array | 可显示排名的充电档位代码列表 | | +| level_info | array | 可显示排名的充电档位信息 | | `data`中的`up_info`对象: -| 字段 | 类型 | 内容 | 备注 | -| -------- | ---- | ------------ | ---------------------------------------- | -| mid | num | UP主mid | | -| nickname | str | UP主昵称 | | -| avatar | str | UP主头像url | | -| type | num | UP主认证类型 | -1:无
0:UP主认证
1:机构认证 | -| title | str | UP主认证文字 | | +| 字段 | 类型 | 内容 | 备注 | +| ------------ | ---- | -------------------- | ---------------------------------------- | +| mid | num | UP主mid | | +| nickname | str | UP主昵称 | | +| avatar | str | UP主头像url | | +| type | num | UP主认证类型 | -1:无
0:UP主认证
1:机构认证 | +| title | str | UP主认证文字 | | +| upower_state | num | UP主充电功能开启状态 | 0:未开通充电功能
1:已开通自定义充电
2:已开通包月、自定义充电
3:已开通包月高档、自定义充电 | `data`中的`rank_info`数组: @@ -559,19 +624,46 @@ curl 'https://api.bilibili.com/x/upower/charge/follow/info' \ | mid | num | 用户mid | | | nickname | str | 用户昵称 | | | avatar | str | 用户头像url | | -| rank | num | 包月充电排名 | 不在包月充电用户列表里为-1 | +| rank | num | 包月充电排名 | 不在该充电档位用户列表里为-1 | | day | num | 包月充电天数 | | -| expire_at | num | 包月充电过期时间 | 秒级时间戳,若从未给UP主包月充电为0 | -| remain_days | num | 未过期时:剩余天数
已过期且之前给UP主包月充电过:自过期以来的天数 | | +| expire_at | num | 包月充电过期时间 | 秒级时间戳,若从未给UP主在该档位下包月充电过为0 | +| remain_days | num | 剩余天数 | 若该档位充电状态已失效为0 | + +`data`中的`tabs`数组: + +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | ------------- | ---------------- | +| 0 | num | 档位代码1 | | +| n | num | 档位代码(n+1) | | +| …… | num | …… | …… | + +`data`中的`level_info`数组: + +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | --------- | ---------------- | +| 0 | obj | 档位1 | | +| n | obj | 档位(n+1) | | +| …… | obj | …… | …… | + +`level_info`数组中的对象: + +| 字段 | 类型 | 内容 | 备注 | +| -------------- | ---- | -------------------- | ---------------------- | +| privilege_type | num | 当前充电档位代码 | 见[充电档位代码与定价](#充电档位代码privilege_type与定价) | +| name | str | 档位名称 | | +| price | num | 档位价格 | 单位为百分之一元人民币 | +| member_total | num | 当前档位的用户总数 | | **示例:** -获取给`mid=293793435`包月充电的用户排名 +获取给`mid=686127`包月充电的用户排名 ```shell curl 'https://api.bilibili.com/x/upower/up/member/rank/v2' \ ---data-urlencode 'up_mid=293793435' \ --b 'SESSDATA=xxx' + --data-urlencode 'up_mid=686127' \ + --data-urlencode 'ps=3' \ + --data-urlencode 'pn=1' \ + -b 'SESSDATA=xxx' ```
@@ -579,39 +671,75 @@ curl 'https://api.bilibili.com/x/upower/up/member/rank/v2' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "up_info": { - "mid": 293793435, - "nickname": "社会易姐QwQ", - "avatar": "https://i0.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg", - "type": -1, - "title": "" - }, - "rank_info": [ - { - "mid": 425503913, - "nickname": "晨叶梦春", - "avatar": "https://i2.hdslb.com/bfs/face/540ed71e2fb2ddd8967c21b392026c34fc15673e.jpg", - "rank": 1, - "day": 31, - "expire_at": 0, - "remain_days": 0 - } - ], - "user_info": { - "mid": 425503913, - "nickname": "晨叶梦春", - "avatar": "https://i2.hdslb.com/bfs/face/540ed71e2fb2ddd8967c21b392026c34fc15673e.jpg", - "rank": 1, - "day": 31, - "expire_at": 1678723199, - "remain_days": 15 - }, - "member_total": 1 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "up_info": { + "mid": 686127, + "nickname": "籽岷", + "avatar": "https://i0.hdslb.com/bfs/face/7efb679569b2faeff38fa08f6f992fa1ada5e948.webp", + "type": 0, + "title": "2024百大UP主、知名游戏UP主", + "upower_state": 3 + }, + "rank_info": [ + { + "mid": 187012867, + "nickname": "是我灬不配", + "avatar": "https://i1.hdslb.com/bfs/face/ad4d2ce0705fd766a0ade315f5a6a5984ce479f4.jpg", + "rank": 1, + "day": 682, + "expire_at": 0, + "remain_days": 0 + }, + { + "mid": 20135495, + "nickname": "和平时一样鸽", + "avatar": "https://i2.hdslb.com/bfs/face/0eef725964105f39b1f000a59f232d9094017544.jpg", + "rank": 2, + "day": 620, + "expire_at": 0, + "remain_days": 0 + }, + { + "mid": 490065730, + "nickname": "乔治Y-GYhaha", + "avatar": "https://i1.hdslb.com/bfs/face/e1753e1e43d7a7df5333c5a2f4d3ec1d0334ebe6.jpg", + "rank": 3, + "day": 527, + "expire_at": 0, + "remain_days": 0 + } + ], + "user_info": { + "mid": 425503913, + "nickname": "晨叶梦春", + "avatar": "https://i2.hdslb.com/bfs/face/540ed71e2fb2ddd8967c21b392026c34fc15673e.jpg", + "rank": -1, + "day": 0, + "expire_at": 0, + "remain_days": 0 + }, + "member_total": 46881, + "privilege_type": 50, + "is_charge": false, + "tabs": [50, 10], + "level_info": [ + { + "privilege_type": 50, + "name": "审稿", + "price": 12800, + "member_total": 1082 + }, + { + "privilege_type": 10, + "name": "石粒", + "price": 600, + "member_total": 46158 + } + ] + } } ``` diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index edc113f..a75b1fa 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -144,12 +144,12 @@ ```shell curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \ - --data-urlencode 'unread_type=0' \ - --data-urlencode 'show_unfollow_list=1' \ - --data-urlencode 'show_dustbin=1' \ - --data-urlencode 'build=0' \ - --data-urlencode 'mobi_app=web' \ - -b 'SESSDATA=xxx' + --data-urlencode 'unread_type=0' \ + --data-urlencode 'show_unfollow_list=1' \ + --data-urlencode 'show_dustbin=1' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' ```
@@ -157,20 +157,20 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \ ```json { - "code": 0, - "msg": "0", - "message": "0", - "ttl": 1, - "data": { - "unfollow_unread": 1, - "follow_unread": 6, - "unfollow_push_msg": 0, - "dustbin_push_msg": 0, - "dustbin_unread": 0, - "biz_msg_unfollow_unread": 0, - "biz_msg_follow_unread": 0, - "custom_unread": 0 - } + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "unfollow_unread": 1, + "follow_unread": 6, + "unfollow_push_msg": 0, + "dustbin_push_msg": 0, + "dustbin_unread": 0, + "biz_msg_unfollow_unread": 0, + "biz_msg_follow_unread": 0, + "custom_unread": 0 + } } ``` @@ -241,14 +241,14 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \ ```shell curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/get_sessions' \ - --data-urlencode 'session_type=1' \ - --data-urlencode 'group_fold=0' \ - --data-urlencode 'unfollow_fold=0' \ - --data-urlencode 'sort_rule=2' \ - --data-urlencode 'size=3' \ - --data-urlencode 'build=0' \ - --data-urlencode 'mobi_app=web' \ - -b 'SESSDATA=xxx' + --data-urlencode 'session_type=1' \ + --data-urlencode 'group_fold=0' \ + --data-urlencode 'unfollow_fold=0' \ + --data-urlencode 'sort_rule=2' \ + --data-urlencode 'size=3' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' ```
@@ -256,152 +256,152 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/get_sessions' \ ```json { - "code": 0, - "msg": "0", - "message": "0", - "ttl": 1, - "data": { - "session_list": [ - { - "talker_id": 844424930131966, - "session_type": 1, - "at_seqno": 0, - "top_ts": 0, - "group_name": "", - "group_cover": "", - "is_follow": 1, - "is_dnd": 0, - "ack_seqno": 1238729956474887, - "ack_ts": 1709536924979884, - "session_ts": 1712305278098351, - "unread_count": 4, - "last_msg": { - "sender_uid": 844424930131966, - "receiver_type": 1, - "receiver_id": 425503913, - "msg_type": 10, - "content": "{\"title\":\"流量奖励到账通知\",\"text\":\"恭喜您已获得2000流量曝光奖励,快来投稿使用吧。\",\"jump_text\":\"\",\"jump_uri\":\"\",\"modules\":null,\"jump_text_2\":\"\",\"jump_uri_2\":\"\",\"jump_text_3\":\"\",\"jump_uri_3\":\"\",\"notifier\":null,\"jump_uri_config\":{\"all_uri\":\"https://member.bilibili.com/york/flow-reward?navhide=1\\u0026from=msgrecall\",\"text\":\"\"},\"jump_uri_2_config\":{\"text\":\"\"},\"jump_uri_3_config\":{\"text\":\"\"},\"biz_content\":null}", - "msg_seqno": 1285290404823041, - "timestamp": 1712305278, - "at_uids": null, - "msg_key": 7354295169819585966, - "msg_status": 0, - "notify_code": "2091_253", - "new_face_version": 1, - "msg_source": 6 - }, - "group_type": 0, - "can_fold": 0, - "status": 0, - "max_seqno": 1285290404823041, - "new_push_msg": 1, - "setting": 0, - "is_guardian": 0, - "is_intercept": 0, - "is_trust": 0, - "system_msg_type": 7, - "account_info": { - "name": "UP主小助手", - "pic_url": "https://message.biliimg.com/bfs/im/489a63efadfb202366c2f88853d2217b5ddc7a13.png" - }, - "live_status": 0, - "biz_msg_unread_count": 0, - "user_label": null - }, - { - "talker_id": 293793435, - "session_type": 1, - "at_seqno": 0, - "top_ts": 0, - "group_name": "", - "group_cover": "", - "is_follow": 1, - "is_dnd": 0, - "ack_seqno": 1236306587877408, - "ack_ts": 1709536984481314, - "session_ts": 1709385615744065, - "unread_count": 0, - "last_msg": { - "sender_uid": 293793435, - "receiver_type": 1, - "receiver_id": 425503913, - "msg_type": 11, - "content": "{\"title\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"times\":14,\"cover\":\"http://i0.hdslb.com/bfs/archive/8821c03ab27a0bcf2bf32af814e758ab17a1e27e.png\",\"rid\":1951316064,\"type_\":8,\"desc\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"bvid\":\"BV1zC411p7JN\",\"view\":452,\"danmaku\":0,\"pub_date\":1709385603,\"attach_msg\":null}", - "msg_seqno": 1236306587877408, - "timestamp": 1709385615, - "at_uids": null, - "msg_key": 7341755312943193481, - "msg_status": 0, - "notify_code": "", - "new_face_version": 1, - "msg_source": 6 - }, - "group_type": 0, - "can_fold": 0, - "status": 0, - "max_seqno": 1236306587877408, - "new_push_msg": 0, - "setting": 0, - "is_guardian": 0, - "is_intercept": 0, - "is_trust": 0, - "system_msg_type": 0, - "live_status": 0, - "biz_msg_unread_count": 0, - "user_label": null - }, - { - "talker_id": 221082140, - "session_type": 2, - "at_seqno": 0, - "top_ts": 0, - "group_name": "社会易姐QwQ的应援团", - "group_cover": "http://i0.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg", - "is_follow": 0, - "is_dnd": 0, - "ack_seqno": 20, - "ack_ts": 1695011620552332, - "session_ts": 1693626568439784, - "unread_count": 0, - "last_msg": { - "sender_uid": 0, - "receiver_type": 2, - "receiver_id": 221082140, - "msg_type": 306, - "content": "{\"group_id\":221082140,\"content\":\"欢迎罗板栗入群\"}", - "msg_seqno": 20, - "timestamp": 1693626568, - "at_uids": null, - "msg_key": 7274070721607234847, - "msg_status": 0, - "notify_code": "", - "msg_source": 13 - }, - "group_type": 0, - "can_fold": 0, - "status": 0, - "max_seqno": 20, - "new_push_msg": 0, - "setting": 0, - "is_guardian": 0, - "is_intercept": 0, - "is_trust": 0, - "system_msg_type": 0, - "live_status": 0, - "biz_msg_unread_count": 0, - "user_label": null - } - ], - "has_more": 1, - "anti_disturb_cleaning": false, - "is_address_list_empty": 0, - "system_msg": { - "1": 844424930131967, - "7": 844424930131966, - "9": 844424930131965 + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "session_list": [ + { + "talker_id": 844424930131966, + "session_type": 1, + "at_seqno": 0, + "top_ts": 0, + "group_name": "", + "group_cover": "", + "is_follow": 1, + "is_dnd": 0, + "ack_seqno": 1238729956474887, + "ack_ts": 1709536924979884, + "session_ts": 1712305278098351, + "unread_count": 4, + "last_msg": { + "sender_uid": 844424930131966, + "receiver_type": 1, + "receiver_id": 425503913, + "msg_type": 10, + "content": "{\"title\":\"流量奖励到账通知\",\"text\":\"恭喜您已获得2000流量曝光奖励,快来投稿使用吧。\",\"jump_text\":\"\",\"jump_uri\":\"\",\"modules\":null,\"jump_text_2\":\"\",\"jump_uri_2\":\"\",\"jump_text_3\":\"\",\"jump_uri_3\":\"\",\"notifier\":null,\"jump_uri_config\":{\"all_uri\":\"https://member.bilibili.com/york/flow-reward?navhide=1\\u0026from=msgrecall\",\"text\":\"\"},\"jump_uri_2_config\":{\"text\":\"\"},\"jump_uri_3_config\":{\"text\":\"\"},\"biz_content\":null}", + "msg_seqno": 1285290404823041, + "timestamp": 1712305278, + "at_uids": null, + "msg_key": 7354295169819585966, + "msg_status": 0, + "notify_code": "2091_253", + "new_face_version": 1, + "msg_source": 6 }, - "show_level": true - } + "group_type": 0, + "can_fold": 0, + "status": 0, + "max_seqno": 1285290404823041, + "new_push_msg": 1, + "setting": 0, + "is_guardian": 0, + "is_intercept": 0, + "is_trust": 0, + "system_msg_type": 7, + "account_info": { + "name": "UP主小助手", + "pic_url": "https://message.biliimg.com/bfs/im/489a63efadfb202366c2f88853d2217b5ddc7a13.png" + }, + "live_status": 0, + "biz_msg_unread_count": 0, + "user_label": null + }, + { + "talker_id": 293793435, + "session_type": 1, + "at_seqno": 0, + "top_ts": 0, + "group_name": "", + "group_cover": "", + "is_follow": 1, + "is_dnd": 0, + "ack_seqno": 1236306587877408, + "ack_ts": 1709536984481314, + "session_ts": 1709385615744065, + "unread_count": 0, + "last_msg": { + "sender_uid": 293793435, + "receiver_type": 1, + "receiver_id": 425503913, + "msg_type": 11, + "content": "{\"title\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"times\":14,\"cover\":\"http://i0.hdslb.com/bfs/archive/8821c03ab27a0bcf2bf32af814e758ab17a1e27e.png\",\"rid\":1951316064,\"type_\":8,\"desc\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"bvid\":\"BV1zC411p7JN\",\"view\":452,\"danmaku\":0,\"pub_date\":1709385603,\"attach_msg\":null}", + "msg_seqno": 1236306587877408, + "timestamp": 1709385615, + "at_uids": null, + "msg_key": 7341755312943193481, + "msg_status": 0, + "notify_code": "", + "new_face_version": 1, + "msg_source": 6 + }, + "group_type": 0, + "can_fold": 0, + "status": 0, + "max_seqno": 1236306587877408, + "new_push_msg": 0, + "setting": 0, + "is_guardian": 0, + "is_intercept": 0, + "is_trust": 0, + "system_msg_type": 0, + "live_status": 0, + "biz_msg_unread_count": 0, + "user_label": null + }, + { + "talker_id": 221082140, + "session_type": 2, + "at_seqno": 0, + "top_ts": 0, + "group_name": "社会易姐QwQ的应援团", + "group_cover": "http://i0.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg", + "is_follow": 0, + "is_dnd": 0, + "ack_seqno": 20, + "ack_ts": 1695011620552332, + "session_ts": 1693626568439784, + "unread_count": 0, + "last_msg": { + "sender_uid": 0, + "receiver_type": 2, + "receiver_id": 221082140, + "msg_type": 306, + "content": "{\"group_id\":221082140,\"content\":\"欢迎罗板栗入群\"}", + "msg_seqno": 20, + "timestamp": 1693626568, + "at_uids": null, + "msg_key": 7274070721607234847, + "msg_status": 0, + "notify_code": "", + "msg_source": 13 + }, + "group_type": 0, + "can_fold": 0, + "status": 0, + "max_seqno": 20, + "new_push_msg": 0, + "setting": 0, + "is_guardian": 0, + "is_intercept": 0, + "is_trust": 0, + "system_msg_type": 0, + "live_status": 0, + "biz_msg_unread_count": 0, + "user_label": null + } + ], + "has_more": 1, + "anti_disturb_cleaning": false, + "is_address_list_empty": 0, + "system_msg": { + "1": 844424930131967, + "7": 844424930131966, + "9": 844424930131965 + }, + "show_level": true + } } ``` @@ -462,11 +462,11 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/get_sessions' \ ```shell curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/new_sessions' \ - --data-urlencode 'begin_ts=1712420213519391' \ - --data-urlencode 'size=3' \ - --data-urlencode 'build=0' \ - --data-urlencode 'mobi_app=web' \ - -b 'SESSDATA=xxx' + --data-urlencode 'begin_ts=1712420213519391' \ + --data-urlencode 'size=3' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' ```
@@ -474,147 +474,147 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/new_sessions' \ ```json { - "code": 0, - "msg": "0", - "message": "0", - "ttl": 1, - "data": { - "session_list": [ - { - "talker_id": 844424930131966, - "session_type": 1, - "at_seqno": 0, - "top_ts": 0, - "group_name": "", - "group_cover": "", - "is_follow": 1, - "is_dnd": 0, - "ack_seqno": 1238729956474887, - "ack_ts": 1709536924979884, - "session_ts": 1712305278098351, - "unread_count": 4, - "last_msg": { - "sender_uid": 844424930131966, - "receiver_type": 1, - "receiver_id": 425503913, - "msg_type": 10, - "content": "{\"title\":\"流量奖励到账通知\",\"text\":\"恭喜您已获得2000流量曝光奖励,快来投稿使用吧。\",\"jump_text\":\"\",\"jump_uri\":\"\",\"modules\":null,\"jump_text_2\":\"\",\"jump_uri_2\":\"\",\"jump_text_3\":\"\",\"jump_uri_3\":\"\",\"notifier\":null,\"jump_uri_config\":{\"all_uri\":\"https://member.bilibili.com/york/flow-reward?navhide=1\\u0026from=msgrecall\",\"text\":\"\"},\"jump_uri_2_config\":{\"text\":\"\"},\"jump_uri_3_config\":{\"text\":\"\"},\"biz_content\":null}", - "msg_seqno": 1285290404823041, - "timestamp": 1712305278, - "at_uids": null, - "msg_key": 7354295169819585966, - "msg_status": 0, - "notify_code": "2091_253", - "new_face_version": 1, - "msg_source": 6 - }, - "group_type": 0, - "can_fold": 0, - "status": 0, - "max_seqno": 1285290404823041, - "new_push_msg": 1, - "setting": 0, - "is_guardian": 0, - "is_intercept": 0, - "is_trust": 0, - "system_msg_type": 7, - "account_info": { - "name": "UP主小助手", - "pic_url": "https://message.biliimg.com/bfs/im/489a63efadfb202366c2f88853d2217b5ddc7a13.png" - }, - "live_status": 0, - "biz_msg_unread_count": 0, - "user_label": null - }, - { - "talker_id": 293793435, - "session_type": 1, - "at_seqno": 0, - "top_ts": 0, - "group_name": "", - "group_cover": "", - "is_follow": 1, - "is_dnd": 0, - "ack_seqno": 1236306587877408, - "ack_ts": 1709536984481314, - "session_ts": 1709385615744065, - "unread_count": 0, - "last_msg": { - "sender_uid": 293793435, - "receiver_type": 1, - "receiver_id": 425503913, - "msg_type": 11, - "content": "{\"title\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"times\":14,\"cover\":\"http://i0.hdslb.com/bfs/archive/8821c03ab27a0bcf2bf32af814e758ab17a1e27e.png\",\"rid\":1951316064,\"type_\":8,\"desc\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"bvid\":\"BV1zC411p7JN\",\"view\":452,\"danmaku\":0,\"pub_date\":1709385603,\"attach_msg\":null}", - "msg_seqno": 1236306587877408, - "timestamp": 1709385615, - "at_uids": null, - "msg_key": 7341755312943193481, - "msg_status": 0, - "notify_code": "", - "new_face_version": 1, - "msg_source": 6 - }, - "group_type": 0, - "can_fold": 0, - "status": 0, - "max_seqno": 1236306587877408, - "new_push_msg": 0, - "setting": 0, - "is_guardian": 0, - "is_intercept": 0, - "is_trust": 0, - "system_msg_type": 0, - "live_status": 0, - "biz_msg_unread_count": 0, - "user_label": null - }, - { - "talker_id": 221082140, - "session_type": 2, - "at_seqno": 0, - "top_ts": 0, - "group_name": "社会易姐QwQ的应援团", - "group_cover": "http://i0.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg", - "is_follow": 0, - "is_dnd": 0, - "ack_seqno": 20, - "ack_ts": 1695011620552332, - "session_ts": 1693626568439784, - "unread_count": 0, - "last_msg": { - "sender_uid": 0, - "receiver_type": 2, - "receiver_id": 221082140, - "msg_type": 306, - "content": "{\"group_id\":221082140,\"content\":\"欢迎罗板栗入群\"}", - "msg_seqno": 20, - "timestamp": 1693626568, - "at_uids": null, - "msg_key": 7274070721607234847, - "msg_status": 0, - "notify_code": "", - "msg_source": 13 - }, - "group_type": 0, - "can_fold": 0, - "status": 0, - "max_seqno": 20, - "new_push_msg": 0, - "setting": 0, - "is_guardian": 0, - "is_intercept": 0, - "is_trust": 0, - "system_msg_type": 0, - "live_status": 0, - "biz_msg_unread_count": 0, - "user_label": null - } - ], - "has_more": 0, - "anti_disturb_cleaning": false, - "is_address_list_empty": 0, - "show_level": false - } + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "session_list": [ + { + "talker_id": 844424930131966, + "session_type": 1, + "at_seqno": 0, + "top_ts": 0, + "group_name": "", + "group_cover": "", + "is_follow": 1, + "is_dnd": 0, + "ack_seqno": 1238729956474887, + "ack_ts": 1709536924979884, + "session_ts": 1712305278098351, + "unread_count": 4, + "last_msg": { + "sender_uid": 844424930131966, + "receiver_type": 1, + "receiver_id": 425503913, + "msg_type": 10, + "content": "{\"title\":\"流量奖励到账通知\",\"text\":\"恭喜您已获得2000流量曝光奖励,快来投稿使用吧。\",\"jump_text\":\"\",\"jump_uri\":\"\",\"modules\":null,\"jump_text_2\":\"\",\"jump_uri_2\":\"\",\"jump_text_3\":\"\",\"jump_uri_3\":\"\",\"notifier\":null,\"jump_uri_config\":{\"all_uri\":\"https://member.bilibili.com/york/flow-reward?navhide=1\\u0026from=msgrecall\",\"text\":\"\"},\"jump_uri_2_config\":{\"text\":\"\"},\"jump_uri_3_config\":{\"text\":\"\"},\"biz_content\":null}", + "msg_seqno": 1285290404823041, + "timestamp": 1712305278, + "at_uids": null, + "msg_key": 7354295169819585966, + "msg_status": 0, + "notify_code": "2091_253", + "new_face_version": 1, + "msg_source": 6 + }, + "group_type": 0, + "can_fold": 0, + "status": 0, + "max_seqno": 1285290404823041, + "new_push_msg": 1, + "setting": 0, + "is_guardian": 0, + "is_intercept": 0, + "is_trust": 0, + "system_msg_type": 7, + "account_info": { + "name": "UP主小助手", + "pic_url": "https://message.biliimg.com/bfs/im/489a63efadfb202366c2f88853d2217b5ddc7a13.png" + }, + "live_status": 0, + "biz_msg_unread_count": 0, + "user_label": null + }, + { + "talker_id": 293793435, + "session_type": 1, + "at_seqno": 0, + "top_ts": 0, + "group_name": "", + "group_cover": "", + "is_follow": 1, + "is_dnd": 0, + "ack_seqno": 1236306587877408, + "ack_ts": 1709536984481314, + "session_ts": 1709385615744065, + "unread_count": 0, + "last_msg": { + "sender_uid": 293793435, + "receiver_type": 1, + "receiver_id": 425503913, + "msg_type": 11, + "content": "{\"title\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"times\":14,\"cover\":\"http://i0.hdslb.com/bfs/archive/8821c03ab27a0bcf2bf32af814e758ab17a1e27e.png\",\"rid\":1951316064,\"type_\":8,\"desc\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"bvid\":\"BV1zC411p7JN\",\"view\":452,\"danmaku\":0,\"pub_date\":1709385603,\"attach_msg\":null}", + "msg_seqno": 1236306587877408, + "timestamp": 1709385615, + "at_uids": null, + "msg_key": 7341755312943193481, + "msg_status": 0, + "notify_code": "", + "new_face_version": 1, + "msg_source": 6 + }, + "group_type": 0, + "can_fold": 0, + "status": 0, + "max_seqno": 1236306587877408, + "new_push_msg": 0, + "setting": 0, + "is_guardian": 0, + "is_intercept": 0, + "is_trust": 0, + "system_msg_type": 0, + "live_status": 0, + "biz_msg_unread_count": 0, + "user_label": null + }, + { + "talker_id": 221082140, + "session_type": 2, + "at_seqno": 0, + "top_ts": 0, + "group_name": "社会易姐QwQ的应援团", + "group_cover": "http://i0.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg", + "is_follow": 0, + "is_dnd": 0, + "ack_seqno": 20, + "ack_ts": 1695011620552332, + "session_ts": 1693626568439784, + "unread_count": 0, + "last_msg": { + "sender_uid": 0, + "receiver_type": 2, + "receiver_id": 221082140, + "msg_type": 306, + "content": "{\"group_id\":221082140,\"content\":\"欢迎罗板栗入群\"}", + "msg_seqno": 20, + "timestamp": 1693626568, + "at_uids": null, + "msg_key": 7274070721607234847, + "msg_status": 0, + "notify_code": "", + "msg_source": 13 + }, + "group_type": 0, + "can_fold": 0, + "status": 0, + "max_seqno": 20, + "new_push_msg": 0, + "setting": 0, + "is_guardian": 0, + "is_intercept": 0, + "is_trust": 0, + "system_msg_type": 0, + "live_status": 0, + "biz_msg_unread_count": 0, + "user_label": null + } + ], + "has_more": 0, + "anti_disturb_cleaning": false, + "is_address_list_empty": 0, + "show_level": false + } } ``` @@ -657,11 +657,11 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/new_sessions' \ ```shell curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/session_detail' \ - --data-urlencode 'talker_id=293793435' \ - --data-urlencode 'session_type=1' \ - --data-urlencode 'build=0' \ - --data-urlencode 'mobi_app=web' \ - -b 'SESSDATA=xxx' + --data-urlencode 'talker_id=293793435' \ + --data-urlencode 'session_type=1' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' ```
@@ -669,52 +669,52 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/session_detail' ```json { - "code": 0, - "msg": "0", - "message": "0", - "ttl": 1, - "data": { - "talker_id": 293793435, - "session_type": 1, - "at_seqno": 0, - "top_ts": 0, - "group_name": "", - "group_cover": "", - "is_follow": 1, - "is_dnd": 0, - "ack_seqno": 1236306587877408, - "ack_ts": 1709536984481314, - "session_ts": 1709385615744065, - "unread_count": 0, - "last_msg": { - "sender_uid": 293793435, - "receiver_type": 1, - "receiver_id": 425503913, - "msg_type": 11, - "content": "{\"title\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"times\":14,\"cover\":\"http://i0.hdslb.com/bfs/archive/8821c03ab27a0bcf2bf32af814e758ab17a1e27e.png\",\"rid\":1951316064,\"type_\":8,\"desc\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"bvid\":\"BV1zC411p7JN\",\"view\":452,\"danmaku\":0,\"pub_date\":1709385603,\"attach_msg\":null}", - "msg_seqno": 1236306587877408, - "timestamp": 1709385615, - "at_uids": null, - "msg_key": 7341755312943193481, - "msg_status": 0, - "notify_code": "", - "new_face_version": 1, - "msg_source": 6 - }, - "group_type": 0, - "can_fold": 0, - "status": 0, - "max_seqno": 1236306587877408, - "new_push_msg": 0, - "setting": 0, - "is_guardian": 0, - "is_intercept": 0, - "is_trust": 0, - "system_msg_type": 0, - "live_status": 0, - "biz_msg_unread_count": 0, - "user_label": null - } + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "talker_id": 293793435, + "session_type": 1, + "at_seqno": 0, + "top_ts": 0, + "group_name": "", + "group_cover": "", + "is_follow": 1, + "is_dnd": 0, + "ack_seqno": 1236306587877408, + "ack_ts": 1709536984481314, + "session_ts": 1709385615744065, + "unread_count": 0, + "last_msg": { + "sender_uid": 293793435, + "receiver_type": 1, + "receiver_id": 425503913, + "msg_type": 11, + "content": "{\"title\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"times\":14,\"cover\":\"http://i0.hdslb.com/bfs/archive/8821c03ab27a0bcf2bf32af814e758ab17a1e27e.png\",\"rid\":1951316064,\"type_\":8,\"desc\":\"OHHHHHH家人们,我分数终于破w了!紫框了这下确实不好意思说自己是只打红谱的萌新了\",\"bvid\":\"BV1zC411p7JN\",\"view\":452,\"danmaku\":0,\"pub_date\":1709385603,\"attach_msg\":null}", + "msg_seqno": 1236306587877408, + "timestamp": 1709385615, + "at_uids": null, + "msg_key": 7341755312943193481, + "msg_status": 0, + "notify_code": "", + "new_face_version": 1, + "msg_source": 6 + }, + "group_type": 0, + "can_fold": 0, + "status": 0, + "max_seqno": 1236306587877408, + "new_push_msg": 0, + "setting": 0, + "is_guardian": 0, + "is_intercept": 0, + "is_trust": 0, + "system_msg_type": 0, + "live_status": 0, + "biz_msg_unread_count": 0, + "user_label": null + } } ``` @@ -738,7 +738,7 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/session_detail' | ----------------- | ---- | ---------------- | ------ | ------------------------------------------------------ | | talker_id | num | 聊天对象的id | 必要 | `session_type` 为 `1` 时表示用户 mid,为 `2` 时表示粉丝团 id | | session_type | num | 聊天对象的类型 | 必要 | 1:用户
2:粉丝团 | -| size | num | 返回消息数量 | 非必要 | 默认为 0,最大为 200
本参数不存在时,只返回系统提示 | +| size | num | 返回消息数量 | 非必要 | 默认为 0,最大为 2000
当本参数为 `0` 或不存在时,只返回系统提示 | | begin_seqno | num | 开始的序列号 | 非必要 | 提供本参数时返回以本序列号开始(不包括本序列号)的消息 | | end_seqno | num | 结束的序列号 | 非必要 | 提供本参数时返回以本序列号结束(不包括本序列号)的消息 | | sender_device_id | num | 发送者设备 | 非必要 | 默认为 `1` | @@ -798,13 +798,13 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/session_detail' ```shell curl -G 'https://api.vc.bilibili.com/svr_sync/v1/svr_sync/fetch_session_msgs' \ - --data-urlencode 'talker_id=123' \ - --data-urlencode 'session_type=1' \ - --data-urlencode 'size=20' \ - --data-urlencode 'sender_device_id=1' \ - --data-urlencode 'build=0' \ - --data-urlencode 'mobi_app=web' \ - -b 'SESSDATA=xxx' + --data-urlencode 'talker_id=123' \ + --data-urlencode 'session_type=1' \ + --data-urlencode 'size=20' \ + --data-urlencode 'sender_device_id=1' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' ```
@@ -812,58 +812,58 @@ curl -G 'https://api.vc.bilibili.com/svr_sync/v1/svr_sync/fetch_session_msgs' \ ```json { - "code": 0, - "msg": "0", - "message": "0", - "ttl": 1, - "data": { - "messages": [ - { - "sender_uid": 2239814, - "receiver_type": 1, - "receiver_id": 123, - "msg_type": 1, - "content": "{\"content\":\"[口罩]\"}", - "msg_seqno": 309675413389322, - "timestamp": 1654154093, - "at_uids": [ - 0 - ], - "msg_key": 7104537732714964358, - "msg_status": 0, - "notify_code": "", - "new_face_version": 1, - "msg_source": 2 - }, - { - "sender_uid": 2239814, - "receiver_type": 1, - "receiver_id": 123, - "msg_type": 5, - "content": "{\"content\":\"1\"}", - "msg_seqno": 308302399586307, - "timestamp": 1654072255, - "at_uids": [ - 0 - ], - "msg_key": 7104186240789226795, - "msg_status": 0, - "notify_code": "", - "msg_source": 7 - - }, + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "messages": [ + { + "sender_uid": 2239814, + "receiver_type": 1, + "receiver_id": 123, + "msg_type": 1, + "content": "{\"content\":\"[口罩]\"}", + "msg_seqno": 309675413389322, + "timestamp": 1654154093, + "at_uids": [ + 0 ], - "has_more": 0, - "min_seqno": 308188515844097, - "max_seqno": 309675413389322, - "e_infos": [ - { - "text": "[口罩]", - "url": "http://i0.hdslb.com/bfs/emote/3ad2f66b151496d2a5fb0a8ea75f32265d778dd3.png", - "size": 1 - } - ] - } + "msg_key": 7104537732714964358, + "msg_status": 0, + "notify_code": "", + "new_face_version": 1, + "msg_source": 2 + }, + { + "sender_uid": 2239814, + "receiver_type": 1, + "receiver_id": 123, + "msg_type": 5, + "content": "{\"content\":\"1\"}", + "msg_seqno": 308302399586307, + "timestamp": 1654072255, + "at_uids": [ + 0 + ], + "msg_key": 7104186240789226795, + "msg_status": 0, + "notify_code": "", + "msg_source": 7 + + }, + ], + "has_more": 0, + "min_seqno": 308188515844097, + "max_seqno": 309675413389322, + "e_infos": [ + { + "text": "[口罩]", + "url": "http://i0.hdslb.com/bfs/emote/3ad2f66b151496d2a5fb0a8ea75f32265d778dd3.png", + "size": 1 + } + ] + } } ``` @@ -911,9 +911,9 @@ curl -G 'https://api.vc.bilibili.com/svr_sync/v1/svr_sync/fetch_session_msgs' \ ```shell curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/is_limit' \ - --data-urlencode 'uid=123' \ - --data-urlencode 'type=1' \ - -b 'SESSDATA=xxx' + --data-urlencode 'uid=123' \ + --data-urlencode 'type=1' \ + -b 'SESSDATA=xxx' ```
@@ -979,10 +979,10 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/is_limit' \ ```shell curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_session_ss' \ - --data-urlencode 'talker_uid=123' \ - --data-urlencode 'build=0' \ - --data-urlencode 'mobi_app=web' \ - -b 'SESSDATA=xxx' + --data-urlencode 'talker_uid=123' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' ```
@@ -1111,12 +1111,12 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_session_ss ```shell curl -G 'https://api.vc.bilibili.com/x/im/feed/infoweb' \ - --data-urlencode 'aids=170001' \ - --data-urlencode 'ep_ids=780019' \ - --data-urlencode 'article_ids=1' \ - --data-urlencode 'build=0' \ - --data-urlencode 'mobi_app=web' \ - -b 'SESSDATA=xxx' + --data-urlencode 'aids=170001' \ + --data-urlencode 'ep_ids=780019' \ + --data-urlencode 'article_ids=1' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' ```
@@ -1259,15 +1259,15 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/update_ack' \ 调用该接口会将该会话设置为已读 -**URL参数:** +**URL参数:** -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| --- | --- | --- | --- | --- | -| w_sender_uid | num | 发送者mid | 必要 | 必须为自己的 mid | -| w_receiver_id | num | 接收者id | 必要 | 请求参数 `msg[receiver_type]` 为 `1` 时表示用户 mid,为 `2` 时表示粉丝团 id | -| w_dev_id | str | 设备id | 必要 | 实质上即 UUID(版本 4),**生成方式见下** | -| w_rid | str | Wbi 签名 | 必要 | 参见 [Wbi 签名](../misc/sign/wbi.md) | -| wts | str | UNIX 秒级时间戳 | 必要 | 参见 [Wbi 签名](../misc/sign/wbi.md) | +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ------------- | ---- | --------------- | ------ | ------------------------------------ | +| w_sender_uid | num | 发送者mid | 非必要 | 同正文参数 `msg[sender_uid]` | +| w_receiver_id | num | 接收者id | 非必要 | 同正文参数 `msg[receiver_id]` | +| w_dev_id | str | 设备id | 非必要 | 同正文参数 `msg[dev_id]` | +| w_rid | str | Wbi 签名 | 非必要 | 参见 [Wbi 签名](../misc/sign/wbi.md) | +| wts | str | UNIX 秒级时间戳 | 非必要 | 参见 [Wbi 签名](../misc/sign/wbi.md) | **正文参数(application/x-www-form-urlencoded):** @@ -1281,7 +1281,7 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/update_ack' \ | msg\[dev_id\] | str | 设备id | 必要 | 实质上即 UUID(版本 4),**生成方式见下** | | msg\[timestamp\] | num | 当前时间戳(秒) | 必要 | | | msg\[new_face_version\] | num | 表情包版本 | 非必要 | 提供 `0` 或者未提供本参数表示旧版表情包,此时 B 站会自动转换成新版表情包,例如 `[doge]` -> `[tv_doge]`;`1` 为新版 | -| msg\[content\] | str | 消息内容 | 必要 | 详见[私信消息类型、内容说明](private_msg_content.md) | +| msg\[content\] | str | 消息内容 | 必要 | 详见[私信消息类型、内容说明](private_msg_content.md),接受最多2000字节的内容 | | csrf_token | str | CSRF Token(位于cookie) | 必要 | | | csrf | str | CSRF Token(位于cookie) | 必要 | | | build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | @@ -1327,10 +1327,10 @@ const dev_id = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (function import java.util.UUID; public class Main { - private String getDevId() { - UUID uuid = UUID.randomUUID(); - return uuid.toString(); - } + private String getDevId() { + UUID uuid = UUID.randomUUID(); + return uuid.toString(); + } } ``` diff --git a/docs/message/private_msg_content.md b/docs/message/private_msg_content.md index b07bfd4..e2af0f3 100644 --- a/docs/message/private_msg_content.md +++ b/docs/message/private_msg_content.md @@ -20,7 +20,7 @@ ```json { - "content": "Hello" + "content": "Hello" } ``` @@ -28,7 +28,7 @@ 在发送私信时,请确保下面的对象合法且 `url` 项的值为 B 站的图床 url,否则会报 21037 `图片格式不合法,不要调戏接口啦` 错误 -建议设置 `height` 与 `width` 属性,否则可能会导致消息显示异常 +建议设置 `height` 与 `width` 属性为图片的尺寸,否则可能会导致消息显示异常 根对象: @@ -47,12 +47,12 @@ ```json { - "url": "https://message.biliimg.com/bfs/im_new/c161fdf51d901c1607a15e30f10116dd425503913.jpg", - "height": 300, - "width": 300, - "imageType": "jpeg", - "original": 1, - "size": 55.443 + "url": "https://message.biliimg.com/bfs/im_new/c161fdf51d901c1607a15e30f10116dd425503913.jpg", + "height": 300, + "width": 300, + "imageType": "jpeg", + "original": 1, + "size": 55.443 } ``` @@ -100,13 +100,13 @@ ```json { - "author": "社会易姐QwQ", - "headline": "", - "id": 246551172, - "source": 5, - "thumb": "http://i2.hdslb.com/bfs/archive/14ba78056f946ece8c954a10677ef6b073edb178.jpg", - "title": "合 成 大 東 瓜", - "bvid": "BV16v411e7CW" + "author": "社会易姐QwQ", + "headline": "", + "id": 246551172, + "source": 5, + "thumb": "http://i2.hdslb.com/bfs/archive/14ba78056f946ece8c954a10677ef6b073edb178.jpg", + "title": "合 成 大 東 瓜", + "bvid": "BV16v411e7CW" } ``` @@ -150,14 +150,14 @@ ```json { - "avatar": "http://i0.hdslb.com/bfs/mall/mall/7b/dd/7bdd072290de017593791b52e937ca29.png", - "cover": "http://i0.hdslb.com/bfs/mall/mall/7b/dd/7bdd072290de017593791b52e937ca29.png", - "id": "bili91e3e7e93af281f9", - "jump_uri": "https://mall.bilibili.com/miniapp/bili91e3e7e93af281f9/pages/main?___timestamp=1689526821040&_biliFrom=about_bili_message&share_medium=android&share_source=bili_message&bbid=XU8CE838022AF6625C64B2153A3EF1E571AFF&ts=1689526821048", - "label_cover": "https://i0.hdslb.com/bfs/mall/mall/ae/0e/ae0ee4a857df5e307e1d04b5d420cb5b.png", - "label_name": "小程序", - "name": "主站测试专用小程序", - "title": "主站测试专用小程序" + "avatar": "http://i0.hdslb.com/bfs/mall/mall/7b/dd/7bdd072290de017593791b52e937ca29.png", + "cover": "http://i0.hdslb.com/bfs/mall/mall/7b/dd/7bdd072290de017593791b52e937ca29.png", + "id": "bili91e3e7e93af281f9", + "jump_uri": "https://mall.bilibili.com/miniapp/bili91e3e7e93af281f9/pages/main?___timestamp=1689526821040&_biliFrom=about_bili_message&share_medium=android&share_source=bili_message&bbid=XU8CE838022AF6625C64B2153A3EF1E571AFF&ts=1689526821048", + "label_cover": "https://i0.hdslb.com/bfs/mall/mall/ae/0e/ae0ee4a857df5e307e1d04b5d420cb5b.png", + "label_name": "小程序", + "name": "主站测试专用小程序", + "title": "主站测试专用小程序" } ``` @@ -176,12 +176,12 @@ | ----------------- | ----- | ------------- | ------------------------- | | title | str | 通知标题 | | | text | str | 通知内容 | | -| jump_text | str | 按钮1提示文字 | 若按钮1不存在则为空;若按钮1存在此项也可能为空,此时前端显示文字为 `查看详情` | +| jump_text | str | 按钮1提示文字 | 若按钮1不存在则为空;若按钮1存在,此项也可能为空,此时前端显示文字为 `查看详情` | | jump_uri | str | 按钮1跳转链接 | 若按钮1不存在则为空 | | modules | 有效时:array
无效时:null | 详细信息 | | -| jump_text_2 | str | 按钮2提示文字 | 若按钮2不存在则为空;若按钮2存在此项也可能为空,此时前端显示文字为 `查看详情` | +| jump_text_2 | str | 按钮2提示文字 | 若按钮2不存在则为空;若按钮2存在,此项也可能为空,此时前端显示文字为 `查看详情` | | jump_uri_2 | str | 按钮2跳转链接 | 若按钮2不存在则为空 | -| jump_text_3 | str | 按钮3提示文字 | 若按钮3不存在则为空;若按钮3存在此项也可能为空,此时前端显示文字为 `查看详情` | +| jump_text_3 | str | 按钮3提示文字 | 若按钮3不存在则为空;若按钮3存在,此项也可能为空,此时前端显示文字为 `查看详情` | | jump_uri_3 | str | 按钮3跳转链接 | 若按钮3不存在则为空 | | notifier | 有效时:obj
无效时:null | 发送者信息 | | | jump_uri_config | obj | 按钮1配置 | | @@ -241,44 +241,44 @@ ```json { - "title": "直播开始提醒", - "text": "你预约的直播已开始,快来围观吧~", - "jump_text": "进入直播间", - "jump_uri": "https://live.bilibili.com/22747055?broadcast_type=0&is_room_feed=1&live_from=27040", - "modules": [{ - "title": "预约主题", - "detail": "2024哔哩哔哩拜年纪" - }, { - "title": "开播时间", - "detail": "2024-02-09 19:32" - }, { - "title": "UP主", - "detail": "哔哩哔哩拜年纪" - }], - "jump_text_2": "", - "jump_uri_2": "", - "jump_text_3": "", - "jump_uri_3": "", - "notifier": null, - "jump_uri_config": { - "all_uri": "https://live.bilibili.com/22747055?broadcast_type=0&is_room_feed=1&live_from=27040", - "text": "进入直播间" - }, - "jump_uri_2_config": { - "text": "" - }, - "jump_uri_3_config": { - "text": "" - }, - "biz_content": { - "cover": "", - "backup_cover": "http://i0.hdslb.com/bfs/live/new_room_cover/bdae2665883ec8aa4e79aca16f3c5ee2df1da64f.jpg", - "refresh_type": 1, - "biz_type": 2, - "biz_id1": "1868902080", - "biz_id2": "473923647994271663", - "biz_status": 0 - } + "title": "直播开始提醒", + "text": "你预约的直播已开始,快来围观吧~", + "jump_text": "进入直播间", + "jump_uri": "https://live.bilibili.com/22747055?broadcast_type=0&is_room_feed=1&live_from=27040", + "modules": [{ + "title": "预约主题", + "detail": "2024哔哩哔哩拜年纪" + }, { + "title": "开播时间", + "detail": "2024-02-09 19:32" + }, { + "title": "UP主", + "detail": "哔哩哔哩拜年纪" + }], + "jump_text_2": "", + "jump_uri_2": "", + "jump_text_3": "", + "jump_uri_3": "", + "notifier": null, + "jump_uri_config": { + "all_uri": "https://live.bilibili.com/22747055?broadcast_type=0&is_room_feed=1&live_from=27040", + "text": "进入直播间" + }, + "jump_uri_2_config": { + "text": "" + }, + "jump_uri_3_config": { + "text": "" + }, + "biz_content": { + "cover": "", + "backup_cover": "http://i0.hdslb.com/bfs/live/new_room_cover/bdae2665883ec8aa4e79aca16f3c5ee2df1da64f.jpg", + "refresh_type": 1, + "biz_type": 2, + "biz_id1": "1868902080", + "biz_id2": "473923647994271663", + "biz_status": 0 + } } ``` @@ -315,17 +315,17 @@ ```json { - "title": "【2023嵌入式大赛】浅浅测试一下龙芯开发板", - "times": 308, - "cover": "http://i2.hdslb.com/bfs/archive/880c937de9af758451aa94ee29771e0264c1903a.jpg", - "rid": 740817783, - "type_": 8, - "desc": "最近把龙芯开发板部分(任务一)程序完成了,时间非常紧迫,就不知道为啥突然给省赛加个(本来国赛的题\n从硬件焊接开始,到软件整完不过5天啊喂,肝疼,过几天比赛完发硬件制作过程\n硬件使用龙芯一号(LS1B010)SOC,软件使用 C 语言+FreeRTOS+VSCode 开发", - "bvid": "BV1Dk4y1E7MZ", - "view": 13492, - "danmaku": 5, - "pub_date": 1683381582, - "attach_msg": null + "title": "【2023嵌入式大赛】浅浅测试一下龙芯开发板", + "times": 308, + "cover": "http://i2.hdslb.com/bfs/archive/880c937de9af758451aa94ee29771e0264c1903a.jpg", + "rid": 740817783, + "type_": 8, + "desc": "最近把龙芯开发板部分(任务一)程序完成了,时间非常紧迫,就不知道为啥突然给省赛加个(本来国赛的题\n从硬件焊接开始,到软件整完不过5天啊喂,肝疼,过几天比赛完发硬件制作过程\n硬件使用龙芯一号(LS1B010)SOC,软件使用 C 语言+FreeRTOS+VSCode 开发", + "bvid": "BV1Dk4y1E7MZ", + "view": 13492, + "danmaku": 5, + "pub_date": 1683381582, + "attach_msg": null } ``` @@ -370,19 +370,19 @@ ```json { - "rid": 18275013, - "title": "【单片机】遛弯捕捉到野生U盾,点亮它!", - "summary": "前一阵在学校那会,偶然的机会晚上饭后出去遛弯,在路边看到个被抛弃的 U盾,这么一想应该是附近拆迁搬东西时丢出去的,随即捕捉它。作为一个啥都折腾的捡垃圾技术宅肯定要去研究一波(笑是个建行的 U盾,按键部分还有点老灰,屏幕的尺寸盲猜 128x64,不可能再大了背面除了序列号没有别的东西,顶部有个盖子,像极了上古时期的 U盘插上充电宝可以正常点亮,至少屏没坏拆解&分析电路直接开拆,用刀片沿着四周缝隙插入并挑开卡扣内部结构挺简单,只有两颗较大的芯片,屏幕的 FPC 排线直接焊接在 PCB 上中间的这颗是", - "author": "社会易姐QwQ", - "view": 872, - "like": 38, - "reply": 7, - "template_id": 4, - "image_urls": [ - "https://i0.hdslb.com/bfs/article/c7c60e018c43c5c3a6e1520239021ea2753b2880.jpg" - ], - "attach_msg": null, - "pub_date": 1661358081 + "rid": 18275013, + "title": "【单片机】遛弯捕捉到野生U盾,点亮它!", + "summary": "前一阵在学校那会,偶然的机会晚上饭后出去遛弯,在路边看到个被抛弃的 U盾,这么一想应该是附近拆迁搬东西时丢出去的,随即捕捉它。作为一个啥都折腾的捡垃圾技术宅肯定要去研究一波(笑是个建行的 U盾,按键部分还有点老灰,屏幕的尺寸盲猜 128x64,不可能再大了背面除了序列号没有别的东西,顶部有个盖子,像极了上古时期的 U盘插上充电宝可以正常点亮,至少屏没坏拆解&分析电路直接开拆,用刀片沿着四周缝隙插入并挑开卡扣内部结构挺简单,只有两颗较大的芯片,屏幕的 FPC 排线直接焊接在 PCB 上中间的这颗是", + "author": "社会易姐QwQ", + "view": 872, + "like": 38, + "reply": 7, + "template_id": 4, + "image_urls": [ + "https://i0.hdslb.com/bfs/article/c7c60e018c43c5c3a6e1520239021ea2753b2880.jpg" + ], + "attach_msg": null, + "pub_date": 1661358081 } ``` @@ -402,9 +402,9 @@ ```json { - "pic_url": "http://i0.hdslb.com/bfs/location/9e57aff7245c226c05ba46ddd1e82667f74d5a06.png", - "jump_url": "https://www.bilibili.com/h5/mall/suit/detail?navhide=1&id=66359&from=Banner", - "title": "原神,启动!" + "pic_url": "http://i0.hdslb.com/bfs/location/9e57aff7245c226c05ba46ddd1e82667f74d5a06.png", + "jump_url": "https://www.bilibili.com/h5/mall/suit/detail?navhide=1&id=66359&from=Banner", + "title": "原神,启动!" } ``` @@ -429,12 +429,12 @@ ```json { - "author": "哔哩哔哩晚会", - "cover": "https://i1.hdslb.com/bfs/face/1b593d28fcd0cf63837c3ea80ac96d01bb85ec3b.jpg", - "desc": "主播:哔哩哔哩晚会 https://live.bilibili.com/21738461", - "source": "直播", - "title": "2023最美的夜 bilibili晚会", - "url": "https://live.bilibili.com/21738461?broadcast_type=0&is_room_feed=1&live_from=41000&share_medium=android&share_source=bili_message&bbid=XU8CE838022AF6625C64B2153A3EF1E571AFF&ts=1704038936971" + "author": "哔哩哔哩晚会", + "cover": "https://i1.hdslb.com/bfs/face/1b593d28fcd0cf63837c3ea80ac96d01bb85ec3b.jpg", + "desc": "主播:哔哩哔哩晚会 https://live.bilibili.com/21738461", + "source": "直播", + "title": "2023最美的夜 bilibili晚会", + "url": "https://live.bilibili.com/21738461?broadcast_type=0&is_room_feed=1&live_from=41000&share_medium=android&share_source=bili_message&bbid=XU8CE838022AF6625C64B2153A3EF1E571AFF&ts=1704038936971" } ``` @@ -477,42 +477,42 @@ ```json { - "main_title": "更多宝藏内容", - "reply_content": "感谢大佬关注哦~[doge][脱单doge][doge]\n这里是科技区底边小UP,日常瞎折腾,软硬件电路程序网络服务器都折腾,视频月更风格硬核略小众,咕咕咕.....\n老大二了,就不中二了\n有什么好的建议欢迎私信", - "sub_cards": [{ - "card_id": 379743801, - "card_type": 1, - "jump_url": "https://b23.tv/BV1hZ4y197Cz", - "cover_url": "http://i2.hdslb.com/bfs/archive/bfb87f033272926efe6ff4caee8e6c49c07ff6fe.jpg", - "field1": "【宿舍评测】性能与便携两全 华为matebook E 2022深度体验及伪开箱", - "field2": "2021-12-10", - "field3": "20万", - "icon3": 1, - "field4": "479", - "icon4": 3 - }, { - "card_id": 768716232, - "card_type": 1, - "jump_url": "https://b23.tv/BV13r4y187R8", - "cover_url": "http://i1.hdslb.com/bfs/archive/bb1d41ef0c17c2df25c8b6ef98f01466bdee0c1f.jpg", - "field1": "【BadApple】使用古董示波器Aron BS-601播放BadApple!!!", - "field2": "2022-05-03", - "field3": "15万", - "icon3": 1, - "field4": "297", - "icon4": 3 - }, { - "card_id": 524989935, - "card_type": 1, - "jump_url": "https://b23.tv/BV17M411E7Kq", - "cover_url": "http://i1.hdslb.com/bfs/archive/17335854dfad9d7990943d8cc6dc07c85912b103.jpg", - "field1": "【拆解】华为 Matebook E 更换固态硬盘:从未见过如此好拆的二合一", - "field2": "2023-02-24", - "field3": "5万", - "icon3": 1, - "field4": "102", - "icon4": 3 - }] + "main_title": "更多宝藏内容", + "reply_content": "感谢大佬关注哦~[doge][脱单doge][doge]\n这里是科技区底边小UP,日常瞎折腾,软硬件电路程序网络服务器都折腾,视频月更风格硬核略小众,咕咕咕.....\n老大二了,就不中二了\n有什么好的建议欢迎私信", + "sub_cards": [{ + "card_id": 379743801, + "card_type": 1, + "jump_url": "https://b23.tv/BV1hZ4y197Cz", + "cover_url": "http://i2.hdslb.com/bfs/archive/bfb87f033272926efe6ff4caee8e6c49c07ff6fe.jpg", + "field1": "【宿舍评测】性能与便携两全 华为matebook E 2022深度体验及伪开箱", + "field2": "2021-12-10", + "field3": "20万", + "icon3": 1, + "field4": "479", + "icon4": 3 + }, { + "card_id": 768716232, + "card_type": 1, + "jump_url": "https://b23.tv/BV13r4y187R8", + "cover_url": "http://i1.hdslb.com/bfs/archive/bb1d41ef0c17c2df25c8b6ef98f01466bdee0c1f.jpg", + "field1": "【BadApple】使用古董示波器Aron BS-601播放BadApple!!!", + "field2": "2022-05-03", + "field3": "15万", + "icon3": 1, + "field4": "297", + "icon4": 3 + }, { + "card_id": 524989935, + "card_type": 1, + "jump_url": "https://b23.tv/BV17M411E7Kq", + "cover_url": "http://i1.hdslb.com/bfs/archive/17335854dfad9d7990943d8cc6dc07c85912b103.jpg", + "field1": "【拆解】华为 Matebook E 更换固态硬盘:从未见过如此好拆的二合一", + "field2": "2023-02-24", + "field3": "5万", + "icon3": 1, + "field4": "102", + "icon4": 3 + }] } ``` @@ -522,8 +522,8 @@ 根对象: -| 字段 | 类型 | 内容 | 备注 | -| ------- | ---- | -------- | ---------------------- | +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | -------------------------- | | content | str | 提示列表 | **经过序列化后**的JSON数组 | `content`文本经JSON解析后的数组: @@ -549,7 +549,7 @@ ```json { - "content": "[{\"text\":\"对方主动回复或关注你前,最多发送1条消息\",\"color_day\":\"#9499A0\",\"color_nig\":\"#9499A0\"}]" + "content": "[{\"text\":\"对方主动回复或关注你前,最多发送1条消息\",\"color_day\":\"#9499A0\",\"color_nig\":\"#9499A0\"}]" } ``` @@ -601,10 +601,10 @@ 根对象: -| 字段 | 类型 | 内容 | 备注 | -| -------- | ---- | -------- | ---- | -| group_id | num | 粉丝团id | | -| content | str | 提示文字 | | +| 字段 | 类型 | 内容 | 备注 | +| -------- | ---- | -------- | ---------- | +| group_id | num | 粉丝团id | (非必要) | +| content | str | 提示文字 | | **示例:** @@ -612,8 +612,8 @@ ```json { - "group_id": 221082140, - "content": "社会易姐QwQ的应援团开通啦 (>▽<)" + "group_id": 221082140, + "content": "社会易姐QwQ的应援团开通啦 (>▽<)" } ``` @@ -621,7 +621,7 @@ ```json { - "group_id": 221082140, - "content": "欢迎wuziqian211入群" + "group_id": 221082140, + "content": "欢迎wuziqian211入群" } ``` diff --git a/docs/user/info.md b/docs/user/info.md index 09bf4b6..3532f1b 100644 --- a/docs/user/info.md +++ b/docs/user/info.md @@ -318,7 +318,7 @@ | 字段 | 类型 | 内容 | 备注 | | -------- | ---- | ---------------- | ---------------- | | show | bool | 是否显示充电按钮 | | -| state | num | 充电功能开启状态 | -1:未开通充电功能
1:已开通自定义充电
2:已开通包月、自定义充电
3:已开通高档、自定义充电 | +| state | num | 充电功能开启状态 | -1:未开通充电功能
1:已开通自定义充电
2:已开通包月、自定义充电
3:已开通包月高档、自定义充电 | | title | str | 充电按钮显示文字 | 空字符串或 `充电` 或 `充电中` | | icon | str | 充电图标 | | | jump_url | str | 跳转url | | From 0d6d975f4967364c4863944cf1f286e695c99f52 Mon Sep 17 00:00:00 2001 From: pskdje <77605497+pskdje@users.noreply.github.com> Date: Sun, 4 May 2025 16:43:35 +0800 Subject: [PATCH 22/66] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=9B=B4=E6=92=AD?= =?UTF-8?q?=E5=BC=B9=E5=B9=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将以下2个issue编写为文档: https://github.com/SocialSisterYi/bilibili-API-collect/issues/1236 https://github.com/SocialSisterYi/bilibili-API-collect/issues/1263 --- docs/live/danmaku.md | 507 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 507 insertions(+) create mode 100644 docs/live/danmaku.md diff --git a/docs/live/danmaku.md b/docs/live/danmaku.md new file mode 100644 index 0000000..765389e --- /dev/null +++ b/docs/live/danmaku.md @@ -0,0 +1,507 @@ +# 直播间弹幕 + +## 获取当前用户对应直播间可发弹幕配置 + +> https://api.live.bilibili.com/xlive/web-room/v1/dM/GetDMConfigByGroup + +*请求方式: GET* + +认证方式: Cookie (SESSDATA) + +未登录也可以获取,但颜色只有白色可用,模式只有滚动。 + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---- | --- | --- | ---- | --- | +| room_id | num | 直播间id | 必要 | | +| web_location | str | (?) | 非必要 | 作用尚不明确 | +| w_rid | str | wbi签名 | 非必要 | 不强制需要 | +| wts | num | 秒时间戳 | 非必要 | 不强制需要 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| --- | --- | --- | --- | +| code | num | 返回值 | 0: 成功
-400: 参数错误 | +| data | obj | 信息本体 | | +| message | str | 错误信息 | | +| msg | str | 信息 | 成功时存在,为`""`(空字符串) | +| ttl | num | `1` | 成功时不存在 | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| --- | --- | --- | --- | +| group | arr | 弹幕颜色组 | | +| mode | arr | 弹幕显示模式 | | + +`data.group` 数组中对象: + +| 字段 | 类型 | 内容 | 备注 | +| --- | --- | --- | --- | +| name | str | 显示名称 | | +| sort | num | 用于排序 | | +| color | arr | 该组颜色列表 | | + +`data.group[i].color` 数组中对象: + +| 字段 | 类型 | 内容 | 备注 | +| --- | --- | --- | --- | +| name | str | 颜色名 | | +| color | str | 十进制颜色值 | 发送弹幕用 | +| color\_hex | str | 十六进制颜色值 | 发送弹幕用 | +| status | num | 可用状态 | 0: 不可用
1: 可用 | +| weight | num | (?) | 作用尚不明确 | +| color\_id | num | 颜色id? | | +| origin | num | (?) | | + +`data.mode` 数组中对象: + +| 字段 | 类型 | 内容 | 备注 | +| --- | --- | --- | --- | +| name | str | 模式名称 | | +| mode | num | 模式值 | 发送弹幕用 | +| type | str | 模式类型 | | +| status | num | 可用状态 | 0: 不可用
1: 可用 | + +**示例:** + +获取未登录用户在直播间 `1` 的弹幕配置可用情况 + +```shell +curl https://api.live.bilibili.com/xlive/web-room/v1/dM/GetDMConfigByGroup?room_id=1 +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "data": { + "group": [ + { + "name": "普", + "sort": 0, + "color": [ + { + "name": "白色", + "color": "16777215", + "color_hex": "ffffff", + "status": 1, + "weight": -9999, + "color_id": -9999, + "origin": 0 + } + ] + }, + { + "name": "航", + "sort": 100, + "color": [ + { + "name": "紫色", + "color": "14893055", + "color_hex": "e33fff", + "status": 0, + "weight": 0, + "color_id": 6, + "origin": 1 + } + ] + }, + { + "name": "粉", + "sort": 200, + "color": [ + { + "name": "松石绿", + "color": "5566168", + "color_hex": "54eed8", + "status": 0, + "weight": 99, + "color_id": 66, + "origin": 2 + }, + { + "name": "雨后蓝", + "color": "5816798", + "color_hex": "58c1de", + "status": 0, + "weight": 98, + "color_id": 67, + "origin": 2 + }, + { + "name": "星空蓝", + "color": "4546550", + "color_hex": "455ff6", + "status": 0, + "weight": 97, + "color_id": 68, + "origin": 2 + }, + { + "name": "紫罗兰", + "color": "9920249", + "color_hex": "975ef9", + "status": 0, + "weight": 96, + "color_id": 69, + "origin": 2 + }, + { + "name": "梦境红", + "color": "12802438", + "color_hex": "c35986", + "status": 0, + "weight": 95, + "color_id": 70, + "origin": 2 + }, + { + "name": "热力橙", + "color": "16747553", + "color_hex": "ff8c21", + "status": 0, + "weight": 94, + "color_id": 71, + "origin": 2 + }, + { + "name": "香槟金", + "color": "16774434", + "color_hex": "fff522", + "status": 0, + "weight": 93, + "color_id": 72, + "origin": 2 + } + ] + }, + { + "name": "爷", + "sort": 300, + "color": [ + { + "name": "红色", + "color": "16738408", + "color_hex": "ff6868", + "status": 0, + "weight": 0, + "color_id": 8, + "origin": 3 + }, + { + "name": "蓝色", + "color": "6737151", + "color_hex": "66ccff", + "status": 0, + "weight": 0, + "color_id": 7, + "origin": 3 + } + ] + }, + { + "name": "活", + "sort": 400, + "color": [ + { + "name": "盛典金", + "color": "16766720", + "color_hex": "ffd700", + "status": 0, + "weight": 100, + "color_id": 44, + "origin": 4 + }, + { + "name": "升腾蓝", + "color": "4286945", + "color_hex": "4169e1", + "status": 0, + "weight": 100, + "color_id": 43, + "origin": 4 + }, + { + "name": "青色", + "color": "65532", + "color_hex": "fffc", + "status": 0, + "weight": 0, + "color_id": 5, + "origin": 4 + }, + { + "name": "绿色", + "color": "8322816", + "color_hex": "7eff00", + "status": 0, + "weight": 0, + "color_id": 4, + "origin": 4 + }, + { + "name": "黄色弹幕", + "color": "16772431", + "color_hex": "ffed4f", + "status": 0, + "weight": 0, + "color_id": 3, + "origin": 4 + }, + { + "name": "橙色", + "color": "16750592", + "color_hex": "ff9800", + "status": 0, + "weight": 0, + "color_id": 2, + "origin": 4 + }, + { + "name": "粉色", + "color": "16741274", + "color_hex": "ff739a", + "status": 0, + "weight": 0, + "color_id": 1, + "origin": 4 + } + ] + } + ], + "mode": [ + { + "name": "滚动", + "mode": 1, + "type": "scroll", + "status": 1 + }, + { + "name": "底部", + "mode": 4, + "type": "bottom", + "status": 0 + }, + { + "name": "顶部", + "mode": 5, + "type": "top", + "status": 0 + } + ] + }, + "message": "", + "msg": "" +} +``` + +
+ +## 设置弹幕样式 + +> https://api.live.bilibili.com/xlive/web-room/v1/dM/AjaxSetConfig + +*请求方式: POST* + +认证方式: Cookie (SESSDATA) + +鉴权方式: Cookie中`bili_jct`的值正确并与`csrf`相同 + +**正文参数 (application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---- | --- | --- | ---- | --- | +| csrf | str | CSRF Token(位于cookie) | 必要 | | +| csrf\_token | str | 同csrf | 非必要 | | +| room\_id | num | 直播间id | 必要 | | +| color | str | 颜色值 | 必要(可选) | color和mode任选一个 | +| mode | num | 弹幕模式 | 必要(可选) | color和mode任选一个 | + +注1: 抓取到的color格式是`"0x"+六位十六进制小写颜色值`,实际不需要`0x`,且不区分大小写。 + +注2: 若color和mode同时存在将只处理color,mode将被忽略。(见[#1236(comment)](https://github.com/SocialSisterYi/bilibili-API-collect/issues/1236#issuecomment-2849019923)) + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| --- | --- | --- | --- | +| code | num | 返回值 | 0: 成功
-101: 账号未登录
-500: 未达到使用条件
10064002: 参数错误
10065107: 颜色不存在 | +| message | str | 错误信息 | | +| ttl | num | `1` | | +| data | obj | 信息本体 | 部分情况不存在,10064002时为`null` | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| --- | --- | --- | --- | +| status | num | 同code | | +| msg | str | 提示信息 | 成功时有内容 | +| roomid | num | 直播间id | | + +**示例:** + +更改直播间 `1017` 的弹幕颜色为白色 + +```shell +curl 'https://api.live.bilibili.com/xlive/web-room/v1/dM/AjaxSetConfig' \ + --data-urlencode 'room_id=1017' \ + --data-urlencode 'color=0xffffff' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx;bili_jct=xxx' +``` + +
+查看响应示例: + +```json +{ + "code":0, + "message":"0", + "ttl":1, + "data":{ + "status":0, + "msg":"设置成功~", + "roomid":1017 + } +} +``` + +
+ +## 发送直播弹幕 + +> https://api.live.bilibili.com/msg/send + +*请求方式: POST* + +认证方式: Cookie (SESSDATA) + +鉴权方式: Cookie中`bili_jct`的值正确并与`csrf`相同 + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ----- | ---- | --- | ----- | --- | +| w_rid | str | wbi签名 | 非必要 | 不强制需要 | +| wts | num | Unix 秒时间戳 | 非必要 | 不强制需要 | + +**正文参数 (`application/x-www-form-urlencoded`或`multipart/form-data`):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---- | --- | --- | ---- | --- | +| csrf | str | CSRF Token(位于cookie) | 必要 | | +| roomid | num | 直播间id | 必要 | | +| msg | str | 弹幕内容 | 必要 | | +| rnd | num | 当前 Unix 秒时间戳 | 必要 | | +| fontsize | num | 字体大小 | 必要 | 默认为`25` | +| color | num | 十进制颜色值 | 必要 | 实际无效果 | +| mode | num | 展示模式 | 非必要 | 默认为`1` | +| bubble | num | (?) | 非必要 | 值为`0` | +| room\_type | num | (?) | 非必要 | `0` | +| jumpfrom | num | (?) | 非必要 | `0` | +| reply\_mid | num | (?) | 非必要 | `0` | +| reply\_attr | num | (?) | 非必要 | `0` | +| reply\_uname | str | (?) | 非必要 | `""` | +| replay\_dmid | str | (?) | 非必要 | `""` | +| statistics | str | (?) | 非必要 | `{"appId":100,"platform":5}` | +| csrf_token | str | 同csrf | 非必要 | | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| --- | --- | --- | --- | +| code | num | 返回值 | `-101`:账号未登录
`-111`:csrf 校验失败
`-400`:请求错误,带有必须参数的信息
`1003212`:超出限制长度
`10031`:发送频率过快 | +| message | str | 错误信息 | | +| msg | str | 同`message` | | +| data | obj | 信息本体 | | +| ttl | num | `1` | 在小于0的code中存在 | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| --- | --- | --- | --- | +| mode_info | obj | 弹幕信息 | | +| dm_v2 | null | v2弹幕 | | + +`data.mode_info` 对象: + +基本上与[直播间信息流#弹幕 (DANMU_MSG)](message_stream.md#弹幕-danmu_msg)的`info[0][15]`对象。 + +**示例:** + +给直播间 `1899237171` 发送内容为 `QwQ` 的弹幕 + +```shell +curl 'https://api.live.bilibili.com/msg/send' \ + --data-urlencode 'roomid=1899237171' \ + --data-urlencode 'msg=QwQ' \ + --data-urlencode 'rnd=1744956003' \ + --data-urlencode 'fontsize=25' + --data-urlencode 'color=16777215' + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx;bili_jct=xxx' +``` + +
+查看响应示例: + +```json +{ + "code":0, + "data":{ + "mode_info":{ + "mode":0, + "show_player_type":0, + "extra":"{\"send_from_me\":true,\"master_player_hidden\":false,\"mode\":0,\"color\":16777215,\"dm_type\":0,\"font_size\":25,\"player_mode\":1,\"show_player_type\":0,\"content\":\"QwQ\",\"user_hash\":\"2402762465\",\"emoticon_unique\":\"\",\"bulge_display\":0,\"recommend_score\":7,\"main_state_dm_color\":\"\",\"objective_state_dm_color\":\"\",\"direction\":0,\"pk_direction\":0,\"quartet_direction\":0,\"anniversary_crowd\":0,\"yeah_space_type\":\"\",\"yeah_space_url\":\"\",\"jump_to_url\":\"\",\"space_type\":\"\",\"space_url\":\"\",\"animation\":{},\"emots\":null,\"is_audited\":false,\"id_str\":\"4e3ed8ede9409b234b5e1d64c06801ea3119\",\"icon\":null,\"show_reply\":true,\"reply_mid\":0,\"reply_uname\":\"\",\"reply_uname_color\":\"\",\"reply_is_mystery\":false,\"reply_type_enum\":0,\"hit_combo\":0,\"esports_jump_url\":\"\"}", + "user":{ + "uid":438160221, + "base":{ + "name":"weatfe", + "face":"https://i0.hdslb.com/bfs/face/member/noface.jpg", + "name_color":0, + "is_mystery":false, + "risk_ctrl_info":null, + "origin_info":{ + "name":"weatfe", + "face":"https://i0.hdslb.com/bfs/face/member/noface.jpg" + }, + "official_info":{ + "role":0, + "title":"", + "desc":"", + "type":-1 + }, + "name_color_str":"" + }, + "medal":null, + "wealth":null, + "title":{ + "old_title_css_id":"", + "title_css_id":"" + }, + "guard":null, + "uhead_frame":null, + "guard_leader":{ + "is_guard_leader":false + } + } + }, + "dm_v2":null + }, + "message":"", + "msg":"" +} +``` + +
From 126f78eac397bd2e5185a965a8c759d964bcd6ac Mon Sep 17 00:00:00 2001 From: pskdje <77605497+pskdje@users.noreply.github.com> Date: Sun, 4 May 2025 17:36:25 +0800 Subject: [PATCH 23/66] =?UTF-8?q?=E8=B0=83=E6=95=B4L439=E7=9A=84=E8=A1=A8?= =?UTF-8?q?=E8=BF=B0=EF=BC=8C=E4=BF=AE=E6=AD=A3L75=E7=9A=84curl=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/live/danmaku.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/live/danmaku.md b/docs/live/danmaku.md index 765389e..68b8309 100644 --- a/docs/live/danmaku.md +++ b/docs/live/danmaku.md @@ -72,7 +72,7 @@ 获取未登录用户在直播间 `1` 的弹幕配置可用情况 ```shell -curl https://api.live.bilibili.com/xlive/web-room/v1/dM/GetDMConfigByGroup?room_id=1 +curl 'https://api.live.bilibili.com/xlive/web-room/v1/dM/GetDMConfigByGroup?room_id=1' ```
@@ -436,7 +436,7 @@ curl 'https://api.live.bilibili.com/xlive/web-room/v1/dM/AjaxSetConfig' \ `data.mode_info` 对象: -基本上与[直播间信息流#弹幕 (DANMU_MSG)](message_stream.md#弹幕-danmu_msg)的`info[0][15]`对象。 +基本上与[直播间信息流#弹幕 (DANMU_MSG)](message_stream.md#弹幕-danmu_msg)的`info[0][15]`对象相同。 **示例:** From d9600c046eb5ebbf47ba1a835576427f2da82314 Mon Sep 17 00:00:00 2001 From: pskdje <77605497+pskdje@users.noreply.github.com> Date: Sun, 4 May 2025 18:21:06 +0800 Subject: [PATCH 24/66] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E7=9B=B4=E6=92=AD?= =?UTF-8?q?=E9=97=B4=E5=BC=B9=E5=B9=95=20=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ae4f7ea..85de336 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,7 @@ B站 API 采用 C/S 结构,大多数接口为 REST API 和 gRPC,少部分接 - [x] [直播间禁言相关](docs/live/silent_user_manage.md) - [ ] [关注UP直播情况](docs/live/follow_up_live.md) - [ ] [直播心跳上报](docs/live/report.md) + - [ ] [直播间弹幕](docs/live/danmaku.md) - [ ] [活动](docs/activity) - [ ] [活动列表](docs/activity/list.md) - [ ] [活动主题信息](docs/activity/info.md) From 591dcf4d9f4b6c4ca8ff3390ae71b4a25df86afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Sun, 4 May 2025 23:58:48 +0800 Subject: [PATCH 25/66] style: wrap URLs with angle brackets --- docs/electric/charge_list.md | 8 ++++---- docs/electric/monthly.md | 8 ++++---- docs/message/private_msg.md | 20 ++++++++++---------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/electric/charge_list.md b/docs/electric/charge_list.md index cb68162..6bd2cdd 100644 --- a/docs/electric/charge_list.md +++ b/docs/electric/charge_list.md @@ -2,7 +2,7 @@ ## 获取空间充电公示列表 -> https://api.bilibili.com/x/ugcpay-rank/elec/month/up +> *请求方式:GET* @@ -120,7 +120,7 @@ curl -G 'https://api.bilibili.com/x/ugcpay-rank/elec/month/up' \ ## 获取视频充电鸣谢名单 -> https://api.bilibili.com/x/web-interface/elec/show +> *请求方式:GET* @@ -307,7 +307,7 @@ curl -G 'https://api.bilibili.com/x/web-interface/elec/show' \ ## 查询我收到的充电列表 -> https://pay.bilibili.com/bk/brokerage/listForCustomerRechargeRecord +> *请求方式:GET* @@ -443,7 +443,7 @@ curl -G 'https://pay.bilibili.com/bk/brokerage/listForCustomerRechargeRecord' \ ## 查询历史充电数据 -> https://member.bilibili.com/x/h5/elec/rank/recent +> *请求方式:GET* diff --git a/docs/electric/monthly.md b/docs/electric/monthly.md index 9bed7cc..21dc3ef 100644 --- a/docs/electric/monthly.md +++ b/docs/electric/monthly.md @@ -22,7 +22,7 @@ ## 获取包月充电列表 -> https://api.live.bilibili.com/xlive/revenue/v1/guard/getChargeRecord +> *请求方式:GET* @@ -237,7 +237,7 @@ curl 'https://api.live.bilibili.com/xlive/revenue/v1/guard/getChargeRecord' \ ## UP主包月充电详情 -> https://api.bilibili.com/x/upower/item/detail +> *请求方式:GET* @@ -396,7 +396,7 @@ curl 'https://api.bilibili.com/x/upower/item/detail' \ ## 与UP主的包月充电关系 -> https://api.bilibili.com/x/upower/charge/follow/info +> *请求方式:GET* @@ -547,7 +547,7 @@ curl 'https://api.bilibili.com/x/upower/charge/follow/info' \ ## 包月充电用户排名 -> https://api.bilibili.com/x/upower/up/member/rank/v2 +> *请求方式:GET* diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index a75b1fa..57784da 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -95,7 +95,7 @@ ## 获取未读私信数 -> https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread +> *请求方式:GET* @@ -178,7 +178,7 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \ ## 获取指定类型会话列表 -> https://api.vc.bilibili.com/session_svr/v1/session_svr/get_sessions +> *请求方式:GET* @@ -409,7 +409,7 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/get_sessions' \ ## 获取新会话列表 -> https://api.vc.bilibili.com/session_svr/v1/session_svr/new_sessions +> *请求方式:GET* @@ -622,7 +622,7 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/new_sessions' \ ## 获取会话详细信息 -> https://api.vc.bilibili.com/session_svr/v1/session_svr/session_detail +> *请求方式:GET* @@ -722,7 +722,7 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/session_detail' ## 查询私信消息记录 -> https://api.vc.bilibili.com/svr_sync/v1/svr_sync/fetch_session_msgs +> *请求方式:GET* @@ -871,7 +871,7 @@ curl -G 'https://api.vc.bilibili.com/svr_sync/v1/svr_sync/fetch_session_msgs' \ ## 获取会话限制状态 -> https://api.vc.bilibili.com/link_setting/v1/link_setting/is_limit +> *请求方式:GET* @@ -936,7 +936,7 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/is_limit' \ ## 获取会话推送设置 -> https://api.vc.bilibili.com/link_setting/v1/link_setting/get_session_ss +> *请求方式:GET* @@ -1007,7 +1007,7 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_session_ss ## 获取多个视频、番剧、专栏的信息 -> https://api.vc.bilibili.com/x/im/feed/infoweb +> *请求方式:GET* @@ -1180,7 +1180,7 @@ curl -G 'https://api.vc.bilibili.com/x/im/feed/infoweb' \ ## 设置私信为已读 -> https://api.vc.bilibili.com/session_svr/v1/session_svr/update_ack +> *请求方式:POST* @@ -1247,7 +1247,7 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/update_ack' \ ## 发送私信(web端) -> https://api.vc.bilibili.com/web_im/v1/web_im/send_msg +> *请求方式:POST* From b196d49bb11ad250ce85a2546f4407b6c28903c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 00:26:19 +0800 Subject: [PATCH 26/66] fix(private_msg): escape characters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/private_msg.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index 57784da..690a80f 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -1395,7 +1395,7 @@ public class Main { 给目标用户`mid=1`发一条文字私信: -> up主你好,
催更[doge] +> up主你好,
催更\[doge\] ```shell curl 'https://api.vc.bilibili.com/web_im/v1/web_im/send_msg' \ From 9c2214be5e60f3ae18f883190aacd4aa9fb9356b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 01:03:38 +0800 Subject: [PATCH 27/66] style(private_msg): add spaces in request example --- docs/message/private_msg.md | 80 ++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index 690a80f..f13b4c6 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -1222,12 +1222,12 @@ curl -G 'https://api.vc.bilibili.com/x/im/feed/infoweb' \ ```shell curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/update_ack' \ ---data-urlencode 'talker_id=293793435' \ ---data-urlencode 'session_type=1' \ ---data-urlencode 'ack_seqno=1236306587877408' \ ---data-urlencode 'csrf=xxx' \ ---data-urlencode 'csrf_token=xxx' \ --b 'SESSDATA=xxx' + --data-urlencode 'talker_id=293793435' \ + --data-urlencode 'session_type=1' \ + --data-urlencode 'ack_seqno=1236306587877408' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -1399,18 +1399,18 @@ public class Main { ```shell curl 'https://api.vc.bilibili.com/web_im/v1/web_im/send_msg' \ ---data-urlencode 'msg[sender_uid]=293793435' \ ---data-urlencode 'msg[receiver_id]=1' \ ---data-urlencode 'msg[receiver_type]=1' \ ---data-urlencode 'msg[msg_type]=1' \ ---data-urlencode 'msg[msg_status]=0' \ ---data-urlencode 'msg[dev_id]=372778FD-E359-461D-86A3-EA2BCC6FF52A' \ ---data-urlencode 'msg[timestamp]=1626181379' \ ---data-urlencode 'msg[new_face_version]=1' \ ---data-urlencode 'msg[content]={"content":"up主你好,\n催更[doge]"}' \ ---data-urlencode 'csrf=xxx' \ ---data-urlencode 'csrf_token=xxx' \ --b 'SESSDATA=xxx' + --data-urlencode 'msg[sender_uid]=293793435' \ + --data-urlencode 'msg[receiver_id]=1' \ + --data-urlencode 'msg[receiver_type]=1' \ + --data-urlencode 'msg[msg_type]=1' \ + --data-urlencode 'msg[msg_status]=0' \ + --data-urlencode 'msg[dev_id]=372778FD-E359-461D-86A3-EA2BCC6FF52A' \ + --data-urlencode 'msg[timestamp]=1626181379' \ + --data-urlencode 'msg[new_face_version]=1' \ + --data-urlencode 'msg[content]={"content":"up主你好,\n催更[doge]"}' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -1444,17 +1444,17 @@ curl 'https://api.vc.bilibili.com/web_im/v1/web_im/send_msg' \ ```shell curl 'https://api.vc.bilibili.com/web_im/v1/web_im/send_msg' \ ---data-urlencode 'msg[sender_uid]=293793435' \ ---data-urlencode 'msg[receiver_id]=1' \ ---data-urlencode 'msg[receiver_type]=1' \ ---data-urlencode 'msg[msg_type]=2' \ ---data-urlencode 'msg[msg_status]=0' \ ---data-urlencode 'msg[dev_id]=372778FD-E359-461D-86A3-EA2BCC6FF52A' \ ---data-urlencode 'msg[timestamp]=1626181379' \ ---data-urlencode 'msg[content]={"url":"https://i1.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg","height":300,"width":300,"imageType":"jpeg","original":1,"size":54.144}' \ ---data-urlencode 'csrf=xxx' \ ---data-urlencode 'csrf_token=xxx' \ --b 'SESSDATA=xxx' + --data-urlencode 'msg[sender_uid]=293793435' \ + --data-urlencode 'msg[receiver_id]=1' \ + --data-urlencode 'msg[receiver_type]=1' \ + --data-urlencode 'msg[msg_type]=2' \ + --data-urlencode 'msg[msg_status]=0' \ + --data-urlencode 'msg[dev_id]=372778FD-E359-461D-86A3-EA2BCC6FF52A' \ + --data-urlencode 'msg[timestamp]=1626181379' \ + --data-urlencode 'msg[content]={"url":"https://i1.hdslb.com/bfs/face/aebb2639a0d47f2ce1fec0631f412eaf53d4a0be.jpg","height":300,"width":300,"imageType":"jpeg","original":1,"size":54.144}' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -1478,17 +1478,17 @@ curl 'https://api.vc.bilibili.com/web_im/v1/web_im/send_msg' \ ```shell curl 'https://api.vc.bilibili.com/web_im/v1/web_im/send_msg' \ ---data-urlencode 'msg[sender_uid]=293793435' \ ---data-urlencode 'msg[receiver_id]=1' \ ---data-urlencode 'msg[receiver_type]=1' \ ---data-urlencode 'msg[msg_type]=1' \ ---data-urlencode 'msg[msg_status]=0' \ ---data-urlencode 'msg[dev_id]=372778FD-E359-461D-86A3-EA2BCC6FF52A' \ ---data-urlencode 'msg[timestamp]=1626181379' \ ---data-urlencode 'msg[content]={"content":"支付宝"}' \ ---data-urlencode 'csrf=xxx' \ ---data-urlencode 'csrf_token=xxx' \ --b 'SESSDATA=xxx' + --data-urlencode 'msg[sender_uid]=293793435' \ + --data-urlencode 'msg[receiver_id]=1' \ + --data-urlencode 'msg[receiver_type]=1' \ + --data-urlencode 'msg[msg_type]=1' \ + --data-urlencode 'msg[msg_status]=0' \ + --data-urlencode 'msg[dev_id]=372778FD-E359-461D-86A3-EA2BCC6FF52A' \ + --data-urlencode 'msg[timestamp]=1626181379' \ + --data-urlencode 'msg[content]={"content":"支付宝"}' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' ```
From c423b1825676d79070fc92753c0af817af9ecc9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 01:04:05 +0800 Subject: [PATCH 28/66] fix(article/list): remove symbol link --- docs/article/list.md | 1 - 1 file changed, 1 deletion(-) delete mode 120000 docs/article/list.md diff --git a/docs/article/list.md b/docs/article/list.md deleted file mode 120000 index 6dff8e0..0000000 --- a/docs/article/list.md +++ /dev/null @@ -1 +0,0 @@ -../user/space.md \ No newline at end of file From 2e27a2aa75dfbea4878983a4378c96c78c6ae60d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 01:04:24 +0800 Subject: [PATCH 29/66] feat(judgement_info): add request example --- docs/blackroom/jury/judgement_info.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/blackroom/jury/judgement_info.md b/docs/blackroom/jury/judgement_info.md index 1197b65..9b2d9d3 100644 --- a/docs/blackroom/jury/judgement_info.md +++ b/docs/blackroom/jury/judgement_info.md @@ -167,6 +167,12 @@ **示例:** +```shell +curl -G 'https://api.bilibili.com/x/credit/v2/jury/case/info' \ + --data-urlencode 'case_id=AC2SiaD8jlrL' \ + -b 'SESSDATA=xxx' +``` +
查看响应示例: From 7ce8f9c70e2f433624b51c735d247ea7869f21e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 01:04:46 +0800 Subject: [PATCH 30/66] feat: #689 --- docs/video/info.md | 2 +- docs/video/player.md | 22 +++++++++++++++++++--- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/docs/video/info.md b/docs/video/info.md index 4dd6c2d..78f5943 100644 --- a/docs/video/info.md +++ b/docs/video/info.md @@ -67,7 +67,7 @@ | is_chargeable_season | bool | | | | is_story | bool | 是否可以在 Story Mode 展示? | | | is_upower_exclusive | bool | 是否为充电专属视频 | | -| is_upower_pay | bool | | | +| is_upower_play | bool | | | | is_upower_preview | bool | 充电专属视频是否支持试看 | | | no_cache | bool | 是否不允许缓存? | | | pages | array | 视频分P列表 | | diff --git a/docs/video/player.md b/docs/video/player.md index eed3c29..7b5a06d 100644 --- a/docs/video/player.md +++ b/docs/video/player.md @@ -70,10 +70,10 @@ web 播放器的信息接口,提供正常播放需要的元数据,包括: | show_switch | obj | | | | bgm_info | obj | 背景音乐信息 | | | toast_block | bool | | | -| is_upower_exclusive | bool | 充电专属? | | +| is_upower_exclusive | bool | 是否为充电专属视频 | | | is_upower_play | bool | | | | is_ugc_pay_preview | bool | | | -| elec_high_level | obj | | | +| elec_high_level | obj | 充电专属视频信息 | | | disable_show_up_info | bool | | | `data` 对象中的 `options` 对象: @@ -126,7 +126,7 @@ web 播放器的信息接口,提供正常播放需要的元数据,包括: |subtitle_url|str| 资源 url 地址 | | |type| num | 0 | | -`view_point` 数组内的元素: +`data`对象中的`view_point` 数组内的元素: | 字段 | 类型 | 内容 | 备注 | | --------- | ----- | -------- | ---- | @@ -139,6 +139,22 @@ web 播放器的信息接口,提供正常播放需要的元数据,包括: | team_type | str | | | | team_name | str | | | +`data`对象中的`elec_high_level`对象: + +| 字段 | 类型 | 内容 | 备注 | +| -------------- | ---- | ------------------------------ | ---------------- | +| privilege_type | num | 解锁视频所需最低定价档位的代码 | 见[充电档位代码与定价](../electric/monthly.md#充电档位代码privilege_type与定价) | +| title | str | 提示标题 | `该视频为「{充电档位名称}」专属视频` | +| sub_title | str | 提示子标题 | `开通「{充电档位定价}元档包月充电」即可观看` | +| show_button | bool | 是否显示按钮 | | +| button_text | str | 按钮文本 | `去开通` | +| jump_url | obj | 跳转url信息 | 详细信息有待补充 | +| intro | str | 充电介绍语 | | +| open | bool | (?) | | +| new | bool | (?) | | +| question_text | str | (?) | | +| qa_detail_link | str | (?) | | + **示例:** 未登录, `aid=1906473802` From 9d504615a092710ac2fc00dfc44acbf070463fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 02:43:30 +0800 Subject: [PATCH 31/66] feat(relation): #1264 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/user/relation.md | 2088 +++++++++++++++++++++++------------------ 1 file changed, 1182 insertions(+), 906 deletions(-) diff --git a/docs/user/relation.md b/docs/user/relation.md index d9e5d43..2ecb74b 100644 --- a/docs/user/relation.md +++ b/docs/user/relation.md @@ -18,13 +18,15 @@ | contract_info | obj | 契约计划相关信息 | | | uname | str | 用户昵称 | | | face | str | 用户头像url | | -| face_nft | num | 是否为 NFT 头像 | 0:非 NFT 头像
1:NFT 头像 | | sign | str | 用户签名 | | +| face_nft | num | 是否为 NFT 头像 | 0:非 NFT 头像
1:NFT 头像 | | official_verify | obj | 认证信息 | | | vip | obj | 会员信息 | | +| name_render | 有效时:obj
无效时:null | 昵称渲染信息 | | | nft_icon | str | (?) | | -| rec_reason | str | (?) | | -| track_id | str | (?) | | +| rec_reason | str | 推荐该用户的原因 | 一般为空;如:`xxx关注了TA`、`xx粉丝 xx视频` | +| track_id | str | 内部记录id | 一般为空;如:`up_rec_0.router-main-2021485-5f84c987cf-dv8fg.1746380060327.607` | +| follow_time | str | (?) | | `list`中的对象中的`tag`数组: @@ -43,7 +45,6 @@ | ts | num | 对方成为目标用户的契约者的时间 | 秒级时间戳,仅当 `is_contractor` 项的值为 `true` 时才有此项 | | user_attr | num | 对方作为目标用户的契约者的属性 | 1:老粉
否则为原始粉丝
仅当有特殊属性时才有此项 | - `list`中的对象中的`official_verify`对象: | 字段 | 类型 | 内容 | 备注 | @@ -70,9 +71,187 @@ | ---- | ---- | ------ | ---- | | path | str | (?) | | -### 查询用户粉丝明细 +### 查询用户粉丝明细(新) -> https://api.bilibili.com/x/relation/followers +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +本接口只有登录、标头 `referer` 为 `bilibili.com` 下的子域名、UA 不含 `python` 时才会返回列表 + +由于接口实现不同,本接口的返回可能出现以下三种情况: + +1. 返回列表按关注时间排序,此时当前用户**仅返回前 1000 名粉丝**,其他用户仅返回前 100 名粉丝,若继续往后查询则返回空列表 +2. 返回列表按粉丝 mid 的**文本形式**排序,此时对于任意用户均可返回全部粉丝 +3. 返回列表按照**智能推荐算法**排序,此时请求参数 `from=main` 且目标用户为自己,**仅返回前 1000 名粉丝** + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | -------------- | ------------ | ------------------------------------------------------------------- | +| vmid | num | 目标用户 mid | 必要 | | +| ps | num | 每页项数 | 非必要 | 默认为 50 | +| pn | num | 页码 | 非必要 | 默认为 1 | +| offset | str | 偏移量 | 非必要 | 此项有效且不为 `rcmd` 时会从此偏移量开始返回粉丝列表,忽略参数 `pn` | +| from | str | 请求来源 | 非必要 | 当为 `main` 且目标用户为自己时,粉丝列表按照**智能推荐算法**排序,此时 `&.data.list[]` 中的 `rec_reason` 与 `track_id` 为非空 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ----------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-352:请求被拦截
-400:请求错误
22118:由于该用户隐私设置,粉丝列表不可见 | +| message | str | 错误信息 | 默认为 0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ---------- | ----- | -------- | ---- | +| list | array | 明细列表 | | +| offset | str | 偏移量 | 供下次请求使用
普通:`{列表最后的粉丝的 mtime}:{列表最后的粉丝的 mid}`
智能推荐算法:`rcmd` | +| re_version | num | (?) | | +| total | num | 粉丝总数 | | + +`data`中的`list`数组: + +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | ------------ | ---------------------------------- | +| 0 | obj | 粉丝 1 | 详见 [关系列表对象](#关系列表对象) | +| n | obj | 粉丝 (n+1) | 按照添加顺序排列 | +| …… | obj | …… | …… | + +**示例:** + +获取用户`mid=293793435`的粉丝明细 + +```shell +curl -G 'https://api.bilibili.com/x/relation/fans' \ + --data-urlencode 'vmid=293793435' \ + --data-urlencode 'ps=2' \ + --data-urlencode 'pn=1' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "mid": 289796932, + "attribute": 0, + "mtime": 1746199088, + "tag": null, + "special": 0, + "contract_info": { + + }, + "uname": "Astlinga_星灵", + "face": "https://i1.hdslb.com/bfs/face/005264524d05c0b8c132acc3ee88bb839351025b.jpg", + "sign": "", + "face_nft": 0, + "official_verify": { + "type": -1, + "desc": "" + }, + "vip": { + "vipType": 1, + "vipDueDate": 1734278400000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 0, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "", + "text": "", + "label_theme": "", + "text_color": "", + "bg_style": 0, + "bg_color": "", + "border_color": "" + }, + "avatar_subscript": 0, + "nickname_color": "", + "avatar_subscript_url": "" + }, + "name_render": { + + }, + "nft_icon": "", + "rec_reason": "", + "track_id": "", + "follow_time": "" + }, + { + "mid": 3494375621396821, + "attribute": 0, + "mtime": 1746098997, + "tag": null, + "special": 0, + "contract_info": { + + }, + "uname": "JSRCode", + "face": "https://i1.hdslb.com/bfs/face/f6c74700c72d27ae224c5311634b4a3770e3cdcf.jpg", + "sign": "一个喜欢码代码的高中牲", + "face_nft": 0, + "official_verify": { + "type": -1, + "desc": "" + }, + "vip": { + "vipType": 0, + "vipDueDate": 0, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 0, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "", + "text": "", + "label_theme": "", + "text_color": "", + "bg_style": 0, + "bg_color": "", + "border_color": "" + }, + "avatar_subscript": 0, + "nickname_color": "", + "avatar_subscript_url": "" + }, + "name_render": { + + }, + "nft_icon": "", + "rec_reason": "", + "track_id": "", + "follow_time": "" + } + ], + "offset": "1746098997:3494375621396821", + "re_version": 0, + "total": 3776 + } +} +``` + +
+ +### 查询用户粉丝明细(旧) + +> *请求方式:GET* @@ -124,10 +303,10 @@ ```shell curl -G 'https://api.bilibili.com/x/relation/followers' \ - --data-urlencode 'vmid=293793435' \ - --data-urlencode 'ps=2' \ - --data-urlencode 'pn=1' \ - -b 'SESSDATA=xxx' + --data-urlencode 'vmid=293793435' \ + --data-urlencode 'ps=2' \ + --data-urlencode 'pn=1' \ + -b 'SESSDATA=xxx' ```
@@ -135,64 +314,107 @@ curl -G 'https://api.bilibili.com/x/relation/followers' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": [{ - "mid": 387195656, - "attribute": 0, - "mtime": 1583839793, - "tag": null, - "special": 0, - "uname": "L_E_M_O_H_E", - "face": "https://i1.hdslb.com/bfs/face/8ec537db75eeb292faa8dc85a9ff8aba83148c86.jpg", - "sign": "暂时断更。。Back later", - "official_verify": { - "type": -1, - "desc": "" - }, - "vip": { - "vipType": 0, - "vipDueDate": 0, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 0, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - }, { - "mid": 175989424, - "attribute": 0, - "mtime": 1583822019, - "tag": null, - "special": 0, - "uname": "哥本哈根iii", - "face": "https://i1.hdslb.com/bfs/face/e53c0fe9315176d48bd294b1f381f0da70131cd7.jpg", - "sign": "", - "official_verify": { - "type": -1, - "desc": "" - }, - "vip": { - "vipType": 0, - "vipDueDate": 0, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 0, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - }], - "re_version": 3857745402, - "total": 365 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "mid": 289796932, + "attribute": 0, + "mtime": 1746199088, + "tag": null, + "special": 0, + "contract_info": { + + }, + "uname": "Astlinga_星灵", + "face": "https://i1.hdslb.com/bfs/face/005264524d05c0b8c132acc3ee88bb839351025b.jpg", + "sign": "", + "face_nft": 0, + "official_verify": { + "type": -1, + "desc": "" + }, + "vip": { + "vipType": 1, + "vipDueDate": 1734278400000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 0, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "", + "text": "", + "label_theme": "", + "text_color": "", + "bg_style": 0, + "bg_color": "", + "border_color": "" + }, + "avatar_subscript": 0, + "nickname_color": "", + "avatar_subscript_url": "" + }, + "name_render": { + + }, + "nft_icon": "", + "rec_reason": "", + "track_id": "", + "follow_time": "" + }, + { + "mid": 3494375621396821, + "attribute": 0, + "mtime": 1746098997, + "tag": null, + "special": 0, + "contract_info": { + + }, + "uname": "JSRCode", + "face": "https://i1.hdslb.com/bfs/face/f6c74700c72d27ae224c5311634b4a3770e3cdcf.jpg", + "sign": "一个喜欢码代码的高中牲", + "face_nft": 0, + "official_verify": { + "type": -1, + "desc": "" + }, + "vip": { + "vipType": 0, + "vipDueDate": 0, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 0, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "", + "text": "", + "label_theme": "", + "text_color": "", + "bg_style": 0, + "bg_color": "", + "border_color": "" + }, + "avatar_subscript": 0, + "nickname_color": "", + "avatar_subscript_url": "" + }, + "name_render": { + + }, + "nft_icon": "", + "rec_reason": "", + "track_id": "", + "follow_time": "" + } + ], + "re_version": 0, + "total": 3776 + } } ``` @@ -200,7 +422,7 @@ curl -G 'https://api.bilibili.com/x/relation/followers' \ ### 查询用户关注明细 -> https://api.bilibili.com/x/relation/followings +> *请求方式:GET* @@ -253,11 +475,11 @@ curl -G 'https://api.bilibili.com/x/relation/followers' \ ```shell curl -G 'https://api.bilibili.com/x/relation/followings' \ - --data-urlencode 'vmid=293793435' \ - --data-urlencode 'order_type=' \ - --data-urlencode 'ps=2' \ - --data-urlencode 'pn=1' \ - -b 'SESSDATA=xxx' + --data-urlencode 'vmid=293793435' \ + --data-urlencode 'order_type=' \ + --data-urlencode 'ps=2' \ + --data-urlencode 'pn=1' \ + -b 'SESSDATA=xxx' ```
@@ -265,64 +487,82 @@ curl -G 'https://api.bilibili.com/x/relation/followings' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": [{ - "mid": 14082, - "attribute": 2, - "mtime": 1584271945, - "tag": null, - "special": 0, - "uname": "山新", - "face": "https://i0.hdslb.com/bfs/face/74c82caee6d9eb623e56161ea8ed6d68afabfeae.jpg", - "sign": "都说了是天依爹地,不是妈咪。\r私信有点多回复不过来~商业合作啥的请移步Weibo私信@山新 哦哦哦~", - "official_verify": { - "type": 0, - "desc": "配音演员、声优。洛天依声源提供者。" - }, - "vip": { - "vipType": 2, - "vipDueDate": 1601654400000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - }, { - "mid": 420831218, - "attribute": 2, - "mtime": 1584208169, - "tag": [207542], - "special": 0, - "uname": "支付宝Alipay", - "face": "https://i2.hdslb.com/bfs/face/aaf18aeb2d9822e28a590bd8d878572ca8c59e04.jpg", - "sign": "阿支来了,关注点赞转发投币四连走起!", - "official_verify": { - "type": 1, - "desc": "支付宝官方账号" - }, - "vip": { - "vipType": 1, - "vipDueDate": 1585065600000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - }], - "re_version": 3228575555, - "total": 699 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [{ + "mid": 14082, + "attribute": 2, + "mtime": 1584271945, + "tag": null, + "special": 0, + "contract_info": {}, + "uname": "山新", + "face": "https://i0.hdslb.com/bfs/face/74c82caee6d9eb623e56161ea8ed6d68afabfeae.jpg", + "sign": "都说了是天依爹地,不是妈咪。\r私信有点多回复不过来~商业合作啥的请移步Weibo私信@山新 哦哦哦~", + "official_verify": { + "type": 0, + "desc": "配音演员、声优。洛天依声源提供者。" + }, + "vip": { + "vipType": 2, + "vipDueDate": 1601654400000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + }, + "avatar_subscript": 1, + "nickname_color": "#FB7299", + "avatar_subscript_url": "" + }, + "name_render": {}, + "nft_icon": "", + "rec_reason": "", + "track_id": "", + "follow_time": "" + }, { + "mid": 420831218, + "attribute": 2, + "mtime": 1584208169, + "tag": [207542], + "special": 0, + "contract_info": {}, + "uname": "支付宝Alipay", + "face": "https://i2.hdslb.com/bfs/face/aaf18aeb2d9822e28a590bd8d878572ca8c59e04.jpg", + "sign": "阿支来了,关注点赞转发投币四连走起!", + "official_verify": { + "type": 1, + "desc": "支付宝官方账号" + }, + "vip": { + "vipType": 1, + "vipDueDate": 1585065600000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + }, + "avatar_subscript": 1, + "nickname_color": "#FB7299", + "avatar_subscript_url": "" + }, + "name_render": {}, + "nft_icon": "", + "rec_reason": "", + "track_id": "", + "follow_time": "" + }], + "re_version": 0, + "total": 1028 + } } ``` @@ -330,7 +570,7 @@ curl -G 'https://api.bilibili.com/x/relation/followings' \ ### 查询用户关注明细2 -> https://app.biliapi.net/x/v2/relation/followings +> *请求方式:GET* @@ -386,7 +626,7 @@ curl -G 'https://api.bilibili.com/x/relation/followings' \ | sign | str | 用户签名 | | | official_verify | obj | 认证信息 | | | vip | obj | 会员信息 | | -| live | num | 是否直播 | 0:未直播
1:直播中 | +| live | num | 是否直播 | 0:未直播
1:直播中 | 数组`list`中的对象中的`tag`数组: @@ -428,9 +668,9 @@ curl -G 'https://api.bilibili.com/x/relation/followings' \ ```shell curl -G 'https://app.biliapi.net/x/v2/relation/followings' \ - --data-urlencode 'vmid=293793435' \ - --data-urlencode 'ps=2' \ - --data-urlencode 'pn=1' \ + --data-urlencode 'vmid=293793435' \ + --data-urlencode 'ps=2' \ + --data-urlencode 'pn=1' \ ```
@@ -438,64 +678,66 @@ curl -G 'https://app.biliapi.net/x/v2/relation/followings' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": [{ - "mid": 14082, - "attribute": 2, - "mtime": 1584271945, - "tag": null, - "special": 0, - "uname": "山新", - "face": "https://i0.hdslb.com/bfs/face/74c82caee6d9eb623e56161ea8ed6d68afabfeae.jpg", - "sign": "都说了是天依爹地,不是妈咪。\r私信有点多回复不过来~商业合作啥的请移步Weibo私信@山新 哦哦哦~", - "official_verify": { - "type": 0, - "desc": "配音演员、声优。洛天依声源提供者。" - }, - "vip": { - "vipType": 2, - "vipDueDate": 1601654400000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - }, { - "mid": 420831218, - "attribute": 2, - "mtime": 1584208169, - "tag": [207542], - "special": 0, - "uname": "支付宝Alipay", - "face": "https://i2.hdslb.com/bfs/face/aaf18aeb2d9822e28a590bd8d878572ca8c59e04.jpg", - "sign": "阿支来了,关注点赞转发投币四连走起!", - "official_verify": { - "type": 1, - "desc": "支付宝官方账号" - }, - "vip": { - "vipType": 1, - "vipDueDate": 1585065600000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - }], - "re_version": 3228575555, - "total": 699 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [{ + "mid": 14082, + "attribute": 2, + "mtime": 1584271945, + "tag": null, + "special": 0, + "uname": "山新", + "face": "https://i0.hdslb.com/bfs/face/74c82caee6d9eb623e56161ea8ed6d68afabfeae.jpg", + "sign": "都说了是天依爹地,不是妈咪。\r私信有点多回复不过来~商业合作啥的请移步Weibo私信@山新 哦哦哦~", + "official_verify": { + "type": 0, + "desc": "配音演员、声优。洛天依声源提供者。" + }, + "vip": { + "vipType": 2, + "vipDueDate": 1601654400000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + } + }, + "live": 0 + }, { + "mid": 420831218, + "attribute": 2, + "mtime": 1584208169, + "tag": [207542], + "special": 0, + "uname": "支付宝Alipay", + "face": "https://i2.hdslb.com/bfs/face/aaf18aeb2d9822e28a590bd8d878572ca8c59e04.jpg", + "sign": "阿支来了,关注点赞转发投币四连走起!", + "official_verify": { + "type": 1, + "desc": "支付宝官方账号" + }, + "vip": { + "vipType": 1, + "vipDueDate": 1585065600000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + } + }, + "live": 0 + }], + "re_version": 3228575555, + "total": 699 + } } ``` @@ -503,7 +745,7 @@ curl -G 'https://app.biliapi.net/x/v2/relation/followings' \ ### 查询用户关注明细3 -> https://line3-h5-mobile-api.biligame.com/game/center/h5/user/relationship/following_list +> *请求方式:GET* @@ -545,12 +787,20 @@ curl -G 'https://app.biliapi.net/x/v2/relation/followings' \ 数组`list`中的对象: -| 字段 | 类型 | 内容 | 备注 | -| --------------- | ---- | ----------- | --------------------------------------- | -| mid | str | 用户mid | | -| attribute | num | 关注属性 | 0:未关注
2:已关注
6:已互粉 | -| uname | str | 用户昵称 | | -| face | str | 用户头像url | | +| 字段 | 类型 | 内容 | 备注 | +| ----------------- | ---- | ------------------------------ | --------------------------------------- | +| mid | str | 用户mid | | +| attribute | num | 对方对于**目标用户**的关注属性 | 0:未关注
2:已关注
6:已互粉 | +| uname | str | 用户昵称 | | +| face | str | 用户头像url | | +| attention_display | obj | 用户认证信息 | | + +`attention_display`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ---- | ---- | -------- | ------------------------------------------------------------ | +| type | num | 是否认证 | 0:无
1:UP主专业认证
2:UP主认证
3:机构认证 | +| desc | str | 认证信息 | | **示例:** @@ -558,9 +808,9 @@ curl -G 'https://app.biliapi.net/x/v2/relation/followings' \ ```shell curl -G 'https://line3-h5-mobile-api.biligame.com/game/center/h5/user/relationship/following_list' \ ---data-urlencode 'vmid=293793435' \ ---data-urlencode 'ps=2' \ ---data-urlencode 'pn=1' + --data-urlencode 'vmid=293793435' \ + --data-urlencode 'ps=2' \ + --data-urlencode 'pn=1' ```
@@ -568,22 +818,24 @@ curl -G 'https://line3-h5-mobile-api.biligame.com/game/center/h5/user/relationsh ```json { - "code": 0, - "data": { - "list": [{ - "mid": "14082", - "attribute": 2, - "uname": "山新", - "face": "https://i0.hdslb.com/bfs/face/74c82caee6d9eb623e56161ea8ed6d68afabfeae.jpg" - }, { - "mid": "420831218", - "attribute": 2, - "uname": "支付宝Alipay", - "face": "https://i2.hdslb.com/bfs/face/aaf18aeb2d9822e28a590bd8d878572ca8c59e04.jpg" - }] - }, - "ts": 1677410818395, - "request_id": "d9d541b9f2d24e21821e2d6d2d16c17d" + "code": 0, + "data": { + "list": [{ + "mid": "14082", + "attribute": 2, + "uname": "山新", + "face": "https://i0.hdslb.com/bfs/face/74c82caee6d9eb623e56161ea8ed6d68afabfeae.jpg", + "attestation_display": { "type": 0, "desc": "" } + }, { + "mid": "420831218", + "attribute": 2, + "uname": "支付宝Alipay", + "face": "https://i2.hdslb.com/bfs/face/aaf18aeb2d9822e28a590bd8d878572ca8c59e04.jpg", + "attestation_display": { "type": 3, "desc": "bilibili机构认证:支付宝官方账号" } + }] + }, + "ts": 1677410818395, + "request_id": "d9d541b9f2d24e21821e2d6d2d16c17d" } ``` @@ -591,7 +843,7 @@ curl -G 'https://line3-h5-mobile-api.biligame.com/game/center/h5/user/relationsh ### 搜索关注明细 -> https://api.bilibili.com/x/relation/followings/search +> *请求方式:GET* @@ -616,7 +868,7 @@ curl -G 'https://line3-h5-mobile-api.biligame.com/game/center/h5/user/relationsh | ttl | num | 1 | | | data | obj | 信息本体 | | -data 对象: +`data` 对象: | 字段 | 类型 | 内容 | 备注 | | ---------- | ----- | -------- | ---- | @@ -638,11 +890,11 @@ data 对象: ```shell curl -G 'https://api.bilibili.com/x/relation/followings/search' \ - --data-urlencode 'vmid=293793435' \ - --data-urlencode 'name=warma' \ - --data-urlencode 'ps=2' \ - --data-urlencode 'pn=1' \ - -b 'SESSDATA=xxx' + --data-urlencode 'vmid=293793435' \ + --data-urlencode 'name=warma' \ + --data-urlencode 'ps=2' \ + --data-urlencode 'pn=1' \ + -b 'SESSDATA=xxx' ```
@@ -650,42 +902,42 @@ curl -G 'https://api.bilibili.com/x/relation/followings/search' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": [ - { - "mid": 53456, - "attribute": 2, - "mtime": 1586415053, - "tag": [ - -10 - ], - "special": 1, - "uname": "Warma", - "face": "https://i2.hdslb.com/bfs/face/c1bbee6d255f1e7fc434e9930f0f288c8b24293a.jpg", - "sign": "我是沃玛,做点傻开心的视频。日常发在微博:@_warma_ ", - "official_verify": { - "type": 0, - "desc": "bilibili 知名UP主" - }, - "vip": { - "vipType": 2, - "vipDueDate": 1637424000000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "mid": 53456, + "attribute": 2, + "mtime": 1586415053, + "tag": [ + -10 ], - "total": 1 - } + "special": 1, + "uname": "Warma", + "face": "https://i2.hdslb.com/bfs/face/c1bbee6d255f1e7fc434e9930f0f288c8b24293a.jpg", + "sign": "我是沃玛,做点傻开心的视频。日常发在微博:@_warma_ ", + "official_verify": { + "type": 0, + "desc": "bilibili 知名UP主" + }, + "vip": { + "vipType": 2, + "vipDueDate": 1637424000000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + } + } + } + ], + "total": 1 + } } ``` @@ -693,7 +945,7 @@ curl -G 'https://api.bilibili.com/x/relation/followings/search' \ ### 查询共同关注明细 -> https://api.bilibili.com/x/relation/same/followings +> *请求方式:GET* @@ -719,7 +971,7 @@ curl -G 'https://api.bilibili.com/x/relation/followings/search' \ | ttl | num | 1 | | | data | obj | 信息本体 | | -data 对象: +`data` 对象: | 字段 | 类型 | 内容 | 备注 | | ---------- | ----- | -------- | ---- | @@ -741,10 +993,10 @@ data 对象: ```shell curl -G 'https://api.bilibili.com/x/relation/same/followings' \ ---data-urlencode 'vmid=2' \ ---data-urlencode 'ps=2' \ ---data-urlencode 'pn=1' \ --b 'SESSDATA=xxx' + --data-urlencode 'vmid=2' \ + --data-urlencode 'ps=2' \ + --data-urlencode 'pn=1' \ + -b 'SESSDATA=xxx' ```
@@ -752,69 +1004,69 @@ curl -G 'https://api.bilibili.com/x/relation/same/followings' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": [ - { - "mid": 116683, - "attribute": 2, - "mtime": 1564627532, - "tag": null, - "special": 0, - "uname": "=咬人猫=", - "face": "https://i0.hdslb.com/bfs/face/8fad84a4470f3d894d8f0dc95555ab8f2cb10a83.jpg", - "sign": "面瘫女仆酱~小粗腿~事业线什么的!!吐槽你就输了!喵~", - "official_verify": { - "type": 0, - "desc": "bilibili 2019百大UP主、高能联盟成员" - }, - "vip": { - "vipType": 2, - "vipDueDate": 1618934400000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - }, - { - "mid": 517717593, - "attribute": 2, - "mtime": 1592126052, - "tag": [ - 207542 - ], - "special": 0, - "uname": "上海爱丽丝幻乐团", - "face": "https://i0.hdslb.com/bfs/face/851a9191cbe93e66304d7577c0f6f83834e52109.jpg", - "sign": "日本同人社团 上海爱丽丝幻乐团", - "official_verify": { - "type": 0, - "desc": "上海爱丽丝幻乐团官方账号" - }, - "vip": { - "vipType": 1, - "vipDueDate": 1593792000000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 0, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "mid": 116683, + "attribute": 2, + "mtime": 1564627532, + "tag": null, + "special": 0, + "uname": "=咬人猫=", + "face": "https://i0.hdslb.com/bfs/face/8fad84a4470f3d894d8f0dc95555ab8f2cb10a83.jpg", + "sign": "面瘫女仆酱~小粗腿~事业线什么的!!吐槽你就输了!喵~", + "official_verify": { + "type": 0, + "desc": "bilibili 2019百大UP主、高能联盟成员" + }, + "vip": { + "vipType": 2, + "vipDueDate": 1618934400000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + } + } + }, + { + "mid": 517717593, + "attribute": 2, + "mtime": 1592126052, + "tag": [ + 207542 ], - "re_version": 2498273968, - "total": 38 - } + "special": 0, + "uname": "上海爱丽丝幻乐团", + "face": "https://i0.hdslb.com/bfs/face/851a9191cbe93e66304d7577c0f6f83834e52109.jpg", + "sign": "日本同人社团 上海爱丽丝幻乐团", + "official_verify": { + "type": 0, + "desc": "上海爱丽丝幻乐团官方账号" + }, + "vip": { + "vipType": 1, + "vipDueDate": 1593792000000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 0, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + } + } + } + ], + "re_version": 2498273968, + "total": 38 + } } ``` @@ -822,7 +1074,7 @@ curl -G 'https://api.bilibili.com/x/relation/same/followings' \ ### 查询悄悄关注明细 -> https://api.bilibili.com/x/relation/whispers +> *请求方式:GET* @@ -845,7 +1097,7 @@ curl -G 'https://api.bilibili.com/x/relation/same/followings' \ | ttl | num | 1 | | | data | obj | 信息本体 | | -data 对象: +`data` 对象: | 字段 | 类型 | 内容 | 备注 | | ---------- | ----- | -------- | ---- | @@ -864,7 +1116,7 @@ data 对象: ```shell curl -G 'https://api.bilibili.com/x/relation/whispers' \ - -b 'SESSDATA=xxx' + -b 'SESSDATA=xxx' ```
@@ -872,47 +1124,48 @@ curl -G 'https://api.bilibili.com/x/relation/whispers' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": [ - { - "mid": 178429408, - "attribute": 1, - "mtime": 1605972105, - "tag": null, - "special": 0, - "uname": "老弟一号", - "face": "https://i2.hdslb.com/bfs/face/21426275f3d3149b96b88783275205ba574c09e3.jpg", - "sign": "萌新硬件玩家,前垃圾佬~(◦˙▽˙◦某宝店 老弟一号 粉丝群679540094商务合作V13869651328", - "official_verify": { - "type": 0, - "desc": "知识领域优质UP主" - }, - "vip": { - "vipType": 2, - "vipDueDate": 1632499200000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - } - ], - "re_version": 2137574562 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "mid": 178429408, + "attribute": 1, + "mtime": 1605972105, + "tag": null, + "special": 0, + "uname": "老弟一号", + "face": "https://i2.hdslb.com/bfs/face/21426275f3d3149b96b88783275205ba574c09e3.jpg", + "sign": "萌新硬件玩家,前垃圾佬~(◦˙▽˙◦某宝店 老弟一号 粉丝群679540094商务合作V13869651328", + "official_verify": { + "type": 0, + "desc": "知识领域优质UP主" + }, + "vip": { + "vipType": 2, + "vipDueDate": 1632499200000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + } + } + } + ], + "re_version": 2137574562 + } } ``` +
### 查询互相关注明细 -> https://api.bilibili.com/x/relation/friends +> *请求方式:GET* @@ -937,7 +1190,7 @@ curl -G 'https://api.bilibili.com/x/relation/whispers' \ | ttl | num | 1 | | | data | obj | 信息本体 | | -data 对象: +`data` 对象: | 字段 | 类型 | 内容 | 备注 | | ---------- | ----- | -------- | ---- | @@ -956,183 +1209,183 @@ data 对象: ```shell curl -G 'https://api.bilibili.com/x/relation/friends' \ - -b 'SESSDATA=xxx' + -b 'SESSDATA=xxx' ```
查看响应示例: -```json +```jsonc { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": [ - { - "mid": 596000, - "attribute": 6, - "mtime": 1685110154, - "tag": null, - "special": 0, - "uname": "椛椛在睡觉", - "face": "https://i2.hdslb.com/bfs/face/365c1ef3b2a3afe21d6832796338fad5119b2592.jpg", - "sign": "欢迎来找椛椛玩~ https://blogs.momiji-jin.com/", - "face_nft": 0, - "official_verify": { - "type": -1, - "desc": "" - }, - "vip": { - "vipType": 2, - "vipDueDate": 1702742400000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "", - "text": "年度大会员", - "label_theme": "annual_vip", - "text_color": "#FFFFFF", - "bg_style": 1, - "bg_color": "#FB7299", - "border_color": "" - }, - "avatar_subscript": 1, - "nickname_color": "#FB7299", - "avatar_subscript_url": "" - }, - "nft_icon": "", - "rec_reason": "", - "track_id": "" - }, - { - "mid": 24022863, - "attribute": 6, - "mtime": 1685026230, - "tag": [ - -10 - ], - "special": 1, - "uname": "黄禄轩电脑专用账号", - "face": "https://i0.hdslb.com/bfs/face/a70ec7d2a3822980a915ef4b30371af0cbc79132.jpg", - "sign": "若要私信,请私信「黄禄轩手机专用账号」http://space.bilibili.com/17640193/,群:410311648", - "face_nft": 0, - "official_verify": { - "type": -1, - "desc": "" - }, - "vip": { - "vipType": 2, - "vipDueDate": 1686412800000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "", - "text": "年度大会员", - "label_theme": "annual_vip", - "text_color": "#FFFFFF", - "bg_style": 1, - "bg_color": "#FB7299", - "border_color": "" - }, - "avatar_subscript": 1, - "nickname_color": "#FB7299", - "avatar_subscript_url": "" - }, - "nft_icon": "", - "rec_reason": "", - "track_id": "" - }, - { - "mid": 85438718, - "attribute": 6, - "mtime": 1684759843, - "tag": [ - 194110 - ], - "special": 0, - "uname": "忘忧北萱草Official", - "face": "https://i2.hdslb.com/bfs/face/68d8cba01aab907dbb2cf2e17074f20947156237.jpg", - "sign": "现已加入 OrangeFire 豪华套餐!", - "face_nft": 0, - "official_verify": { - "type": -1, - "desc": "" - }, - "vip": { - "vipType": 2, - "vipDueDate": 1691683200000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "", - "text": "年度大会员", - "label_theme": "annual_vip", - "text_color": "#FFFFFF", - "bg_style": 1, - "bg_color": "#FB7299", - "border_color": "" - }, - "avatar_subscript": 1, - "nickname_color": "#FB7299", - "avatar_subscript_url": "" - }, - "nft_icon": "", - "rec_reason": "", - "track_id": "" - }, - { - "mid": 41620134, - "attribute": 6, - "mtime": 1684759649, - "tag": null, - "special": 0, - "uname": "Tiggy_Chan", - "face": "https://i0.hdslb.com/bfs/face/8c8d9f43eda207f8cb8503bfdf6cc3802a1cd6c1.jpg", - "sign": "此号只发科技类视频,娱乐类转至:虎子酱233", - "face_nft": 0, - "official_verify": { - "type": -1, - "desc": "" - }, - "vip": { - "vipType": 1, - "vipDueDate": 1669219200000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 0, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "", - "text": "", - "label_theme": "", - "text_color": "", - "bg_style": 0, - "bg_color": "", - "border_color": "" - }, - "avatar_subscript": 0, - "nickname_color": "", - "avatar_subscript_url": "" - }, - "nft_icon": "", - "rec_reason": "", - "track_id": "" - }, - …… + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "mid": 596000, + "attribute": 6, + "mtime": 1685110154, + "tag": null, + "special": 0, + "uname": "椛椛在睡觉", + "face": "https://i2.hdslb.com/bfs/face/365c1ef3b2a3afe21d6832796338fad5119b2592.jpg", + "sign": "欢迎来找椛椛玩~ https://blogs.momiji-jin.com/", + "face_nft": 0, + "official_verify": { + "type": -1, + "desc": "" + }, + "vip": { + "vipType": 2, + "vipDueDate": 1702742400000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "", + "text": "年度大会员", + "label_theme": "annual_vip", + "text_color": "#FFFFFF", + "bg_style": 1, + "bg_color": "#FB7299", + "border_color": "" + }, + "avatar_subscript": 1, + "nickname_color": "#FB7299", + "avatar_subscript_url": "" + }, + "nft_icon": "", + "rec_reason": "", + "track_id": "" + }, + { + "mid": 24022863, + "attribute": 6, + "mtime": 1685026230, + "tag": [ + -10 ], - "re_version": 0 - } + "special": 1, + "uname": "黄禄轩电脑专用账号", + "face": "https://i0.hdslb.com/bfs/face/a70ec7d2a3822980a915ef4b30371af0cbc79132.jpg", + "sign": "若要私信,请私信「黄禄轩手机专用账号」http://space.bilibili.com/17640193/,群:410311648", + "face_nft": 0, + "official_verify": { + "type": -1, + "desc": "" + }, + "vip": { + "vipType": 2, + "vipDueDate": 1686412800000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "", + "text": "年度大会员", + "label_theme": "annual_vip", + "text_color": "#FFFFFF", + "bg_style": 1, + "bg_color": "#FB7299", + "border_color": "" + }, + "avatar_subscript": 1, + "nickname_color": "#FB7299", + "avatar_subscript_url": "" + }, + "nft_icon": "", + "rec_reason": "", + "track_id": "" + }, + { + "mid": 85438718, + "attribute": 6, + "mtime": 1684759843, + "tag": [ + 194110 + ], + "special": 0, + "uname": "忘忧北萱草Official", + "face": "https://i2.hdslb.com/bfs/face/68d8cba01aab907dbb2cf2e17074f20947156237.jpg", + "sign": "现已加入 OrangeFire 豪华套餐!", + "face_nft": 0, + "official_verify": { + "type": -1, + "desc": "" + }, + "vip": { + "vipType": 2, + "vipDueDate": 1691683200000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "", + "text": "年度大会员", + "label_theme": "annual_vip", + "text_color": "#FFFFFF", + "bg_style": 1, + "bg_color": "#FB7299", + "border_color": "" + }, + "avatar_subscript": 1, + "nickname_color": "#FB7299", + "avatar_subscript_url": "" + }, + "nft_icon": "", + "rec_reason": "", + "track_id": "" + }, + { + "mid": 41620134, + "attribute": 6, + "mtime": 1684759649, + "tag": null, + "special": 0, + "uname": "Tiggy_Chan", + "face": "https://i0.hdslb.com/bfs/face/8c8d9f43eda207f8cb8503bfdf6cc3802a1cd6c1.jpg", + "sign": "此号只发科技类视频,娱乐类转至:虎子酱233", + "face_nft": 0, + "official_verify": { + "type": -1, + "desc": "" + }, + "vip": { + "vipType": 1, + "vipDueDate": 1669219200000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 0, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "", + "text": "", + "label_theme": "", + "text_color": "", + "bg_style": 0, + "bg_color": "", + "border_color": "" + }, + "avatar_subscript": 0, + "nickname_color": "", + "avatar_subscript_url": "" + }, + "nft_icon": "", + "rec_reason": "", + "track_id": "" + }, + // …… + ], + "re_version": 0 + } } ``` @@ -1140,7 +1393,7 @@ curl -G 'https://api.bilibili.com/x/relation/friends' \ ### 查询黑名单明细 -> https://api.bilibili.com/x/relation/blacks +> *请求方式:GET* @@ -1165,7 +1418,7 @@ curl -G 'https://api.bilibili.com/x/relation/friends' \ | ttl | num | 1 | | | data | obj | 信息本体 | | -data 对象: +`data` 对象: | 字段 | 类型 | 内容 | 备注 | | ---------- | ----- | ------------ | ---- | @@ -1187,9 +1440,9 @@ data 对象: ```shell curl -G 'https://api.bilibili.com/x/relation/blacks' \ - --data-urlencode 'ps=2' \ - --data-urlencode 'pn=1' \ - -b 'SESSDATA=xxx' + --data-urlencode 'ps=2' \ + --data-urlencode 'pn=1' \ + -b 'SESSDATA=xxx' ```
@@ -1197,67 +1450,67 @@ curl -G 'https://api.bilibili.com/x/relation/blacks' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "list": [ - { - "mid": 22179720, - "attribute": 128, - "mtime": 1603032789, - "tag": null, - "special": 0, - "uname": "咩2016", - "face": "https://i0.hdslb.com/bfs/face/41fe435a7e62eae605a5908652f32f3afff2ae74.jpg", - "sign": "", - "official_verify": { - "type": 0, - "desc": "" - }, - "vip": { - "vipType": 0, - "vipDueDate": 0, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 0, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - }, - { - "mid": 16174624, - "attribute": 128, - "mtime": 1603026420, - "tag": null, - "special": 0, - "uname": "其实死亡没有那么痛", - "face": "https://i2.hdslb.com/bfs/face/79257f5a2e7194a71337ccca5927afba7706d316.jpg", - "sign": "等我,我马上就来", - "official_verify": { - "type": 0, - "desc": "" - }, - "vip": { - "vipType": 0, - "vipDueDate": 0, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 0, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - } - ], - "re_version": 897205356, - "total": 2 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "list": [ + { + "mid": 22179720, + "attribute": 128, + "mtime": 1603032789, + "tag": null, + "special": 0, + "uname": "咩2016", + "face": "https://i0.hdslb.com/bfs/face/41fe435a7e62eae605a5908652f32f3afff2ae74.jpg", + "sign": "", + "official_verify": { + "type": 0, + "desc": "" + }, + "vip": { + "vipType": 0, + "vipDueDate": 0, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 0, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + } + } + }, + { + "mid": 16174624, + "attribute": 128, + "mtime": 1603026420, + "tag": null, + "special": 0, + "uname": "其实死亡没有那么痛", + "face": "https://i2.hdslb.com/bfs/face/79257f5a2e7194a71337ccca5927afba7706d316.jpg", + "sign": "等我,我马上就来", + "official_verify": { + "type": 0, + "desc": "" + }, + "vip": { + "vipType": 0, + "vipDueDate": 0, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 0, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + } + } + } + ], + "re_version": 897205356, + "total": 2 + } } ``` @@ -1269,7 +1522,7 @@ curl -G 'https://api.bilibili.com/x/relation/blacks' \ ### 操作用户关系 -> https://api.bilibili.com/x/relation/modify +> *请求方式:POST* @@ -1313,11 +1566,11 @@ curl -G 'https://api.bilibili.com/x/relation/blacks' \ ```shell curl 'https://api.bilibili.com/x/relation/modify' \ - --data-urlencode 'fid=14082' \ - --data-urlencode 'act=1' \ - --data-urlencode 're_src=11' \ - --data-urlencode 'csrf=xxx' \ - -b 'SESSDATA=xxx' + --data-urlencode 'fid=14082' \ + --data-urlencode 'act=1' \ + --data-urlencode 're_src=11' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -1325,9 +1578,9 @@ curl 'https://api.bilibili.com/x/relation/modify' \ ```json { - "code": 0, - "message": "0", - "ttl": 1 + "code": 0, + "message": "0", + "ttl": 1 } ``` @@ -1335,7 +1588,7 @@ curl 'https://api.bilibili.com/x/relation/modify' \ ### 批量操作用户关系 -> https://api.bilibili.com/x/relation/batch/modify +> *请求方式:POST* @@ -1384,11 +1637,11 @@ curl 'https://api.bilibili.com/x/relation/modify' \ ```shell curl 'https://api.bilibili.com/x/relation/batch/modify' \ - --data-urlencode 'fid=1,2,3,4,5' \ - --data-urlencode 'act=1' \ - --data-urlencode 're_src=11' \ - --data-urlencode 'csrf=xxx' \ - -b 'SESSDATA=xxx' + --data-urlencode 'fid=1,2,3,4,5' \ + --data-urlencode 'act=1' \ + --data-urlencode 're_src=11' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -1396,12 +1649,12 @@ curl 'https://api.bilibili.com/x/relation/batch/modify' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "failed_fids": [] - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "failed_fids": [] + } } ``` @@ -1429,7 +1682,7 @@ curl 'https://api.bilibili.com/x/relation/batch/modify' \ ### 查询用户与自己关系(仅关注) -> https://api.bilibili.com/x/relation +> *请求方式:GET* @@ -1459,8 +1712,8 @@ curl 'https://api.bilibili.com/x/relation/batch/modify' \ ```shell curl -G 'https://api.bilibili.com/x/relation' \ - --data-urlencode 'fid=258150656' \ - -b 'SESSDATA=xxx' + --data-urlencode 'fid=258150656' \ + -b 'SESSDATA=xxx' ```
@@ -1468,16 +1721,16 @@ curl -G 'https://api.bilibili.com/x/relation' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "mid": 258150656, - "attribute": 2, - "mtime": 1540659101, - "tag": [-10], - "special": 1 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "mid": 258150656, + "attribute": 2, + "mtime": 1540659101, + "tag": [-10], + "special": 1 + } } ``` @@ -1485,9 +1738,9 @@ curl -G 'https://api.bilibili.com/x/relation' \ ### 查询用户与自己关系(互相关系) -> 接口1:https://api.bilibili.com/x/space/wbi/acc/relation +> 接口1: -> 接口2:https://api.bilibili.com/x/web-interface/relation +> 接口2: *请求方式:GET* @@ -1495,7 +1748,7 @@ curl -G 'https://api.bilibili.com/x/relation' \ 鉴权方式(仅接口1):[Wbi 签名](../misc/sign/wbi.md) -~~该接口的旧版 API :https://api.bilibili.com/x/space/acc/relation~~(已废弃,不建议使用) +~~该接口的旧版 API :~~(已废弃,不建议使用) **url参数:** @@ -1532,10 +1785,10 @@ Wbi 签名的 `wts`、`w_rid`生成方式详见 [Wbi 签名](../misc/sign/wbi.md ```shell curl -G 'https://api.bilibili.com/x/space/acc/relation' \ - --data-urlencode 'mid=15858903' \ - --data-urlencode 'wts=1686015899' \ - --data-urlencode 'w_rid=e10a3c566c9be80a7cebe7bcdf262588' \ - -b 'SESSDATA=xxx' + --data-urlencode 'mid=15858903' \ + --data-urlencode 'wts=1686015899' \ + --data-urlencode 'w_rid=e10a3c566c9be80a7cebe7bcdf262588' \ + -b 'SESSDATA=xxx' ```
@@ -1543,32 +1796,32 @@ curl -G 'https://api.bilibili.com/x/space/acc/relation' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "relation": { - "mid": 15858903, - "attribute": 6, - "mtime": 1548311059, - "tag": [ - -10, - 194110, - 248468 - ], - "special": 1 - }, - "be_relation": { - "mid": 293793435, - "attribute": 6, - "mtime": 1548311059, - "tag": [ - 56502, - -10 - ], - "special": 1 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "relation": { + "mid": 15858903, + "attribute": 6, + "mtime": 1548311059, + "tag": [ + -10, + 194110, + 248468 + ], + "special": 1 + }, + "be_relation": { + "mid": 293793435, + "attribute": 6, + "mtime": 1548311059, + "tag": [ + 56502, + -10 + ], + "special": 1 } + } } ``` @@ -1576,7 +1829,7 @@ curl -G 'https://api.bilibili.com/x/space/acc/relation' \ ### 批量查询用户与自己关系 -> https://api.bilibili.com/x/relation/relations +> *请求方式:GET* @@ -1584,10 +1837,10 @@ curl -G 'https://api.bilibili.com/x/space/acc/relation' \ **url参数:** -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| ---------- | ---- | ------------ | ----------- | ------------------- | -| access_key | str | APP 登录 Token | APP 方式必要 | | -| fids | nums | 目标用户 mid | 必要 | 每个之间用`,`间隔 | +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | -------------- | ------------ | ----------------------------- | +| access_key | str | APP 登录 Token | APP 方式必要 | | +| fids | nums | 目标用户 mid | 必要 | 每个之间用`,`间隔,无成员限制 | **json回复:** @@ -1613,8 +1866,8 @@ curl -G 'https://api.bilibili.com/x/space/acc/relation' \ ```shell curl -G 'https://api.bilibili.com/x/relation/relations' \ ---data-urlencode 'fid=258150656' \ --b 'SESSDATA=xxx' + --data-urlencode 'fid=258150656' \ + -b 'SESSDATA=xxx' ```
@@ -1622,25 +1875,25 @@ curl -G 'https://api.bilibili.com/x/relation/relations' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "1": { - "mid": 1, - "attribute": 2, - "mtime": 1601654227, - "tag": null, - "special": 0 - }, - "2": { - "mid": 2, - "attribute": 2, - "mtime": 1601654225, - "tag": null, - "special": 0 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "1": { + "mid": 1, + "attribute": 2, + "mtime": 1601654227, + "tag": null, + "special": 0 + }, + "2": { + "mid": 2, + "attribute": 2, + "mtime": 1601654225, + "tag": null, + "special": 0 } + } } ``` @@ -1657,7 +1910,7 @@ curl -G 'https://api.bilibili.com/x/relation/relations' \ ### 查询关注分组列表 -> https://api.bilibili.com/x/relation/tags +> *请求方式:GET* @@ -1703,44 +1956,44 @@ curl -G 'https://api.bilibili.com/x/relation/relations' \ ```shell curl 'https://api.bilibili.com/x/relation/tags' \ - -b 'SESSDATA=xxx' + -b 'SESSDATA=xxx' ```
查看响应示例: -```json +```jsonc { - "code": 0, - "message": "0", - "ttl": 1, - "data": [ - { - "tagid": -10, - "name": "特别关注", - "count": 19, - "tip": "第一时间收到该分组下用户更新稿件的通知" - }, - { - "tagid": 0, - "name": "默认分组", - "count": 340, - "tip": "" - }, - { - "tagid": 194110, - "name": "基友们", - "count": 127, - "tip": "" - }, - { - "tagid": 194111, - "name": "我的同学", - "count": 22, - "tip": "" - }, - ………… - ] + "code": 0, + "message": "0", + "ttl": 1, + "data": [ + { + "tagid": -10, + "name": "特别关注", + "count": 19, + "tip": "第一时间收到该分组下用户更新稿件的通知" + }, + { + "tagid": 0, + "name": "默认分组", + "count": 340, + "tip": "" + }, + { + "tagid": 194110, + "name": "基友们", + "count": 127, + "tip": "" + }, + { + "tagid": 194111, + "name": "我的同学", + "count": 22, + "tip": "" + }, + // …… + ] } ``` @@ -1748,7 +2001,7 @@ curl 'https://api.bilibili.com/x/relation/tags' \ ### 查询关注分组明细 -> https://api.bilibili.com/x/relation/tag +> *请求方式:GET* @@ -1770,54 +2023,77 @@ curl 'https://api.bilibili.com/x/relation/tags' \ 根对象: -| 字段 | 类型 | 内容 | 备注 | -| ------- | ------ | -------- | ------------------------------------------------------------ | -| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误
22104:该分组不存在 | -| message | str | 错误信息 | 默认为 0 | -| ttl | num | 1 | | +| 字段 | 类型 | 内容 | 备注 | +| ------- | ----- | -------- | ------------------------------------------------------------ | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误
22104:该分组不存在 | +| message | str | 错误信息 | 默认为 0 | +| ttl | num | 1 | | | data | array | 成员列表 | | `data`数组: -| 项 | 类型 | 内容 | 备注 | -| ---- | ---- | --------------- | -------------------------------- | -| 0 | obj | 成员信息 1 | 见 [关系列表对象](#关系列表对象) | -| n | obj | 成员信息(n+1) | 按照添加顺序排序 | -| …… | obj | …… | …… | +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | --------------- | --------------------------------------- | +| 0 | obj | 成员信息 1 | 与[关系列表对象](#关系列表对象)**不同** | +| n | obj | 成员信息(n+1) | 按照添加顺序排序 | +| …… | obj | …… | …… | -`data` 中的对象: +`data` 数组中的对象: -| 字段 | 类型 | 内容 | 备注 | -| --------------- | ---- | ----------- | -------------- | -| mid | num | 用户id | | -| attribute | num | 0 | | -| tag | null | null | | -| special | num | 0 | | -| contract_info | json | 空的 | | -| uname | str | 用户名 | | -| face | str | 头像地址 | | -| sign | str | 个人简介 | | -| face_nft | int | ntf头像 | | -| official_verify | json | 官方认证 | 具体见下 | -| vip | json | 大会员 | 参考大会员文档 | -| live | json | 直播状态 | 具体见下 | -| nft_icon | str | 显示nft角标 | | -| rec_reason | str | | | -| track_id | str | | | +| 字段 | 类型 | 内容 | 备注 | +| --------------- | ---- | --------------- | -------------- | +| mid | num | 用户mid | | +| attribute | num | 关系属性 | 恒为 `0` | +| tag | null | 关注分组id | 恒为 `null` | +| special | num | 是否特别关注 | 恒为 `0` | +| contract_info | obj | 契约计划信息 | | +| uname | str | 用户昵称 | | +| face | str | 用户头像url | | +| sign | str | 用户签名 | | +| face_nft | num | 是否为 NFT 头像 | | +| official_verify | obj | 认证信息 | 具体见下 | +| vip | obj | 会员信息 | | +| live | obj | 直播状态 | 具体见下 | +| nft_icon | str | (?) | | +| rec_reason | str | (?) | | +| track_id | str | (?) | | +| follow_time | str | (?) | | -`data`对象中的`official_verify`: +`data`中的对象中的`official_verify`对象: -| 字段 | 类型 | 内容 | 备注 | -| ---- | ---- | ------------ | ---- | -| type | num | 0 | | -| desc | str | 官方认证内容 | | +| 字段 | 类型 | 内容 | 备注 | +| ---- | ---- | ------------ | ------------------- | +| type | num | 用户认证类型 | -1:无
0:UP 主认证
1:机构认证 | +| desc | str | 用户认证信息 | 无为空 | -`data`对象中的`live`: +`data`中的对象中的`vip`对象: -| 字段 | 类型 | 内容 | 备注 | -| ----------- | ---- | -------- | -------------------- | -| live_status | num | 0或1 | 0:未开播,1:已直播 | -| jump_url | str | 直播链接 | +| 字段 | 类型 | 内容 | 备注 | +| ------------- | ---- | ------------ | ----------------------------------------------- | +| vipType | num | 会员类型 | 0:无
1:月度大会员
2:年度以上大会员 | +| vipDueDate | num | 会员到期时间 | 时间戳 毫秒 | +| dueRemark | str | (?) | | +| accessStatus | num | (?) | | +| vipStatus | num | 大会员状态 | 0:无
1:有 | +| vipStatusWarn | str | (?) | | +| themeType | num | (?) | | +| label | obj | (?) | | + +`data`数组中的对象中的`live`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ----------- | ---- | -------- | ------------------------ | +| live_status | num | 直播状态 | 0:未开播
1:已直播 | +| jump_url | str | 直播链接 | | + +`data`数组中的对象中的`contract_info`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------- | ---- | ------------------------------ | ----------------------------------------------------------- | +| is_contract | bool | 目标用户是否为对方的契约者 | 仅当为 `true` 时才有此项 | +| is_contractor | bool | 对方是否为目标用户的契约者 | 仅当为 `true` 时才有此项 | +| ts | num | 对方成为目标用户的契约者的时间 | 秒级时间戳,仅当 `is_contractor` 项的值为 `true` 时才有此项 | +| user_attr | num | 对方作为目标用户的契约者的属性 | 1:老粉
否则为原始粉丝
仅当有特殊属性时才有此项 | **示例:** @@ -1825,11 +2101,11 @@ curl 'https://api.bilibili.com/x/relation/tags' \ ```shell curl -G 'https://api.bilibili.com/x/relation/tag' \ - --data-urlencode 'tagid=207542' \ - --data-urlencode 'order_type=' \ - --data-urlencode 'ps=2' \ - --data-urlencode 'pn=1' \ - -b 'SESSDATA=xxx' + --data-urlencode 'tagid=207542' \ + --data-urlencode 'order_type=' \ + --data-urlencode 'ps=2' \ + --data-urlencode 'pn=1' \ + -b 'SESSDATA=xxx' ```
@@ -1837,60 +2113,60 @@ curl -G 'https://api.bilibili.com/x/relation/tag' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": [{ - "mid": 420831218, - "uname": "支付宝Alipay", - "face": "https://i2.hdslb.com/bfs/face/aaf18aeb2d9822e28a590bd8d878572ca8c59e04.jpg", - "sign": "阿支来了,关注点赞转发投币四连走起!", - "official_verify": { - "type": 1, - "desc": "支付宝官方账号" - }, - "vip": { - "vipType": 1, - "vipDueDate": 1585065600000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 1, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - }, { - "mid": 125086406, - "uname": "MSI微星科技", - "face": "https://i1.hdslb.com/bfs/face/a844760e4e491677615b39399bc761e74c579bb4.jpg", - "sign": "你好,这里是微星显卡官方!专注显卡三十年,欢迎私信咨询或提问MSI", - "official_verify": { - "type": 1, - "desc": "微星科技官方账号" - }, - "vip": { - "vipType": 1, - "vipDueDate": 1540656000000, - "dueRemark": "", - "accessStatus": 0, - "vipStatus": 0, - "vipStatusWarn": "", - "themeType": 0, - "label": { - "path": "" - } - } - }] + "code": 0, + "message": "0", + "ttl": 1, + "data": [{ + "mid": 420831218, + "uname": "支付宝Alipay", + "face": "https://i2.hdslb.com/bfs/face/aaf18aeb2d9822e28a590bd8d878572ca8c59e04.jpg", + "sign": "阿支来了,关注点赞转发投币四连走起!", + "official_verify": { + "type": 1, + "desc": "支付宝官方账号" + }, + "vip": { + "vipType": 1, + "vipDueDate": 1585065600000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 1, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + } + } + }, { + "mid": 125086406, + "uname": "MSI微星科技", + "face": "https://i1.hdslb.com/bfs/face/a844760e4e491677615b39399bc761e74c579bb4.jpg", + "sign": "你好,这里是微星显卡官方!专注显卡三十年,欢迎私信咨询或提问MSI", + "official_verify": { + "type": 1, + "desc": "微星科技官方账号" + }, + "vip": { + "vipType": 1, + "vipDueDate": 1540656000000, + "dueRemark": "", + "accessStatus": 0, + "vipStatus": 0, + "vipStatusWarn": "", + "themeType": 0, + "label": { + "path": "" + } + } + }] } ```
-### 查询目标用户所在的分组 +### 查询目标用户所在的分组 -> https://api.bilibili.com/x/relation/tag/user +> *请求方式:GET* @@ -1927,8 +2203,8 @@ curl -G 'https://api.bilibili.com/x/relation/tag' \ ```shell curl -G 'https://api.bilibili.com/x/relation/tag/user' \ - --data-urlencode 'fid=319214221' \ - -b 'SESSDATA=xxx' + --data-urlencode 'fid=319214221' \ + -b 'SESSDATA=xxx' ```
@@ -1936,13 +2212,13 @@ curl -G 'https://api.bilibili.com/x/relation/tag/user' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "-10": "特别关注", - "194111": "我的同学" - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "-10": "特别关注", + "194111": "我的同学" + } } ``` @@ -1950,7 +2226,7 @@ curl -G 'https://api.bilibili.com/x/relation/tag/user' \ ### 查询所有特别关注 mid -> https://api.bilibili.com/x/relation/tag/special +> *请求方式:GET* @@ -1985,7 +2261,7 @@ curl -G 'https://api.bilibili.com/x/relation/tag/user' \ ```shell curl 'https://api.bilibili.com/x/relation/tag/special' \ - -b 'SESSDATA=xxx' + -b 'SESSDATA=xxx' ```
@@ -1993,29 +2269,29 @@ curl 'https://api.bilibili.com/x/relation/tag/special' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": [ - 500716647, - 32832243, - 53456, - 25944552, - 301839556, - 427494870, - 319214221, - 31949159, - 382666849, - 258318451, - 15858903, - 54992199, - 3379951, - 392279807, - 23215368, - 258150656, - 20165629, - 22179720 - ] + "code": 0, + "message": "0", + "ttl": 1, + "data": [ + 500716647, + 32832243, + 53456, + 25944552, + 301839556, + 427494870, + 319214221, + 31949159, + 382666849, + 258318451, + 15858903, + 54992199, + 3379951, + 392279807, + 23215368, + 258150656, + 20165629, + 22179720 + ] } ``` @@ -2025,7 +2301,7 @@ curl 'https://api.bilibili.com/x/relation/tag/special' \ -> https://api.bilibili.com/x/relation/tag/create +> *请求方式:POST* @@ -2062,9 +2338,9 @@ curl 'https://api.bilibili.com/x/relation/tag/special' \ ```shell curl 'https://api.bilibili.com/x/relation/tag/create' \ - --data-urlencode 'tag=测试' \ - --data-urlencode 'csrf=xxx' \ - -b 'SESSDATA=xxx' + --data-urlencode 'tag=测试' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -2072,12 +2348,12 @@ curl 'https://api.bilibili.com/x/relation/tag/create' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "tagid": 216677 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "tagid": 216677 + } } ``` @@ -2085,7 +2361,7 @@ curl 'https://api.bilibili.com/x/relation/tag/create' \ ### 重命名分组 -> https://api.bilibili.com/x/relation/tag/update +> *请求方式:POST* @@ -2116,10 +2392,10 @@ curl 'https://api.bilibili.com/x/relation/tag/create' \ ```shell curl 'https://api.bilibili.com/x/relation/tag/update' \ - --data-urlencode 'tagid=194112' \ - --data-urlencode 'name=膜法师' \ - --data-urlencode 'csrf=xxx' \ - -b 'SESSDATA=xxx' + --data-urlencode 'tagid=194112' \ + --data-urlencode 'name=膜法师' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -2127,9 +2403,9 @@ curl 'https://api.bilibili.com/x/relation/tag/update' \ ```json { - "code": 0, - "message": "0", - "ttl": 1 + "code": 0, + "message": "0", + "ttl": 1 } ``` @@ -2139,7 +2415,7 @@ curl 'https://api.bilibili.com/x/relation/tag/update' \ -> https://api.bilibili.com/x/relation/tag/del +> *请求方式:POST* @@ -2169,9 +2445,9 @@ curl 'https://api.bilibili.com/x/relation/tag/update' \ ```shell curl 'https://api.bilibili.com/x/relation/tag/del' \ - --data-urlencode 'tagid=216699' \ - --data-urlencode 'csrf=xxx' \ - -b 'SESSDATA=xxx' + --data-urlencode 'tagid=216699' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -2179,9 +2455,9 @@ curl 'https://api.bilibili.com/x/relation/tag/del' \ ```json { - "code": 0, - "message": "0", - "ttl": 1 + "code": 0, + "message": "0", + "ttl": 1 } ``` @@ -2191,7 +2467,7 @@ curl 'https://api.bilibili.com/x/relation/tag/del' \ -> https://api.bilibili.com/x/relation/tags/addUsers +> *请求方式:POST* @@ -2224,10 +2500,10 @@ curl 'https://api.bilibili.com/x/relation/tag/del' \ ```shell curl 'https://api.bilibili.com/x/relation/tags/addUsers' \ - --data-urlencode 'fids=205631797' \ - --data-urlencode 'tagids=-10,207542' \ - --data-urlencode 'csrf=xxx' \ - -b 'SESSDATA=xxx' + --data-urlencode 'fids=205631797' \ + --data-urlencode 'tagids=-10,207542' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -2235,9 +2511,9 @@ curl 'https://api.bilibili.com/x/relation/tags/addUsers' \ ```json { - "code": 0, - "message": "0", - "ttl": 1 + "code": 0, + "message": "0", + "ttl": 1 } ``` @@ -2245,7 +2521,7 @@ curl 'https://api.bilibili.com/x/relation/tags/addUsers' \ ### 复制关注到分组 -> https://api.bilibili.com/x/relation/tags/copyUsers +> *请求方式:POST* @@ -2276,10 +2552,10 @@ curl 'https://api.bilibili.com/x/relation/tags/addUsers' \ ```shell curl 'https://api.bilibili.com/x/relation/tags/copyUsers' \ - --data-urlencode 'fids=4856007,326499679' \ - --data-urlencode 'tagids=231305' \ - --data-urlencode 'csrf=xxx' \ - -b 'SESSDATA=xxx' + --data-urlencode 'fids=4856007,326499679' \ + --data-urlencode 'tagids=231305' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -2287,9 +2563,9 @@ curl 'https://api.bilibili.com/x/relation/tags/copyUsers' \ ```json { - "code":0, - "message":"0", - "ttl":1 + "code": 0, + "message": "0", + "ttl": 1 } ``` @@ -2297,7 +2573,7 @@ curl 'https://api.bilibili.com/x/relation/tags/copyUsers' \ ### 移动关注到分组 -> https://api.bilibili.com/x/relation/tags/moveUsers +> *请求方式:POST* @@ -2329,11 +2605,11 @@ curl 'https://api.bilibili.com/x/relation/tags/copyUsers' \ ```shell curl 'https://api.bilibili.com/x/relation/tags/moveUsers' \ - --data-urlencode 'beforeTagids=207542' \ - --data-urlencode 'afterTagids=23130' \ - --data-urlencode 'fids=321173469,327086920' \ - --data-urlencode 'csrf=xxx' \ - -b 'SESSDATA=xxx' + --data-urlencode 'beforeTagids=207542' \ + --data-urlencode 'afterTagids=23130' \ + --data-urlencode 'fids=321173469,327086920' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' ```
@@ -2341,9 +2617,9 @@ curl 'https://api.bilibili.com/x/relation/tags/moveUsers' \ ```json { - "code":0, - "message":"0", - "ttl":1 + "code": 0, + "message": "0", + "ttl": 1 } ``` From 4c8b0f9ddbf5e33015fe8de225c98b90fd4f5f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 02:51:08 +0800 Subject: [PATCH 32/66] fix(relation): typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/user/relation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user/relation.md b/docs/user/relation.md index 2ecb74b..83d6798 100644 --- a/docs/user/relation.md +++ b/docs/user/relation.md @@ -95,7 +95,7 @@ | ps | num | 每页项数 | 非必要 | 默认为 50 | | pn | num | 页码 | 非必要 | 默认为 1 | | offset | str | 偏移量 | 非必要 | 此项有效且不为 `rcmd` 时会从此偏移量开始返回粉丝列表,忽略参数 `pn` | -| from | str | 请求来源 | 非必要 | 当为 `main` 且目标用户为自己时,粉丝列表按照**智能推荐算法**排序,此时 `&.data.list[]` 中的 `rec_reason` 与 `track_id` 为非空 | +| from | str | 请求来源 | 非必要 | 当为 `main` 且目标用户为自己时,粉丝列表按照**智能推荐算法**排序,此时 `$.data.list[]` 中的 `rec_reason` 与 `track_id` 为非空 | **json回复:** @@ -122,7 +122,7 @@ | 项 | 类型 | 内容 | 备注 | | ---- | ---- | ------------ | ---------------------------------- | | 0 | obj | 粉丝 1 | 详见 [关系列表对象](#关系列表对象) | -| n | obj | 粉丝 (n+1) | 按照添加顺序排列 | +| n | obj | 粉丝 (n+1) | | | …… | obj | …… | …… | **示例:** From e7ff12f04e11797079d815021f5fca1aae59eb4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 02:58:39 +0800 Subject: [PATCH 33/66] style(message): wrap URL with brackets & replace tabs with spaces --- docs/message/msg.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/message/msg.md b/docs/message/msg.md index ac7b47c..8e368db 100644 --- a/docs/message/msg.md +++ b/docs/message/msg.md @@ -2,9 +2,9 @@ ## 获取未读消息数 -> https://api.bilibili.com/x/msgfeed/unread +> -> https://api.vc.bilibili.com/x/im/web/msgfeed/unread (新接口) +> (新接口) *请求方式:GET* @@ -53,7 +53,7 @@ ```shell curl 'https://api.vc.bilibili.com/x/im/web/msgfeed/unread' \ --b 'SESSDATA=xxx' + -b 'SESSDATA=xxx' ```
@@ -61,23 +61,23 @@ curl 'https://api.vc.bilibili.com/x/im/web/msgfeed/unread' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "at": 3, - "chat": 0, - "coin": 0, - "danmu": 0, - "favorite": 0, - "like": 10, - "recv_like": 10, - "recv_reply": 4, - "reply": 4, - "sys_msg": 2, - "sys_msg_style": 1, - "up": 1 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "at": 3, + "chat": 0, + "coin": 0, + "danmu": 0, + "favorite": 0, + "like": 10, + "recv_like": 10, + "recv_reply": 4, + "reply": 4, + "sys_msg": 2, + "sys_msg_style": 1, + "up": 1 + } } ``` From 0ba4aef40ad7c1885cacdaeec0d736b0a131287d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 03:40:17 +0800 Subject: [PATCH 34/66] feat(message/settings): add get sys setting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- README.md | 2 +- docs/message/settings.md | 164 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 165 insertions(+), 1 deletion(-) create mode 100644 docs/message/settings.md diff --git a/README.md b/README.md index ae4f7ea..856e264 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ B站 API 采用 C/S 结构,大多数接口为 REST API 和 gRPC,少部分接 - [ ] [通知类消息](docs/message/msg.md) - [ ] [私信](docs/message/private_msg.md) - [ ] [私信消息类型、内容说明](docs/message/private_msg_content.md) - - [ ] 设置 + - [ ] [设置](docs/message/settings.md) - [ ] [用户](docs/user) - [x] [基本信息](docs/user/info.md) - [x] [状态数](docs/user/status_number.md) diff --git a/docs/message/settings.md b/docs/message/settings.md new file mode 100644 index 0000000..39e6079 --- /dev/null +++ b/docs/message/settings.md @@ -0,0 +1,164 @@ +# 消息设置 + +## 获取系统设置 + +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +此接口中的设置一般不能由用户随意更改 + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| -------- | ---- | ---------------- | ------ | ------------------------- | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ----------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| --------------------------------- | ---- | ---------------------------------------------------------------------------------------- | -------------------------- | +| is_create_group_available | num | 是否可创建粉丝团 | 粉丝数达到 1000 后开启 | +| is_auto_reply_available | num | 是否可使用自动回复功能 | 粉丝数达到 1000 后开启 | +| vc_hint_title | str | 稿件自动推送小灰条内容 | `我为什么会收到此类消息` | +| vc_hint_title_button | str | 稿件自动推送小灰条旁的按钮内容 | `了解更多` | +| vc_hint_detail | str | 稿件自动推送详细信息小灰条内容 | `您【特别关注】的UP主更新视频或专栏后,会第一时间在私信推送给您。如有需要可点击右上角设置关闭推送。` | +| vc_hint_detail_button | str | 关闭稿件自动推送按钮内容 | `关闭推送` | +| auto_reply_html | str | 自动回复H5页面url | `https://message.bilibili.com/h5/app/auto-reply` | +| is_receive_unfollow_wl | num | 是否显示限制接收未关注人消息功能 | | +| is_voyage | num | 是否在自动回复页面显示 “大航海自动回复” 按钮 | 仅部分用户开启 | +| is_auto_reply_recommend_available | num | 是否在自动回复中的 “被关注回复” 页面显示 “被关注后,向关注我的人推送我的往期作品” 复选框 | 仅部分用户开启 | +| is_discuss_style_im_page | num | (?) | **作用尚不明确** | +| discuss_unread_style_im_page | num | (?) | **作用尚不明确** | +| old_up_assistant_door | obj | 原 “UP主小助手” 入口相关信息 | | +| is_new_up_assistant_effective | num | 新 “UP主小助手” 是否启用 | | +| is_archive_gray | bool | 是否不显示 “私信存档” 按钮 | | +| session_cfg | obj | 特定私信会话配置信息 | | +| migrate_session_api | bool | (?) | **作用尚不明确** | +| game_msg | obj | (?) | **作用尚不明确**;仅当请求参数 `mobi_app` 不为 `web` 时有其中的项目 | +| auto_reply_msg_desc | str | 指示消息为自动回复消息的提示内容 | `此条消息为自动回复` | +| huahuo_group_icon_new | str | 浅色模式下的花火图标url | | +| huahuo_group_icon_dark_new | str | 深色模式下的花火图标url | | +| im_disabled_input_hint | str | 某UP主禁用私信功能时的提示内容 | `请到UP主空间发起咨询` | + +`data` 中的 `old_up_assistant_door` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| ---------------- | ---- | ---------------------------- | ------------ | +| show_old_up_door | num | 是否显示原 “UP主小助手” 入口 | 目前恒为 `0` | +| title | str | 原 “UP主小助手” 入口标题 | 目前为空文本 | +| sub_title | str | 原 “UP主小助手” 入口子标题 | 目前为空文本 | + +`data` 中的 `session_cfg` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| --------- | ---- | ---------------- | ---- | +| {用户mid} | obj | 该会话的配置信息 | | + +`session_cfg` 中的 `{用户mid}` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| ---------------- | ---- | -------------------- | ------------------- | +| hidden_emote_btn | bool | 是否隐藏表情按钮 | | +| hidden_pic_btn | bool | 是否隐藏发送图片按钮 | | +| max_height | num | 最大高度(?) | **作用尚不明确** | +| hint_text | str | 私信输入框的提示内容 | `你想问什么问题呢?` | +| hidden_top_hint | str | (?) | **作用尚不明确** | +| is_gpt_account | bool | 是否为AI会话 | | + +`data` 中的 `game_msg` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------ | ---- | ---- | ------------------------------------------------------------- | +| show_install | bool | true | **作用尚不明确**;仅当请求参数 `mobi_app` 不为 `web` 时有此项 | + +**示例:** + +```shell +curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_sys_setting' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "is_create_group_available": 1, + "is_auto_reply_available": 1, + "vc_hint_title": "我为什么会收到此类消息", + "vc_hint_title_button": "了解更多", + "vc_hint_detail": "您【特别关注】的UP主更新视频或专栏后,会第一时间在私信推送给您。如有需要可点击右上角设置关闭推送。", + "vc_hint_detail_button": "关闭推送", + "auto_reply_html": "https://message.bilibili.com/h5/app/auto-reply", + "is_receive_unfollow_wl": 0, + "is_voyage": 1, + "is_auto_reply_recommend_available": 0, + "is_discuss_style_im_page": 0, + "discuss_unread_style_im_page": 0, + "old_up_assistant_door": { + "show_old_up_door": 0, + "title": "", + "sub_title": "" + }, + "is_new_up_assistant_effective": 1, + "is_archive_gray": true, + "session_cfg": { + "100000000000001": { + "hidden_emote_btn": true, + "hidden_pic_btn": true, + "max_height": 62, + "hint_text": "你想问什么问题呢?", + "hidden_top_hint": true, + "is_gpt_account": true + }, + "100000000000002": { + "hidden_emote_btn": true, + "hidden_pic_btn": true, + "max_height": 62, + "hint_text": "你想问什么问题呢?", + "hidden_top_hint": true, + "is_gpt_account": true + }, + "1400565964": { + "hidden_emote_btn": true, + "hidden_pic_btn": true, + "max_height": 62, + "hint_text": "你想问什么问题呢?", + "hidden_top_hint": true, + "is_gpt_account": true + } + }, + "migrate_session_api": false, + "game_msg": { + "show_install": true + }, + "auto_reply_msg_desc": "此条消息为自动回复", + "huahuo_group_icon_new": "http://i0.hdslb.com/bfs/kfptfe/floor/e2e3829e514ebccab1705636b0354ec89446a4b5.png", + "huahuo_group_icon_dark_new": "http://i0.hdslb.com/bfs/kfptfe/floor/d09bc8c0716a15938ec427db5fa962733703f3ce.png", + "im_disabled_input_hint": "请到UP主空间发起咨询" + } +} +``` + +
From 8150bb7be65797380f0fc1a59ac3b092192b4de2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 03:49:19 +0800 Subject: [PATCH 35/66] feat(message/settings): show create group icon --- docs/message/settings.md | 57 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/docs/message/settings.md b/docs/message/settings.md index 39e6079..b0cd82b 100644 --- a/docs/message/settings.md +++ b/docs/message/settings.md @@ -162,3 +162,60 @@ curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_sys_setting' ```
+ +## 是否显示创建粉丝团按钮 + +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| -------- | ---- | ---------------- | ------ | ------------------------- | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ----------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| ---- | ---- | ---------------------- | ---------------------- | +| show | num | 是否显示创建粉丝团按钮 | 粉丝数达到 1000 后显示 | + +**示例:** + +```shell +curl 'https://api.vc.bilibili.com/link_group/v1/member/show_create_group_icon' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "show": 1 + } +} +``` + +
From 5df6ad22be5773e2a2116508fd6fd7ed96623fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 04:24:58 +0800 Subject: [PATCH 36/66] feat(message/settings): add get user setting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/settings.md | 97 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/docs/message/settings.md b/docs/message/settings.md index b0cd82b..19aefc3 100644 --- a/docs/message/settings.md +++ b/docs/message/settings.md @@ -1,5 +1,102 @@ # 消息设置 +## 获取用户偏好设置 + +> + +*请求方式:GET 或 POST* + +认证方式:Cookie(SESSDATA) + +**url参数(GET)或 正文参数(application/x-www-form-urlencoded,POST):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ------------------- | ---- | -------------------------------- | ------------ | ------------------------- | +| msg_notify | num | 是否显示 “消息提醒” 设置 | 非必要 | 若此项为任意整数,则返回数据中有 `msg_notify` 项 | +| show_unfollowed_msg | num | 是否显示 “收起未关注人消息” 设置 | 非必要 | 若此项为任意整数,则返回数据中有 `show_unfollowed_msg` 项 | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | +| csrf_token | str | CSRF Token(位于cookie) | POST方式必要 | | +| csrf | str | CSRF Token(位于cookie) | POST方式必要 | | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ----------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------------------ | ---- | -------------------- | --------------------------------------------------------------------------- | +| show_unfollowed_msg | num | 收起未关注人消息 | 请求参数 `show_unfollowed_msg` 为整数时显示此项
0:不收起
1:收起 | +| msg_notify | num | 消息提醒 | 请求参数 `msg_notify` 为整数时显示此项
1:接收
3:不接收 | +| set_like | num | 收到的赞提醒(旧) | 0:接收
5:不接收 | +| set_comment | num | 回复我的提醒(旧) | 0:所有人
1:关注的人
2:不接受任何消息提醒 | +| set_at | num | @ 我的提醒 (旧) | 0:所有人
1:关注的人
2:不接受任何消息提醒 | +| is_group_fold | num | 收起应援团消息 | 0:不收起
1:收起 | +| should_receive_group | num | 接收应援团消息 | 0:不接收
1:接收 | +| receive_unfollow_msg | num | 接收未关注人消息 | 前端隐藏此开关
0:不接收
1:接收 | +| followed_reply | num | 被关注回复 | 0:关闭
1:开启 | +| keys_reply | num | 关键词回复 | 0:关闭
1:开启 | +| recv_reply | num | 收到消息回复 | 0:关闭
1:开启 | +| voyage_reply | num | 大航海上船回复 | 0:关闭
1:开启 | +| recommend_followed_reply | num | 被关注时自动推送作品 | 0:关闭
1:开启 | +| ai_intercept | num | 私信智能拦截 | 0:关闭
1:开启 | +| anti_harassment | null | 防骚扰和互动人群设置 | 恒为 `null` | +| set_recv_reply | num | 收到回复提醒(新) | 0:所有人
1:关注的人
2:不接受任何消息提醒 | +| set_recv_like | num | 收到喜欢提醒(新) | 0:接收
2:不接收 | +| set_new_follow | num | 新增粉丝提醒(新) | 0:接收
2:不接收 | + +**示例:** + +```shell +curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get' \ + --data-urlencode 'msg_notify=1' \ + --data-urlencode 'show_unfollowed_msg=1' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "show_unfollowed_msg": 0, + "msg_notify": 1, + "set_like": 0, + "set_comment": 0, + "set_at": 0, + "is_group_fold": 0, + "should_receive_group": 1, + "receive_unfollow_msg": 1, + "followed_reply": 1, + "keys_reply": 0, + "recv_reply": 1, + "voyage_reply": 0, + "recommend_followed_reply": 1, + "ai_intercept": 1, + "anti_harassment": null, + "set_recv_reply": 0, + "set_recv_like": 0, + "set_new_follow": 0 + } +} +``` + +
+ ## 获取系统设置 > From 20ebf795b0bd9b7132881bd0d6a81a38980d270f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 04:58:04 +0800 Subject: [PATCH 37/66] style(private_msg): add session & message category --- docs/message/private_msg.md | 298 ++++++++++++++++++------------------ 1 file changed, 151 insertions(+), 147 deletions(-) diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index f13b4c6..4c571dc 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -93,7 +93,9 @@ | 18 | 系统提示 | 目前仅在 `msg_type` 为 `18` 时使用该代码,如:“对方主动回复或关注你前,最多发送1条消息” | | 19 | AI | 如:给[搜索AI助手测试版](https://space.bilibili.com/1400565964/)发送私信时对方的自动回复 | -## 获取未读私信数 +## 会话相关 + +### 获取未读私信数 > @@ -176,7 +178,7 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \
-## 获取指定类型会话列表 +### 获取指定类型会话列表 > @@ -407,7 +409,7 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/get_sessions' \
-## 获取新会话列表 +### 获取新会话列表 > @@ -620,7 +622,7 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/new_sessions' \
-## 获取会话详细信息 +### 获取会话详细信息 > @@ -720,7 +722,145 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/session_detail'
-## 查询私信消息记录 +### 获取会话限制状态 + +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +仅对用户会话调用本接口 + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ------ | ---- | ----------- | ------ | ---- | +| uid | num | 聊天对象mid | 必要 | | +| type | num | 1 | 必要 | | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
2:非法参数
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 数据本体 | | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------ | ---- | ------------------------ | ---------------------------- | +| is_limit | num | 用户是否被封禁 | | +| report_limit | num | 自己是否被限制举报该会话 | 常见于自己被封禁时出现该情况 | + +**示例:** + +获取`uid=123`的限制状态: + +```shell +curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/is_limit' \ + --data-urlencode 'uid=123' \ + --data-urlencode 'type=1' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "is_limit": 0, + "report_limit": 0 + } +} +``` + +
+ +### 获取会话推送设置 + +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +仅对用户会话调用本接口 + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | ---------------- | ------ | ------------- | +| talker_uid | num | 聊天对象mid | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
2:非法参数
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 数据本体 | | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ----------------- | ---- | ---------------------- | ----------------------------------- | +| follow_status | num | 对方对于自己的关注属性 | 0:未关注
~~1:悄悄关注(现已下线)~~
2:已关注
6:已互粉
128:已拉黑 | +| special | num | 自己是否特别关注了对方 | | +| push_setting | num | 推送设置 | 0:接收推送
1:不接收推送 | +| show_push_setting | num | 是否显示推送设置 | | + +**示例:** + +获取`talker_uid=123`的推送设置: + +```shell +curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_session_ss' \ + --data-urlencode 'talker_uid=123' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "follow_status": 6, + "special": 1, + "push_setting": 0, + "show_push_setting": 1 + } +} +``` + +
+ +## 私信消息相关 + +### 查询私信消息记录 > @@ -869,143 +1009,7 @@ curl -G 'https://api.vc.bilibili.com/svr_sync/v1/svr_sync/fetch_session_msgs' \
-## 获取会话限制状态 - -> - -*请求方式:GET* - -认证方式:Cookie(SESSDATA) - -仅对用户会话调用本接口 - -**url参数:** - -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| ------ | ---- | ----------- | ------ | ---- | -| uid | num | 聊天对象mid | 必要 | | -| type | num | 1 | 必要 | | - -**json回复:** - -根对象: - -| 字段 | 类型 | 内容 | 备注 | -| ------- | ---- | -------- | ------------------------------------------------- | -| code | num | 返回值 | 0:成功
2:非法参数
-101:账号未登录
-400:请求错误 | -| msg | str | 错误信息 | 默认为0 | -| message | str | 错误信息 | 默认为0 | -| ttl | num | 1 | | -| data | obj | 数据本体 | | - -`data`对象: - -| 字段 | 类型 | 内容 | 备注 | -| ------------ | ---- | ------------------------ | ---------------------------- | -| is_limit | num | 用户是否被封禁 | | -| report_limit | num | 自己是否被限制举报该会话 | 常见于自己被封禁时出现该情况 | - -**示例:** - -获取`uid=123`的限制状态: - -```shell -curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/is_limit' \ - --data-urlencode 'uid=123' \ - --data-urlencode 'type=1' \ - -b 'SESSDATA=xxx' -``` - -
-查看响应示例: - -```json -{ - "code": 0, - "msg": "0", - "message": "0", - "ttl": 1, - "data": { - "is_limit": 0, - "report_limit": 0 - } -} -``` - -
- -## 获取会话推送设置 - -> - -*请求方式:GET* - -认证方式:Cookie(SESSDATA) - -仅对用户会话调用本接口 - -**url参数:** - -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| ---------- | ---- | ---------------- | ------ | ------------- | -| talker_uid | num | 聊天对象mid | 必要 | | -| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | -| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | - -**json回复:** - -根对象: - -| 字段 | 类型 | 内容 | 备注 | -| ------- | ---- | -------- | ------------------------------------------------- | -| code | num | 返回值 | 0:成功
2:非法参数
-101:账号未登录
-400:请求错误 | -| msg | str | 错误信息 | 默认为0 | -| message | str | 错误信息 | 默认为0 | -| ttl | num | 1 | | -| data | obj | 数据本体 | | - -`data`对象: - -| 字段 | 类型 | 内容 | 备注 | -| ----------------- | ---- | ---------------------- | ----------------------------------- | -| follow_status | num | 对方对于自己的关注属性 | 0:未关注
~~1:悄悄关注(现已下线)~~
2:已关注
6:已互粉
128:已拉黑 | -| special | num | 自己是否特别关注了对方 | | -| push_setting | num | 推送设置 | 0:接收推送
1:不接收推送 | -| show_push_setting | num | 是否显示推送设置 | | - -**示例:** - -获取`talker_uid=123`的推送设置: - -```shell -curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_session_ss' \ - --data-urlencode 'talker_uid=123' \ - --data-urlencode 'build=0' \ - --data-urlencode 'mobi_app=web' \ - -b 'SESSDATA=xxx' -``` - -
-查看响应示例: - -```json -{ - "code": 0, - "msg": "0", - "message": "0", - "ttl": 1, - "data": { - "follow_status": 6, - "special": 1, - "push_setting": 0, - "show_push_setting": 1 - } -} -``` - -
- -## 获取多个视频、番剧、专栏的信息 +### 获取多个视频、番剧、专栏的信息 > @@ -1178,7 +1182,7 @@ curl -G 'https://api.vc.bilibili.com/x/im/feed/infoweb' \
-## 设置私信为已读 +### 设置私信为已读 > @@ -1245,7 +1249,7 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/update_ack' \
-## 发送私信(web端) +### 发送私信(web端) > @@ -1296,7 +1300,7 @@ dev_id 实质上就是 UUID(版本 4)
查看生成 UUID 的代码 -### Python +#### Python ```python import uuid @@ -1304,7 +1308,7 @@ import uuid dev_id = str(uuid.uuid4()) ``` -### JavaScript +#### JavaScript 以下代码适用于较新版的 JS 引擎(Chrome≥92,Firefox≥95,Safari≥15.4,Node.js≥19.0.0): @@ -1321,7 +1325,7 @@ const dev_id = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (function })); ``` -### Java +#### Java ```java import java.util.UUID; From 11559a32916a5c88650e9e20f6ececfb6b7698d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 04:58:49 +0800 Subject: [PATCH 38/66] feat(message/settings): #1267 --- docs/message/settings.md | 76 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/docs/message/settings.md b/docs/message/settings.md index 19aefc3..6726186 100644 --- a/docs/message/settings.md +++ b/docs/message/settings.md @@ -97,6 +97,82 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get' \
+## 修改用户偏好设置 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +参数名称与值基本同「[获取用户偏好设置](#获取用户偏好设置)」中的 `data` 对象,修改设置时只需提供修改的设置对应的参数即可 + +开启自动回复功能需要 1000 粉丝及以上,否则会提示 700009 `权限不足` + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ------------------------ | ---- | ------------------------ | ------ | ----------------------------------------------------- | +| show_unfollowed_msg | num | 收起未关注人消息 | 非必要 | 0:不收起
1:收起 | +| msg_notify | num | 消息提醒 | 非必要 | 1:接收
3:不接收 | +| set_like | num | 收到的赞提醒 | 非必要 | 0:接收
5:不接收 | +| set_comment | num | 回复我的提醒 | 非必要 | 0:所有人
1:关注的人
2:不接受任何消息提醒 | +| set_at | num | @ 我的提醒 | 非必要 | 0:所有人
1:关注的人
2:不接受任何消息提醒 | +| is_group_fold | num | 收起应援团消息 | 非必要 | 0:不收起
1:收起 | +| should_receive_group | num | 接收应援团消息 | 非必要 | 0:不接收
1:接收 | +| receive_unfollow_msg | num | 接收未关注人消息 | 非必要 | 0:不接收
1:接收 | +| followed_reply | num | 被关注回复 | 非必要 | 需要有自动回复权限
0:关闭
1:开启 | +| keys_reply | num | 关键词回复 | 非必要 | 需要有自动回复权限
0:关闭
1:开启 | +| recv_reply | num | 收到消息回复 | 非必要 | 需要有自动回复权限
0:关闭
1:开启 | +| voyage_reply | num | 大航海上船回复 | 非必要 | 需要有自动回复权限
0:关闭
1:开启 | +| recommend_followed_reply | num | 被关注时自动推送作品 | 非必要 | 需要有自动回复权限
0:关闭
1:开启 | +| ai_intercept | num | 私信智能拦截 | 非必要 | 0:关闭
1:开启 | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | --------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
700009:权限不足 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | 空对象 | + +**示例:** + +开启接收消息提醒 + +```shell +curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/set' \ + --data-urlencode 'msg_notify=1' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + --data-urlencode 'csrf_token=xxx' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + +
+ ## 获取系统设置 > From e07ef4cbde73454e62d7524cfa790c08a013fd8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 12:04:27 +0800 Subject: [PATCH 39/66] fix(message/settings): type error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/message/settings.md b/docs/message/settings.md index 6726186..a76b4a9 100644 --- a/docs/message/settings.md +++ b/docs/message/settings.md @@ -251,7 +251,7 @@ curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/set' \ | hidden_pic_btn | bool | 是否隐藏发送图片按钮 | | | max_height | num | 最大高度(?) | **作用尚不明确** | | hint_text | str | 私信输入框的提示内容 | `你想问什么问题呢?` | -| hidden_top_hint | str | (?) | **作用尚不明确** | +| hidden_top_hint | bool | (?) | **作用尚不明确** | | is_gpt_account | bool | 是否为AI会话 | | `data` 中的 `game_msg` 对象: From 5d35126f812a6b51ec1eb1541b5eea58cbf7799d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 12:31:20 +0800 Subject: [PATCH 40/66] feat(message/settings): get auto reply text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/settings.md | 111 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) diff --git a/docs/message/settings.md b/docs/message/settings.md index a76b4a9..f00b10d 100644 --- a/docs/message/settings.md +++ b/docs/message/settings.md @@ -173,6 +173,117 @@ curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/set' \
+## 获取自动回复文本 + +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| -------- | ---- | ---------------- | ------ | ---------------------------------------------------------------------------- | +| type\[\] | num | 自动回复类型 | 必要 | 1:被关注回复
2:关键词回复
3:收到消息回复
5:大航海上船回复 | +| uid | num | 自己的mid | 非必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ---------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
2:非法参数 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| ----- | ----- | ------------ | -------------------------------------- | +| texts | array | 自动回复文本 | 若未设置此类型自动回复文本,则没有此项 | + +`data` 中的 `texts` 数组: + +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | --------- | -------------------------------- | +| 0 | obj | 文本1 | | +| n | obj | 文本(n+1) | 当类型为 “关键词回复” 时可有多项 | +| …… | obj | …… | …… | + +`texts` 数组中的对象: + +| 字段 | 类型 | 内容 | 备注 | +| ----- | ---- | -------------- | -------------------------------------------------------------------------- | +| id | num | 自动回复规则id | | +| uid | num | 自己的mid | | +| type | num | 自动回复类型 | 同请求参数 `type[]` | +| title | str | 规则名称 | 当类型为 “关键词回复” 时有效,否则为空文本 | +| key1 | str | 精确匹配关键词 | 当类型为 “关键词回复” 时有效,否则为空文本
以中文逗号分隔每一个关键词 | +| key2 | str | 模糊匹配关键词 | 当类型为 “关键词回复” 时有效,否则为空文本
以中文逗号分隔每一个关键词 | +| reply | str | 回复内容 | | + +**示例:** + +获取关键词回复规则 + +```shell +curl -G 'https://api.vc.bilibili.com/x/im/auto_reply/get_reply_text' \ + --data-urlencode 'type[]=2' \ + --data-urlencode 'uid=425503913' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "texts": [ + { + "id": 201321, + "uid": 425503913, + "type": 2, + "title": "谢谢", + "key1": "谢谢,Thank you", + "key2": "感谢", + "reply": "我也感谢您对我的支持 (=・ω・=)" + }, + { + "id": 201320, + "uid": 425503913, + "type": 2, + "title": "哭2", + "key1": "哭", + "key2": "", + "reply": "我是不会哭的 (=・ω・=)" + }, + { + "id": 201318, + "uid": 425503913, + "type": 2, + "title": "哭", + "key1": "", + "key2": "哭", + "reply": "别哭了[tv_微笑]摸摸您 (^・ω・^)" + } + ] + } +} +``` + +
+ ## 获取系统设置 > From fecc790b9ee2dae90dd13e12198fccb1f209a48b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 13:13:56 +0800 Subject: [PATCH 41/66] feat(message/settings): set & delete auto reply text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/settings.md | 128 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 127 insertions(+), 1 deletion(-) diff --git a/docs/message/settings.md b/docs/message/settings.md index f00b10d..0d92f36 100644 --- a/docs/message/settings.md +++ b/docs/message/settings.md @@ -173,7 +173,7 @@ curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/set' \
-## 获取自动回复文本 +## 获取自动回复文本/关键词回复规则 > @@ -284,6 +284,132 @@ curl -G 'https://api.vc.bilibili.com/x/im/auto_reply/get_reply_text' \
+## 修改自动回复文本/关键词回复规则 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +仅调用本接口不会开启或关闭自动回复功能,请使用 “[修改用户偏好设置](#修改用户偏好设置)” 接口 + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | ------------------------ | ---------------------- | ---------------------------------------------------------------------------- | +| type | num | 自动回复类型 | 必要 | 1:被关注回复
2:关键词回复
3:收到消息回复
5:大航海上船回复 | +| reply | str | 回复内容 | 必要 | 最多 500 个字符 | +| id | str | 规则id | 非必要 | 当类型为 “关键词回复” 时有效
为 `0` 或为空时新增回复规则,否则修改 id 对应的回复规则 | +| title | str | 规则名称 | 关键词回复必要 | 当类型为 “关键词回复” 时有效,最多 30 个字符 | +| key1 | str | 精确匹配关键词 | 关键词回复必要(可选) | 当类型为 “关键词回复” 时有效,`key1` 与 `key2` 须至少填一个参数
以中文逗号分隔每一个关键词,最多 20 项 | +| key2 | str | 模糊匹配关键词 | 关键词回复必要(可选) | 当类型为 “关键词回复” 时有效,`key1` 与 `key2` 须至少填一个参数
以中文逗号分隔每一个关键词,最多 20 项 | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
27011:请求参数错误
1500001:自动回复内容太长 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | 空对象 | + +**示例:** + +修改关键词回复规则 `id=201321`,规则名称为 `谢谢`,精确匹配关键词为 `谢谢,Thank you,感谢`,回复内容为 `嗯嗯,不用谢[tv_微笑]` + +```shell +curl 'https://api.vc.bilibili.com/x/im/auto_reply/set_reply_text' \ + --data-urlencode 'type[]=2' \ + --data-urlencode 'reply=嗯嗯,不用谢[tv_微笑]' \ + --data-urlencode 'id=201321' \ + --data-urlencode 'title=谢谢' \ + --data-urlencode 'key1=谢谢,Thank you,感谢' \ + --data-urlencode 'key2=' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + --data-urlencode 'csrf_token=xxx' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": {} +} +``` + +
+ +## 删除关键词回复规则 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | ------------------------ | ------ | ------------- | +| id | str | 规则id | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | --------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-500:服务器错误 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | 空对象 | + +**示例:** + +删除关键词回复规则 `id=201321` + +```shell +curl 'https://api.vc.bilibili.com/x/im/auto_reply/del_reply_text' \ + --data-urlencode 'id=201321' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + --data-urlencode 'csrf_token=xxx' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": {} +} +``` + +
+ ## 获取系统设置 > From 6e817b97e81f37a6eede251b8a51ddfe1e0e1a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 13:31:37 +0800 Subject: [PATCH 42/66] feat(message/settings): get & add & del black words MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/settings.md | 199 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 199 insertions(+) diff --git a/docs/message/settings.md b/docs/message/settings.md index 0d92f36..3b2d12c 100644 --- a/docs/message/settings.md +++ b/docs/message/settings.md @@ -173,6 +173,205 @@ curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/set' \
+## 获取消息屏蔽词 + +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| -------- | ---- | ---------------- | ------ | ------------- | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ----------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| --------------- | ------------------------------- | ------------------ | ---------------- | +| words | 有效时:array
无效时:null | 消息屏蔽词列表 | | +| message | str | (?) | **作用尚不明确** | +| max_word_length | num | 单个屏蔽词最大长度 | 目前为 `20` | +| max_words_size | num | 屏蔽词最大数量 | 目前为 `200` | + +`data` 中的 `words` 数组: + +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | ----------- | ---- | +| 0 | obj | 屏蔽词1 | | +| n | obj | 屏蔽词(n+1) | | +| …… | obj | …… | …… | + +`words` 数组中的对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------------- | ---------- | +| content | str | 屏蔽词内容 | | +| ctime | num | 屏蔽词添加时间 | 秒级时间戳 | + +**示例:** + +```shell +curl -G 'https://api.vc.bilibili.com/x/im/link_setting/get_block_words' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "words": [ + { + "content": "屏蔽词", + "ctime": 1746422088 + } + ], + "message": "", + "max_word_length": 20, + "max_words_size": 200 + } +} +``` + +
+ +## 添加消息屏蔽词 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | ------------------------ | ------ | ------------- | +| content | str | 屏蔽词内容 | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误
19004:添加失败,屏蔽词限制最多20个字 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | 空对象 | + +**示例:** + +```shell +curl 'https://api.vc.bilibili.com/x/im/link_setting/add_block_word' \ + --data-urlencode 'content=屏蔽词' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + --data-urlencode 'csrf_token=xxx' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + +
+ +## 删除消息屏蔽词 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | ------------------------ | ------ | ------------- | +| content | str | 屏蔽词内容 | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | 空对象 | + +**示例:** + +```shell +curl 'https://api.vc.bilibili.com/x/im/link_setting/del_block_word' \ + --data-urlencode 'content=屏蔽词' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + --data-urlencode 'csrf_token=xxx' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + +
+ ## 获取自动回复文本/关键词回复规则 > From cfb297a9f4da6f88df1fdaff778674e0f2823254 Mon Sep 17 00:00:00 2001 From: stydxm <1773834430@qq.com> Date: Mon, 5 May 2025 13:52:18 +0800 Subject: [PATCH 43/66] =?UTF-8?q?fix:=20=E4=B9=B1=E7=A0=81=E6=96=87?= =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/user/space.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/space.md b/docs/user/space.md index 0bf7d2b..36142af 100644 --- a/docs/user/space.md +++ b/docs/user/space.md @@ -2905,7 +2905,7 @@ curl -G 'https://api.bilibili.com/x/space/arc/search' \ "count": 786 }, "episodic_button": { - "text": "播放全部", + "text": "播放全部", "uri": "//www.bilibili.com/medialist/play/946974?from=space" }, "is_risk": false, From 4553e3dd1b4590fe0f727cc009ae830ac935f3f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Mon, 5 May 2025 19:40:38 +0800 Subject: [PATCH 44/66] style & fix: improve docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/login/login_notice.md | 12 ++++++------ docs/message/settings.md | 2 +- docs/video/player.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/login/login_notice.md b/docs/login/login_notice.md index 17a0761..720c0a2 100644 --- a/docs/login/login_notice.md +++ b/docs/login/login_notice.md @@ -2,7 +2,7 @@ ## 查询登录记录 -> https://api.bilibili.com/x/safecenter/login_notice +> *请求方式:GET* @@ -43,9 +43,9 @@ ```shell curl -G 'https://api.bilibili.com/x/safecenter/login_notice' \ ---data-urlencode 'mid=293793435' \ ---data-urlencode 'buvid=fuck_chenrui' \ --b 'SESSDATA=xxx' + --data-urlencode 'mid=293793435' \ + --data-urlencode 'buvid=fuck_chenrui' \ + -b 'SESSDATA=xxx' ```
@@ -71,7 +71,7 @@ curl -G 'https://api.bilibili.com/x/safecenter/login_notice' \ ## 最近一周的登录情况 -> https://api.bilibili.com/x/member/web/login/log +> *请求方式: GET* @@ -127,7 +127,7 @@ curl -G 'https://api.bilibili.com/x/safecenter/login_notice' \ ```shell curl -G "https://api.bilibili.com/x/member/web/login/log" \ --b "SESSDATA=xxx" + -b "SESSDATA=xxx" ```
diff --git a/docs/message/settings.md b/docs/message/settings.md index 3b2d12c..fb797a8 100644 --- a/docs/message/settings.md +++ b/docs/message/settings.md @@ -650,7 +650,7 @@ curl 'https://api.vc.bilibili.com/x/im/auto_reply/del_reply_text' \ | vc_hint_detail_button | str | 关闭稿件自动推送按钮内容 | `关闭推送` | | auto_reply_html | str | 自动回复H5页面url | `https://message.bilibili.com/h5/app/auto-reply` | | is_receive_unfollow_wl | num | 是否显示限制接收未关注人消息功能 | | -| is_voyage | num | 是否在自动回复页面显示 “大航海自动回复” 按钮 | 仅部分用户开启 | +| is_voyage | num | 是否在自动回复页面显示 “大航海自动回复” 选项 | 仅部分用户开启 | | is_auto_reply_recommend_available | num | 是否在自动回复中的 “被关注回复” 页面显示 “被关注后,向关注我的人推送我的往期作品” 复选框 | 仅部分用户开启 | | is_discuss_style_im_page | num | (?) | **作用尚不明确** | | discuss_unread_style_im_page | num | (?) | **作用尚不明确** | diff --git a/docs/video/player.md b/docs/video/player.md index 7b5a06d..5b18cdf 100644 --- a/docs/video/player.md +++ b/docs/video/player.md @@ -60,7 +60,7 @@ web 播放器的信息接口,提供正常播放需要的元数据,包括: | now_time | num | 当前 UNIX 秒级时间戳 | | | online_count | num | 在线人数 | | | need_login_subtitle | bool | 是否必须登陆才能查看字幕 | 是的 | -| preview_toast | str | `为创作付费,购买观看完整视频|购买观看` | | +| preview_toast | str | `为创作付费,购买观看完整视频\|购买观看` | | | options | obj | | | | guide_attention | any | | | | jump_card | any | | | From 8d316f4cd030f1ac8b8b8d1d7dcee0d65273afd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Wed, 7 May 2025 00:43:16 +0800 Subject: [PATCH 45/66] feat(message): add details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/private_msg.md | 257 ++++++++++++++++++++++++++++++++++-- docs/message/settings.md | 16 +-- 2 files changed, 257 insertions(+), 16 deletions(-) diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index 4c571dc..c8051fe 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -6,7 +6,7 @@ | 字段 | 类型 | 内容 | 备注 | | -------------------- | ---- | -------------------------------- | --------------------------------------------------- | -| talker_id | num | 聊天对象的id | `session_type` 为 `1` 时表示用户 mid,为 `2` 时表示粉丝团 id | +| talker_id | num | 聊天对象的id | `session_type` 为 `1` 时表示 mid,为 `2` 时表示粉丝团 id | | session_type | num | 聊天对象的类型 | 1:用户
2:粉丝团 | | at_seqno | num | 最近一次未读at自己的消息的序列号 | 在粉丝团会话中有效,若没有未读的 at 自己的消息则为 `0` | | top_ts | num | 置顶该会话的时间 | 微秒级时间戳;若未置顶该会话则为 `0`;用于判断是否置顶了会话 | @@ -730,7 +730,7 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/session_detail' 认证方式:Cookie(SESSDATA) -仅对用户会话调用本接口 +仅支持用户会话 **url参数:** @@ -795,7 +795,7 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/is_limit' \ 认证方式:Cookie(SESSDATA) -仅对用户会话调用本接口 +仅支持用户会话 **url参数:** @@ -858,6 +858,251 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_session_ss
+### 修改会话置顶状态 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ------------ | ---- | ------------------------ | ------ | ---------------------------------------------------- | +| talker_id | num | 聊天对象的id | 必要 | `session_type` 为 `1` 时表示用户 mid,为 `2` 时表示粉丝团 id | +| session_type | num | 聊天对象的类型 | 必要 | 1:用户
2:粉丝团 | +| op_type | num | 操作类型 | 必要 | 0:置顶
1:取消置顶 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 成功时为0 | +| message | str | 错误信息 | 成功时为0 | +| ttl | num | | 默认为1 | +| data | 有效时:obj
无效时:不存在该项 | 信息本体 | 空对象 | + +**示例:** + +置顶会话`talker_id=293793435&session_type=1` + +```shell +curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/set_top' \ + --data-urlencode 'talker_id=2' \ + --data-urlencode 'session_type=1' \ + --data-urlencode 'op_type=0' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + +
+ +### 移除指定会话 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +将指定会话从会话列表中移除,不会删除聊天记录 + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ------------ | ---- | ------------------------ | ------ | ---------------------------------------------------- | +| talker_id | num | 聊天对象的id | 必要 | `session_type` 为 `1` 时表示用户 mid,为 `2` 时表示粉丝团 id | +| session_type | num | 聊天对象的类型 | 必要 | 1:用户
2:粉丝团 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 成功时为0 | +| message | str | 错误信息 | 成功时为0 | +| ttl | num | | 默认为1 | +| data | 有效时:obj
无效时:不存在该项 | 信息本体 | 空对象 | + +**示例:** + +移除会话`talker_id=2&session_type=1` + +```shell +curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/remove_session' \ + --data-urlencode 'talker_id=2' \ + --data-urlencode 'session_type=1' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + +
+ +### 修改会话免打扰状态 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ------------ | ---- | ------------------------ | ------------ | -------------------------------- | +| uid | num | 自己的mid | 非必要 | | +| setting | num | 免打扰设置 | 必要 | 0:取消免打扰
1:开启免打扰 | +| dnd_uid | num | 用户mid | 必要(可选) | 当聊天对象为用户时有效 | +| dnd_group_id | num | 粉丝团id | 必要(可选) | 当聊天对象为粉丝团时有效 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 成功时为0 | +| message | str | 错误信息 | 成功时为0 | +| ttl | num | | 默认为1 | +| data | 有效时:obj
无效时:不存在该项 | 信息本体 | 空对象 | + +**示例:** + +对会话`dnd_uid=2`开启免打扰 + +```shell +curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/set_msg_dnd' \ + --data-urlencode 'uid=425503913' \ + --data-urlencode 'setting=1' \ + --data-urlencode 'dnd_uid=2' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + +
+ +### 修改会话推送设置 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +仅支持用户会话 + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | ------------------------ | ------ | ------------------------------ | +| talker_uid | num | 聊天对象mid | 必要 | | +| setting | num | 推送设置 | 必要 | 0:接收推送
1:不接收推送 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 成功时为0 | +| message | str | 错误信息 | 成功时为0 | +| ttl | num | | 默认为1 | +| data | 有效时:obj
无效时:不存在该项 | 信息本体 | 空对象 | + +**示例:** + +修改`talker_uid=2`的推送设置为不接收推送 + +```shell +curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/set_push_ss' \ + --data-urlencode 'talker_uid=2' \ + --data-urlencode 'setting=1' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + +
+ ## 私信消息相关 ### 查询私信消息记录 @@ -1214,11 +1459,7 @@ curl -G 'https://api.vc.bilibili.com/x/im/feed/infoweb' \ | msg | str | 错误信息 | 成功时为0 | | message | str | 错误信息 | 成功时为0 | | ttl | num | | 默认为1 | -| data | 有效时:obj
无效时:不存在该项 | 信息本体 | | - -`data`对象: - -一个不含任何项目的对象,即 `{}` +| data | 有效时:obj
无效时:不存在该项 | 信息本体 | 空对象 | **示例:** diff --git a/docs/message/settings.md b/docs/message/settings.md index fb797a8..592ff1e 100644 --- a/docs/message/settings.md +++ b/docs/message/settings.md @@ -268,13 +268,13 @@ curl -G 'https://api.vc.bilibili.com/x/im/link_setting/get_block_words' \ **正文参数(application/x-www-form-urlencoded):** -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| ---------- | ---- | ------------------------ | ------ | ------------- | -| content | str | 屏蔽词内容 | 必要 | | -| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | -| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | -| csrf_token | str | CSRF Token(位于cookie) | 必要 | | -| csrf | str | CSRF Token(位于cookie) | 必要 | | +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | ------------------------ | ------ | -------------- | +| content | str | 屏蔽词内容 | 必要 | 最多 20 个字符 | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | **json回复:** @@ -282,7 +282,7 @@ curl -G 'https://api.vc.bilibili.com/x/im/link_setting/get_block_words' \ | 字段 | 类型 | 内容 | 备注 | | ------- | ---- | -------- | ------------------------------------------------------------------------------------- | -| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误
19004:添加失败,屏蔽词限制最多20个字 | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误
1900004:添加失败,屏蔽词限制最多20个字
1900005:添加失败,最多可以添加200个屏蔽词
1900006:添加失败,屏蔽词重复
1900007:添加失败,屏蔽词不支持空格 | | msg | str | 错误信息 | 默认为0 | | message | str | 错误信息 | 默认为0 | | ttl | num | 1 | | From 129dfeaf9a031e83fb2adbbe3a21e2acc468cd2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Wed, 7 May 2025 01:52:09 +0800 Subject: [PATCH 46/66] feat(README): tick checkboxes of private msg & msg settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 856e264..9489f90 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,9 @@ B站 API 采用 C/S 结构,大多数接口为 REST API 和 gRPC,少部分接 - [x] [Web 端 Cookie 刷新](docs/login/cookie_refresh.md) - [ ] [消息中心](docs/message) - [ ] [通知类消息](docs/message/msg.md) - - [ ] [私信](docs/message/private_msg.md) - - [ ] [私信消息类型、内容说明](docs/message/private_msg_content.md) - - [ ] [设置](docs/message/settings.md) + - [x] [私信](docs/message/private_msg.md) + - [x] [私信消息类型、内容说明](docs/message/private_msg_content.md) + - [x] [设置](docs/message/settings.md) - [ ] [用户](docs/user) - [x] [基本信息](docs/user/info.md) - [x] [状态数](docs/user/status_number.md) @@ -155,10 +155,10 @@ B站 API 采用 C/S 结构,大多数接口为 REST API 和 gRPC,少部分接 - [x] [笔记操作](docs/note/action.md) - [ ] [专栏](docs/article) - [ ] [专栏分类](docs/article/category.md) - - [X] [基本信息](docs/article/info.md) - - [X] [点赞 & 投币 & 收藏 & 分享](docs/article/action.md) - - [X] [文集基本信息](docs/article/articles.md) - - [X] [删除](docs/article/delete.md) + - [x] [基本信息](docs/article/info.md) + - [x] [点赞 & 投币 & 收藏 & 分享](docs/article/action.md) + - [x] [文集基本信息](docs/article/articles.md) + - [x] [删除](docs/article/delete.md) - [ ] [音频](docs/audio) - [x] [歌曲基本信息](docs/audio/info.md) - [ ] [歌单 & 音频收藏夹详细信息](docs/audio/music_list.md) From f20ba59473fbb084280d32e4d956445268f24923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Thu, 8 May 2025 23:58:37 +0800 Subject: [PATCH 47/66] feat & fix(message/settings): add details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/settings.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/message/settings.md b/docs/message/settings.md index 592ff1e..e94ca6e 100644 --- a/docs/message/settings.md +++ b/docs/message/settings.md @@ -49,7 +49,7 @@ | voyage_reply | num | 大航海上船回复 | 0:关闭
1:开启 | | recommend_followed_reply | num | 被关注时自动推送作品 | 0:关闭
1:开启 | | ai_intercept | num | 私信智能拦截 | 0:关闭
1:开启 | -| anti_harassment | null | 防骚扰和互动人群设置 | 恒为 `null` | +| anti_harassment | null | 防骚扰和互动人群设置 | 此接口恒返回 `null` | | set_recv_reply | num | 收到回复提醒(新) | 0:所有人
1:关注的人
2:不接受任何消息提醒 | | set_recv_like | num | 收到喜欢提醒(新) | 0:接收
2:不接收 | | set_new_follow | num | 新增粉丝提醒(新) | 0:接收
2:不接收 | @@ -136,13 +136,13 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get' \ 根对象: -| 字段 | 类型 | 内容 | 备注 | -| ------- | ---- | -------- | --------------------------------------------------- | -| code | num | 返回值 | 0:成功
-101:账号未登录
700009:权限不足 | -| msg | str | 错误信息 | 默认为0 | -| message | str | 错误信息 | 默认为0 | -| ttl | num | 1 | | -| data | obj | 信息本体 | 空对象 | +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | -------------------------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
2:非法参数
700009:权限不足 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | 空对象 | **示例:** @@ -514,7 +514,7 @@ curl -G 'https://api.vc.bilibili.com/x/im/auto_reply/get_reply_text' \ | 字段 | 类型 | 内容 | 备注 | | ------- | ---- | -------- | ------------------------------------------------------------------------------------- | -| code | num | 返回值 | 0:成功
-101:账号未登录
27011:请求参数错误
1500001:自动回复内容太长 | +| code | num | 返回值 | 0:成功
-101:账号未登录
27011:请求参数错误
1500001:自动回复内容太长
1500002:规则数量已达上限,请删除后新建
1500003:您保存的内容含敏感信息,请修改后重试 | | message | str | 错误信息 | 默认为0 | | ttl | num | 1 | | | data | obj | 信息本体 | 空对象 | @@ -525,7 +525,7 @@ curl -G 'https://api.vc.bilibili.com/x/im/auto_reply/get_reply_text' \ ```shell curl 'https://api.vc.bilibili.com/x/im/auto_reply/set_reply_text' \ - --data-urlencode 'type[]=2' \ + --data-urlencode 'type=2' \ --data-urlencode 'reply=嗯嗯,不用谢[tv_微笑]' \ --data-urlencode 'id=201321' \ --data-urlencode 'title=谢谢' \ @@ -576,7 +576,7 @@ curl 'https://api.vc.bilibili.com/x/im/auto_reply/set_reply_text' \ | 字段 | 类型 | 内容 | 备注 | | ------- | ---- | -------- | --------------------------------------------------- | -| code | num | 返回值 | 0:成功
-101:账号未登录
-500:服务器错误 | +| code | num | 返回值 | 0:成功
-101:账号未登录
-500:服务器错误
1003:不能删除别人的规则 | | message | str | 错误信息 | 默认为0 | | ttl | num | 1 | | | data | obj | 信息本体 | 空对象 | @@ -772,7 +772,7 @@ curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_sys_setting'
-## 是否显示创建粉丝团按钮 +## 获取创建粉丝团按钮可见性 > From 1c5a07002b71263c31c6e9c1a4b011becaaf3e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Sun, 11 May 2025 04:28:26 +0800 Subject: [PATCH 48/66] feat(private_msg): get msg dnd & intercept MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/private_msg.md | 476 +++++++++++++++++++++++++++++------- 1 file changed, 394 insertions(+), 82 deletions(-) diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index c8051fe..34dfa6c 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -55,7 +55,7 @@ | msg_seqno | num | 消息序列号 | 按照时间顺序从小到大 | | timestamp | num | 消息发送时间 | 秒级时间戳 | | at_uids | 有效时:array
无效时:null | at的成员mid | 在粉丝团时有效;此项为 `null` 或 `[0]` 均表示没有 at 成员 | -| msg_key | num | 消息唯一id | 部分库在解析JSON对象中的大数时存在数值的精度丢失问题,因此在处理私信时可能会出现问题,建议使用修复了这一问题的库(如将大数转换成文本) | +| msg_key | num | 消息唯一id | 部分库在解析JSON对象中的大数时存在数值的精度丢失问题,因此在处理此字段时可能会出现问题,建议使用修复了这一问题的库(如将大数转换成文本) | | msg_status | num | 消息状态 | 0:正常
1:被撤回(接口仍能返回被撤回的私信内容)
2:被系统撤回(如:消息被举报;私信将不会显示在前端,B站接口也不会返回被系统撤回的私信的信息)
50:图片已失效(私信内容为一张提示“图片出现问题”的图片) | | sys_cancel | bool | 是否为系统撤回 | 仅当 `msg_type` 为 `5` 且此项值为 `true` 时有此项;若此项值为 `true`,表示目标消息是被系统撤回的,此时前端将不显示该私信且没有提示 | | notify_code | str | 通知代码 | 发送通知时使用,以下划线 `_` 分割,第 1 项表示主业务 id,第 2 项表示子业务 id;若这条私信非通知则为空文本;详细信息有待补充 | @@ -103,7 +103,7 @@ 认证方式:Cookie(SESSDATA) -注: 该接口默认每 2 分钟请求一次 +注: 该接口默认每 2 分钟请求一次;该接口不会返回[未读粉丝团私信数](#获取未读粉丝团私信数) **URL参数:** @@ -178,6 +178,67 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \
+### 获取未读粉丝团私信数 + +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| -------- | ---- | ---------------- | ------ | ------------- | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ----------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data` 对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------ | ---- | ---------------- | ---------------- | +| unread_count | num | 未读粉丝团私信数 | | + +**示例:** + +以下信息代表未读粉丝团私信数为 `497` 条 + +```shell +curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/my_group_unread' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "unread_count": 497 + } +} +``` + +
+ ### 获取指定类型会话列表 > @@ -190,10 +251,10 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \ | 参数名 | 类型 | 内容 | 必要性 | 备注 | | ------------- | ---- | -------------------- | ------ | ------------------------- | -| session_type | num | 会话类型 | 必要 | 1:未被折叠
2:未关注人
3:粉丝团
4:所有
5:被拦截
7:系统消息(?) | +| session_type | num | 会话类型 | 必要 | 1:用户与系统
2:未关注人
3:粉丝团
4:所有
5:被拦截
6:花火商单
7:所有系统消息
8:陌生人(与 “未关注人” 不同,不包含官方消息)
9:关注的人与系统 | | group_fold | num | 是否折叠粉丝团消息 | 非必要 | 0:否
1:是 | | unfollow_fold | num | 是否折叠未关注人消息 | 非必要 | 0:否
1:是 | -| sort_rule | num | 排序方式 | 非必要 | 1、2:按会话时间逆向排序
3:按已读时间逆向排序
其他:用户按会话时间逆向排序,粉丝团按加群时间正向排序(?) | +| sort_rule | num | 排序方式 | 非必要 | 仅当 `session_type` 不为 `4`、`7` 时有效
1、2:按会话时间逆向排序
3:按已读时间逆向排序
其他:用户与系统按会话时间逆向排序,粉丝团按加群时间正向排序 | | begin_ts | num | 起始时间 | 非必要 | 微秒级时间戳 | | end_ts | num | 终止时间 | 非必要 | 微秒级时间戳 | | size | num | 返回的会话数 | 非必要 | 默认为 `20`,最大为 `100` | @@ -204,13 +265,13 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \ 根对象: -| 字段 | 类型 | 内容 | 备注 | -| ------- | ---- | -------- | ------------------------------------------------- | -| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | -| msg | str | 错误信息 | 默认为0 | -| message | str | 错误信息 | 默认为0 | -| ttl | num | 1 | | -| data | obj | 数据本体 | | +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------------------------ | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误
2:非法参数 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 数据本体 | | `data`对象: @@ -787,6 +848,96 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/is_limit' \
+### 获取会话免打扰状态 + +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +仅支持用户会话 + +**url参数:** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| --------- | ---- | ---------------- | ------ | ----------------------- | +| own_uid | num | 自己的mid | 必要 | | +| uids | num | 用户mid | 非必要 | 仅支持填入 **1 个** mid | +| group_ids | num | 粉丝团id | 非必要 | 仅支持填入 **1 个** id | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
2:非法参数
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 默认为0 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | 数据本体 | | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +| -------------- | ----- | ---------------- | ------------------------------------- | +| uid_settings | array | 用户免打扰状态 | 仅当请求参数 `uids` 存在时有此项 | +| group_settings | array | 粉丝团免打扰状态 | 仅当请求参数 `group_ids` 存在时有此项 | + +`data`对象中的`uid_settings`、`group_settings`数组: + +| 项 | 类型 | 内容 | 备注 | +| ---- | ---- | -------------- | --------------------------------- | +| 0 | obj | 会话免打扰状态 | 仅有1项 | + +`uid_settings`、`group_settings`数组中的对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | ----------------- | -------------------------------- | +| id | num | 用户mid或粉丝团id | | +| setting | num | 免打扰状态 | 0:关闭免打扰
1:开启免打扰 | + +**示例:** + +获取会话`uids=2`与`group_ids=221082140`的免打扰状态: + +```shell +curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_msg_dnd' \ + --data-urlencode 'own_uid=425503913' \ + --data-urlencode 'uids=2' \ + --data-urlencode 'group_ids=221082140' \ + --data-urlencode 'build=0' \ + --data-urlencode 'mobi_app=web' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": { + "uid_settings": [{ + "id": 2, + "setting": 0 + }], + "group_settings": [{ + "id": 221082140, + "setting": 0 + }] + } +} +``` + +
+ ### 获取会话推送设置 > @@ -858,21 +1009,23 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_session_ss
-### 修改会话置顶状态 +### 设置会话为已读 -> +> *请求方式:POST* 认证方式:Cookie(SESSDATA) +将指定会话中的指定消息及以前的消息设置为已读 + **正文参数(application/x-www-form-urlencoded):** | 参数名 | 类型 | 内容 | 必要性 | 备注 | | ------------ | ---- | ------------------------ | ------ | ---------------------------------------------------- | | talker_id | num | 聊天对象的id | 必要 | `session_type` 为 `1` 时表示用户 mid,为 `2` 时表示粉丝团 id | | session_type | num | 聊天对象的类型 | 必要 | 1:用户
2:粉丝团 | -| op_type | num | 操作类型 | 必要 | 0:置顶
1:取消置顶 | +| ack_seqno | num | 设置为已读的消息序列号 | 非必要 | 留空表示最新的消息 | | csrf_token | str | CSRF Token(位于cookie) | 必要 | | | csrf | str | CSRF Token(位于cookie) | 必要 | | | build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | @@ -892,13 +1045,13 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/get_session_ss **示例:** -置顶会话`talker_id=293793435&session_type=1` +将`talker_id=293793435`、`session_type=1`的`ack_seqno=1236306587877408`消息及之前的消息设置为已读 ```shell -curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/set_top' \ - --data-urlencode 'talker_id=2' \ +curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/update_ack' \ + --data-urlencode 'talker_id=293793435' \ --data-urlencode 'session_type=1' \ - --data-urlencode 'op_type=0' \ + --data-urlencode 'ack_seqno=1236306587877408' \ --data-urlencode 'csrf=xxx' \ --data-urlencode 'csrf_token=xxx' \ -b 'SESSDATA=xxx' @@ -980,6 +1133,67 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/remove_session' \
+### 修改会话置顶状态 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ------------ | ---- | ------------------------ | ------ | ---------------------------------------------------- | +| talker_id | num | 聊天对象的id | 必要 | `session_type` 为 `1` 时表示用户 mid,为 `2` 时表示粉丝团 id | +| session_type | num | 聊天对象的类型 | 必要 | 1:用户
2:粉丝团 | +| op_type | num | 操作类型 | 必要 | 0:置顶
1:取消置顶 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 成功时为0 | +| message | str | 错误信息 | 成功时为0 | +| ttl | num | | 默认为1 | +| data | 有效时:obj
无效时:不存在该项 | 信息本体 | 空对象 | + +**示例:** + +置顶会话`talker_id=293793435&session_type=1` + +```shell +curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/set_top' \ + --data-urlencode 'talker_id=2' \ + --data-urlencode 'session_type=1' \ + --data-urlencode 'op_type=0' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + +
+ ### 修改会话免打扰状态 > @@ -1103,6 +1317,167 @@ curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/set_push_ss' \
+### 修改会话拦截状态 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +仅支持用户会话 + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | ------------------------ | ------ | ---------------------------- | +| talker_id | num | 聊天对象mid | 必要 | | +| status | num | 拦截状态 | 必要 | 0:取消拦截
1:设置拦截 | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 成功时为0 | +| message | str | 错误信息 | 成功时为0 | +| ttl | num | | 默认为1 | +| data | 有效时:obj
无效时:不存在该项 | 信息本体 | 空对象 | + +**示例:** + +对会话`talker_id=2`取消拦截状态 + +```shell +curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/update_intercept' \ + --data-urlencode 'talker_id=2' \ + --data-urlencode 'status=0' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + +### 设置所有拦截会话为已读 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | ------------------------ | ------ | ------------- | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 成功时为0 | +| message | str | 错误信息 | 成功时为0 | +| ttl | num | | 默认为1 | +| data | 有效时:obj
无效时:不存在该项 | 信息本体 | 空对象 | + +**示例:** + +```shell +curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/batch_update_dustbin_ack' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + +### 移除所有拦截会话 + +> + +*请求方式:POST* + +认证方式:Cookie(SESSDATA) + +**正文参数(application/x-www-form-urlencoded):** + +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| ---------- | ---- | ------------------------ | ------ | ------------- | +| csrf_token | str | CSRF Token(位于cookie) | 必要 | | +| csrf | str | CSRF Token(位于cookie) | 必要 | | +| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | +| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ------------------------------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | +| msg | str | 错误信息 | 成功时为0 | +| message | str | 错误信息 | 成功时为0 | +| ttl | num | | 默认为1 | +| data | 有效时:obj
无效时:不存在该项 | 信息本体 | 空对象 | + +**示例:** + +```shell +curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/batch_rm_dustbin' \ + --data-urlencode 'csrf=xxx' \ + --data-urlencode 'csrf_token=xxx' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "0", + "message": "0", + "ttl": 1, + "data": {} +} +``` + ## 私信消息相关 ### 查询私信消息记录 @@ -1113,7 +1488,7 @@ curl 'https://api.vc.bilibili.com/link_setting/v1/link_setting/set_push_ss' \ 认证方式:Cookie(SESSDATA) -仅调用该接口不会设置私信为已读,详见[设置私信为已读](#设置私信为已读) +仅调用该接口不会设置会话为已读,详见[设置会话为已读](#设置会话为已读) 此接口有设计缺陷,可以获取已经撤回(`msg_status` 为 `1`)的私信内容 @@ -1427,69 +1802,6 @@ curl -G 'https://api.vc.bilibili.com/x/im/feed/infoweb' \
-### 设置私信为已读 - -> - -*请求方式:POST* - -认证方式:Cookie(SESSDATA) - -将指定会话中的指定消息及以前的消息设置为已读 - -**正文参数(application/x-www-form-urlencoded):** - -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| ------------ | ---- | ------------------------ | ------ | ---------------------------------------------------- | -| talker_id | num | 聊天对象的id | 必要 | `session_type` 为 `1` 时表示用户 mid,为 `2` 时表示粉丝团 id | -| session_type | num | 聊天对象的类型 | 必要 | 1:用户
2:粉丝团 | -| ack_seqno | num | 设置为已读的消息序列号 | 必要 | | -| csrf_token | str | CSRF Token(位于cookie) | 必要 | | -| csrf | str | CSRF Token(位于cookie) | 必要 | | -| build | num | 客户端内部版本号 | 非必要 | 默认为 `0` | -| mobi_app | str | 平台标识 | 非必要 | 可为 `web` 等 | - -**json回复:** - -根对象: - -| 字段 | 类型 | 内容 | 备注 | -| ------- | ---- | -------- | ------------------------------------------------- | -| code | num | 返回值 | 0:成功
-101:账号未登录
-400:请求错误 | -| msg | str | 错误信息 | 成功时为0 | -| message | str | 错误信息 | 成功时为0 | -| ttl | num | | 默认为1 | -| data | 有效时:obj
无效时:不存在该项 | 信息本体 | 空对象 | - -**示例:** - -将`talker_id=293793435`、`session_type=1`的`ack_seqno=1236306587877408`消息及之前的消息设置为已读 - -```shell -curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/update_ack' \ - --data-urlencode 'talker_id=293793435' \ - --data-urlencode 'session_type=1' \ - --data-urlencode 'ack_seqno=1236306587877408' \ - --data-urlencode 'csrf=xxx' \ - --data-urlencode 'csrf_token=xxx' \ - -b 'SESSDATA=xxx' -``` - -
-查看响应示例: - -```json -{ - "code": 0, - "msg": "0", - "message": "0", - "ttl": 1, - "data": {} -} -``` - -
- ### 发送私信(web端) > From f3a09eeb6569628197f1fe3733359c325e86b784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Sun, 11 May 2025 04:42:40 +0800 Subject: [PATCH 49/66] fix(private_msg): some mistakes --- docs/message/private_msg.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index 34dfa6c..add0942 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -254,7 +254,7 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/my_group_unread' \ | session_type | num | 会话类型 | 必要 | 1:用户与系统
2:未关注人
3:粉丝团
4:所有
5:被拦截
6:花火商单
7:所有系统消息
8:陌生人(与 “未关注人” 不同,不包含官方消息)
9:关注的人与系统 | | group_fold | num | 是否折叠粉丝团消息 | 非必要 | 0:否
1:是 | | unfollow_fold | num | 是否折叠未关注人消息 | 非必要 | 0:否
1:是 | -| sort_rule | num | 排序方式 | 非必要 | 仅当 `session_type` 不为 `4`、`7` 时有效
1、2:按会话时间逆向排序
3:按已读时间逆向排序
其他:用户与系统按会话时间逆向排序,粉丝团按加群时间正向排序 | +| sort_rule | num | 排序方式 | 非必要 | 仅当 `session_type` 不为 `4`、`7` 时有效
1、2:按会话时间逆向排序
3:按已读时间逆向排序
其他:用户与系统按会话时间逆向排序,粉丝团按加入时间正向排序 | | begin_ts | num | 起始时间 | 非必要 | 微秒级时间戳 | | end_ts | num | 终止时间 | 非必要 | 微秒级时间戳 | | size | num | 返回的会话数 | 非必要 | 默认为 `20`,最大为 `100` | @@ -300,11 +300,11 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/my_group_unread' \ **示例:** -获取会话列表: +获取所有类型的会话列表: ```shell curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/get_sessions' \ - --data-urlencode 'session_type=1' \ + --data-urlencode 'session_type=4' \ --data-urlencode 'group_fold=0' \ --data-urlencode 'unfollow_fold=0' \ --data-urlencode 'sort_rule=2' \ @@ -856,8 +856,6 @@ curl -G 'https://api.vc.bilibili.com/link_setting/v1/link_setting/is_limit' \ 认证方式:Cookie(SESSDATA) -仅支持用户会话 - **url参数:** | 参数名 | 类型 | 内容 | 必要性 | 备注 | @@ -1171,7 +1169,7 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/remove_session' \ ```shell curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/set_top' \ - --data-urlencode 'talker_id=2' \ + --data-urlencode 'talker_id=293793435' \ --data-urlencode 'session_type=1' \ --data-urlencode 'op_type=0' \ --data-urlencode 'csrf=xxx' \ From c0120224eba47d278242f0fd073064e2821c6d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Sun, 11 May 2025 13:18:08 +0800 Subject: [PATCH 50/66] fix(private_msg): add missing text --- docs/message/private_msg.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index add0942..329cf68 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -6,7 +6,7 @@ | 字段 | 类型 | 内容 | 备注 | | -------------------- | ---- | -------------------------------- | --------------------------------------------------- | -| talker_id | num | 聊天对象的id | `session_type` 为 `1` 时表示 mid,为 `2` 时表示粉丝团 id | +| talker_id | num | 聊天对象的id | `session_type` 为 `1` 时表示用户 mid,为 `2` 时表示粉丝团 id | | session_type | num | 聊天对象的类型 | 1:用户
2:粉丝团 | | at_seqno | num | 最近一次未读at自己的消息的序列号 | 在粉丝团会话中有效,若没有未读的 at 自己的消息则为 `0` | | top_ts | num | 置顶该会话的时间 | 微秒级时间戳;若未置顶该会话则为 `0`;用于判断是否置顶了会话 | From 5c4490354c52b1fc7406998057642f35b09c7dee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Sun, 11 May 2025 22:13:50 +0800 Subject: [PATCH 51/66] feat(relation): add unread followers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/user/relation.md | 142 ++++++++++++++++++++++++------------------ 1 file changed, 82 insertions(+), 60 deletions(-) diff --git a/docs/user/relation.md b/docs/user/relation.md index 83d6798..1c5f401 100644 --- a/docs/user/relation.md +++ b/docs/user/relation.md @@ -24,8 +24,8 @@ | vip | obj | 会员信息 | | | name_render | 有效时:obj
无效时:null | 昵称渲染信息 | | | nft_icon | str | (?) | | -| rec_reason | str | 推荐该用户的原因 | 一般为空;如:`xxx关注了TA`、`xx粉丝 xx视频` | -| track_id | str | 内部记录id | 一般为空;如:`up_rec_0.router-main-2021485-5f84c987cf-dv8fg.1746380060327.607` | +| rec_reason | str | 推荐该用户的原因 | 大多数情况下为空;如:`xxx关注了TA`、`xx粉丝 xx视频` | +| track_id | str | 内部记录id | 大多数情况下为空;如:`up_rec_0.router-main-2021485-5f84c987cf-dv8fg.1746380060327.607` | | follow_time | str | (?) | | `list`中的对象中的`tag`数组: @@ -89,13 +89,14 @@ **url参数:** -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| ---------- | ---- | -------------- | ------------ | ------------------------------------------------------------------- | -| vmid | num | 目标用户 mid | 必要 | | -| ps | num | 每页项数 | 非必要 | 默认为 50 | -| pn | num | 页码 | 非必要 | 默认为 1 | -| offset | str | 偏移量 | 非必要 | 此项有效且不为 `rcmd` 时会从此偏移量开始返回粉丝列表,忽略参数 `pn` | -| from | str | 请求来源 | 非必要 | 当为 `main` 且目标用户为自己时,粉丝列表按照**智能推荐算法**排序,此时 `$.data.list[]` 中的 `rec_reason` 与 `track_id` 为非空 | +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +| -------------- | ---- | ---------------------- | ------------ | ------------------------------------------------------------------- | +| vmid | num | 目标用户 mid | 必要 | | +| ps | num | 每页项数 | 非必要 | 默认为 50 | +| pn | num | 页码 | 非必要 | 默认为 1 | +| offset | str | 偏移量 | 非必要 | 从上次请求的响应数据中的 `data.offset` 获取
此项有效且不为 `rcmd` 时会从此偏移量开始返回粉丝列表,忽略参数 `pn` | +| last_access_ts | num | 上次访问粉丝列表的时间 | 非必要 | 秒级时间戳,从[获取自己粉丝列表的未读状态](#获取自己粉丝列表的未读状态)接口获取
当按照**智能推荐算法**排序时,会优先展示此时间后关注的粉丝 | +| from | str | 请求来源 | 非必要 | 当为 `main` 且目标用户为自己时,粉丝列表按照**智能推荐算法**排序,此时响应数据中的 `data.list` 的成员中的 `rec_reason` 与 `track_id` 为非空 | **json回复:** @@ -153,9 +154,7 @@ curl -G 'https://api.bilibili.com/x/relation/fans' \ "mtime": 1746199088, "tag": null, "special": 0, - "contract_info": { - - }, + "contract_info": {}, "uname": "Astlinga_星灵", "face": "https://i1.hdslb.com/bfs/face/005264524d05c0b8c132acc3ee88bb839351025b.jpg", "sign": "", @@ -185,9 +184,7 @@ curl -G 'https://api.bilibili.com/x/relation/fans' \ "nickname_color": "", "avatar_subscript_url": "" }, - "name_render": { - - }, + "name_render": {}, "nft_icon": "", "rec_reason": "", "track_id": "", @@ -199,9 +196,7 @@ curl -G 'https://api.bilibili.com/x/relation/fans' \ "mtime": 1746098997, "tag": null, "special": 0, - "contract_info": { - - }, + "contract_info": {}, "uname": "JSRCode", "face": "https://i1.hdslb.com/bfs/face/f6c74700c72d27ae224c5311634b4a3770e3cdcf.jpg", "sign": "一个喜欢码代码的高中牲", @@ -231,9 +226,7 @@ curl -G 'https://api.bilibili.com/x/relation/fans' \ "nickname_color": "", "avatar_subscript_url": "" }, - "name_render": { - - }, + "name_render": {}, "nft_icon": "", "rec_reason": "", "track_id": "", @@ -325,9 +318,7 @@ curl -G 'https://api.bilibili.com/x/relation/followers' \ "mtime": 1746199088, "tag": null, "special": 0, - "contract_info": { - - }, + "contract_info": {}, "uname": "Astlinga_星灵", "face": "https://i1.hdslb.com/bfs/face/005264524d05c0b8c132acc3ee88bb839351025b.jpg", "sign": "", @@ -357,9 +348,7 @@ curl -G 'https://api.bilibili.com/x/relation/followers' \ "nickname_color": "", "avatar_subscript_url": "" }, - "name_render": { - - }, + "name_render": {}, "nft_icon": "", "rec_reason": "", "track_id": "", @@ -371,9 +360,7 @@ curl -G 'https://api.bilibili.com/x/relation/followers' \ "mtime": 1746098997, "tag": null, "special": 0, - "contract_info": { - - }, + "contract_info": {}, "uname": "JSRCode", "face": "https://i1.hdslb.com/bfs/face/f6c74700c72d27ae224c5311634b4a3770e3cdcf.jpg", "sign": "一个喜欢码代码的高中牲", @@ -403,9 +390,7 @@ curl -G 'https://api.bilibili.com/x/relation/followers' \ "nickname_color": "", "avatar_subscript_url": "" }, - "name_render": { - - }, + "name_render": {}, "nft_icon": "", "rec_reason": "", "track_id": "", @@ -420,6 +405,58 @@ curl -G 'https://api.bilibili.com/x/relation/followers' \
+### 获取自己粉丝列表的未读状态 + +> + +*请求方式:GET* + +认证方式:Cookie(SESSDATA) + +调用此接口后会重置未读状态 + +**json回复:** + +根对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------- | ---- | -------- | ----------------------------- | +| code | num | 返回值 | 0:成功
-101:账号未登录 | +| message | str | 错误信息 | 默认为 0 | +| ttl | num | 1 | | +| data | obj | 信息本体 | | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ----- | ---- | -------------------------- | ---------------------------------- | +| count | num | 自上次访问后新增的粉丝个数 | | +| time | num | 上次访问粉丝列表时间 | 秒级时间戳;当没有新增粉丝时为 `0` | + +**示例:** + +```shell +curl 'https://api.bilibili.com/x/relation/followers/unread/count' \ + -b 'SESSDATA=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "count": 55, + "time": 1743677191 + } +} +``` + +
+ ### 查询用户关注明细 > @@ -574,7 +611,7 @@ curl -G 'https://api.bilibili.com/x/relation/followings' \ *请求方式:GET* -仅可查看前 5 页,对于已设置可见性隐私关注列表的用户,`$.data.list` 为 null,且 `$.data.total` 为0 +仅可查看前 5 页,对于已设置可见性隐私关注列表的用户,响应数据中的 `data.list` 为 null,且 `data.total` 为0 **url参数:** @@ -911,9 +948,7 @@ curl -G 'https://api.bilibili.com/x/relation/followings/search' \ "mid": 53456, "attribute": 2, "mtime": 1586415053, - "tag": [ - -10 - ], + "tag": [-10], "special": 1, "uname": "Warma", "face": "https://i2.hdslb.com/bfs/face/c1bbee6d255f1e7fc434e9930f0f288c8b24293a.jpg", @@ -1039,9 +1074,7 @@ curl -G 'https://api.bilibili.com/x/relation/same/followings' \ "mid": 517717593, "attribute": 2, "mtime": 1592126052, - "tag": [ - 207542 - ], + "tag": [207542], "special": 0, "uname": "上海爱丽丝幻乐团", "face": "https://i0.hdslb.com/bfs/face/851a9191cbe93e66304d7577c0f6f83834e52109.jpg", @@ -1265,9 +1298,7 @@ curl -G 'https://api.bilibili.com/x/relation/friends' \ "mid": 24022863, "attribute": 6, "mtime": 1685026230, - "tag": [ - -10 - ], + "tag": [-10], "special": 1, "uname": "黄禄轩电脑专用账号", "face": "https://i0.hdslb.com/bfs/face/a70ec7d2a3822980a915ef4b30371af0cbc79132.jpg", @@ -1306,9 +1337,7 @@ curl -G 'https://api.bilibili.com/x/relation/friends' \ "mid": 85438718, "attribute": 6, "mtime": 1684759843, - "tag": [ - 194110 - ], + "tag": [194110], "special": 0, "uname": "忘忧北萱草Official", "face": "https://i2.hdslb.com/bfs/face/68d8cba01aab907dbb2cf2e17074f20947156237.jpg", @@ -1667,9 +1696,9 @@ curl 'https://api.bilibili.com/x/relation/batch/modify' \ | 字段 | 类型 | 内容 | 备注 | | --------- | --------------------------------------- | ------------ | -------------------------------------------------------- | | mid | num | 目标用户 mid | | -| attribute | num | 关系属性 | 0:未关注
2:已关注
6:已互粉
128:已拉黑 | +| attribute | num | 关系属性 | 0:未关注
~~1:悄悄关注(已弃用)~~
2:已关注
6:已互粉
128:已拉黑 | | mtime | num | 关注对方时间 | 时间戳
未关注为 0 | -| tag | null默认分组
array存在至少一个分组 | 分组 id | | +| tag | 默认分组:null
存在至少一个分组:array | 分组 id | | | special | num | 特别关注标志 | 0:否
1:是 | `tag`数组: @@ -1706,7 +1735,7 @@ curl 'https://api.bilibili.com/x/relation/batch/modify' \ | ttl | num | 1 | | | data | obj | 信息本体 | 详见 [关系属性对象](#关系属性对象) | -`data`对象:**示例:** +**示例:** 可得对于`mid=258150656`的用户,在`2018/10/28 0:51:41`时关注,且设为特别关注,并位于为`-10`分组中 @@ -1804,21 +1833,14 @@ curl -G 'https://api.bilibili.com/x/space/acc/relation' \ "mid": 15858903, "attribute": 6, "mtime": 1548311059, - "tag": [ - -10, - 194110, - 248468 - ], + "tag": [-10, 194110, 248468], "special": 1 }, "be_relation": { "mid": 293793435, "attribute": 6, "mtime": 1548311059, - "tag": [ - 56502, - -10 - ], + "tag": [56502, -10], "special": 1 } } @@ -1945,7 +1967,7 @@ curl -G 'https://api.bilibili.com/x/relation/relations' \ | 字段 | 类型 | 内容 | 备注 | | ----- | ---- | ---------- | ---- | -| tagid | num | 分组 id | -10:特别关注
0:默认分组 | +| tagid | num | 分组 id | -10:特别关注
0:默认分组 | | name | str | 分组名称 | | | count | num | 分组成员数 | | | tip | str | 提示信息 | | @@ -2014,7 +2036,7 @@ curl 'https://api.bilibili.com/x/relation/tags' \ | 参数名 | 类型 | 内容 | 必要性 | 备注 | | ---------- | ---- | -------------- | ------------ | ------------------------------------------------------- | | access_key | str | APP 登录 Token | APP 方式必要 | | -| tagid | num | 分组 id | 必要 | | +| tagid | num | 分组 id | 必要 | 0:默认分组
-10:特别关注
-20:所有 | | order_type | str | 排序方式 | 非必要 | 按照关注顺序排列:留空
按照最常访问排列:attention | | ps | num | 每页项数 | 非必要 | 默认为 20 | | pn | num | 页数 | 非必要 | 默认为1 | From 75d599714e2d943bcf9c38a23612ad69bea888aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Tue, 13 May 2025 02:29:21 +0800 Subject: [PATCH 52/66] feat(relation): add `re_src` details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/private_msg.md | 2 ++ docs/user/relation.md | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index 329cf68..4ca619d 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -480,6 +480,8 @@ curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/get_sessions' \ 获取指定时间之后的新会话列表 +注:该接口默认每 20 秒请求一次 + **url参数:** | 参数名 | 类型 | 内容 | 必要性 | 备注 | diff --git a/docs/user/relation.md b/docs/user/relation.md index 1c5f401..6b5d143 100644 --- a/docs/user/relation.md +++ b/docs/user/relation.md @@ -1564,7 +1564,7 @@ curl -G 'https://api.bilibili.com/x/relation/blacks' \ | access_key | str | APP 登录 Token | APP 方式必要 | | | fid | num | 目标用户mid | 必要 | | | act | num | 操作代码 | 必要 | **操作代码见下表** | -| re_src | num | 关注来源代码 | 必要 | 空间:11
视频:14
文章:115
活动页面:222 | +| re_src | num | 关注来源代码 | 非必要 | 包月充电:1
个人空间:11
视频:14
评论区:15
视频播放器结束页面:17
H5推荐关注:58
H5关注列表:106
H5粉丝列表:107
专栏:115
私信:118
搜索:120
视频播放器左上角关注按钮:164
H5共同关注:167
创作激励计划:192
活动页面:222
联合投稿视频:229
消息中心点赞详情:235
视频播放器关注弹幕:245 | | csrf | str | CSRF Token(位于 Cookie) | Cookie 方式必要 | | 操作代码`act`: @@ -1573,7 +1573,7 @@ curl -G 'https://api.bilibili.com/x/relation/blacks' \ | ---- | ------------ | ------------------------------------------------ | | 1 | 关注 | 无法对已注销或不存在的用户进行此操作 | | 2 | 取关 | | -| 3 | 悄悄关注 | 现已下线,使用本操作代码请求接口会提示“请求错误” | +| 3 | 悄悄关注 | **现已下线**,使用本操作代码请求接口会提示“请求错误” | | 4 | 取消悄悄关注 | | | 5 | 拉黑 | 无法对已注销或不存在的用户进行此操作 | | 6 | 取消拉黑 | | @@ -1632,7 +1632,7 @@ curl 'https://api.bilibili.com/x/relation/modify' \ | access_key | str | APP 登录 Token | APP 方式必要 | | | fids | nums | 目标用户 mid 列表 | 必要 | 每个成员之间用 `,` 间隔,最多 50 个成员,不能包含自己的 mid | | act | num | 操作代码 | 必要 | 同上
仅可为 1 或 5,故只能进行批量关注和拉黑 | -| re_src | num | 关注来源代码 | 必要 | 同上 | +| re_src | num | 关注来源代码 | 非必要 | 同上 | | csrf | str | CSRF Token(位于 Cookie) | Cookie 方式必要 | | **json回复:** From 450d38b55751b45570f5aea31c5f82f6dc463d3c Mon Sep 17 00:00:00 2001 From: OPPO9008 <41640509+OPPO9008@users.noreply.github.com> Date: Tue, 13 May 2025 15:55:55 +0800 Subject: [PATCH 53/66] Update detail.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 缺失features=itemOpusStyle部分动态会报错500 --- docs/dynamic/detail.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dynamic/detail.md b/docs/dynamic/detail.md index 8692e8b..a0bb866 100644 --- a/docs/dynamic/detail.md +++ b/docs/dynamic/detail.md @@ -18,7 +18,7 @@ | timezone_offset | num | -480 | 非必要 | | | platform | str | 平台 | 非必要 | `web` | | gaia_source | str | 来源 | 非必要 | `main_web` | -| features | str | 功能 | 非必要 | `itemOpusStyle,opusBigCover,onlyfansVote,endFooterHidden,decorationCard,onlyfansAssetsV2,ugcDelete,onlyfansQaCard,commentsNewVersion` | +| features | str | 功能 | 必要 | `itemOpusStyle,opusBigCover,onlyfansVote,endFooterHidden,decorationCard,onlyfansAssetsV2,ugcDelete,onlyfansQaCard,commentsNewVersion` | | web_location | str | `333.1368` | 非必要 | | | x-bili-device-req-json | obj | 设备信息? | 非必要 | `{"platform":"web","device":"pc"}` | | x-bili-web-req-json | obj | 请求信息? | 非必要 | `{"spm_id":"333.1368"}` | From ad7fe656f79bd203406d81ecc60fd22d89240e68 Mon Sep 17 00:00:00 2001 From: dingjinghui Date: Wed, 14 May 2025 11:53:12 +0800 Subject: [PATCH 54/66] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E6=B8=85=E6=99=B0=E5=BA=A6=E6=A0=87=E8=AF=86-100-?= =?UTF-8?q?=E6=99=BA=E8=83=BD=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/video/videostream_url.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/video/videostream_url.md b/docs/video/videostream_url.md index 4ed5ea3..304e617 100644 --- a/docs/video/videostream_url.md +++ b/docs/video/videostream_url.md @@ -18,6 +18,7 @@ | 64 | 720P 高清 | WEB 端默认值
~~B站前端需要登录才能选择,但是直接发送请求可以不登录就拿到 720P 的取流地址~~
**无 720P 时则为 720P60** | | 74 | 720P60 高帧率 | 登录认证 | | 80 | 1080P 高清 | TV 端与 APP 端默认值
登录认证 | +| 100 | 智能修复 | 人工智能增强画质
大会员认证 | 112 | 1080P+ 高码率 | 大会员认证 | | 116 | 1080P60 高帧率 | 大会员认证 | | 120 | 4K 超清 | 需要`fnval&128=128`且`fourk=1`
大会员认证 | From ac79452058f9fcebfdc3c54e1a8938eea3495492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Thu, 15 May 2025 23:26:25 +0800 Subject: [PATCH 55/66] fix(private_msg_content): invalid bold syntax --- docs/message/private_msg_content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/message/private_msg_content.md b/docs/message/private_msg_content.md index e2af0f3..21a5deb 100644 --- a/docs/message/private_msg_content.md +++ b/docs/message/private_msg_content.md @@ -167,8 +167,8 @@ **按钮显示逻辑说明:** -- **按钮的url:**首先尝试读取 `jump_uri_config`、`jump_uri_2_config`、`jump_uri_3_config` 对象中表示当前设备类型的 url(如 `web_uri`、`android_uri` 等);若为空值,则尝试读取 `jump_uri_config`、`jump_uri_2_config`、`jump_uri_3_config` 对象中 `all_uri` 的值;若仍为空值,则读取根对象中 `jump_uri`、`jump_uri_2`、`jump_uri_3` 的值;若仍为空值,则不显示该按钮(无论提示文字是否为空) -- **按钮提示文字:**若按钮是可见的,则先尝试读取 `jump_uri_config`、`jump_uri_2_config`、`jump_uri_3_config` 对象中 `text` 的值;若为空值,则读取根对象中 `jump_text`、`jump_text_2`、`jump_text_3` 的值;若仍为空值,则提示文字为 `查看详情` +- **按钮的url**:首先尝试读取 `jump_uri_config`、`jump_uri_2_config`、`jump_uri_3_config` 对象中表示当前设备类型的 url(如 `web_uri`、`android_uri` 等);若为空值,则尝试读取 `jump_uri_config`、`jump_uri_2_config`、`jump_uri_3_config` 对象中 `all_uri` 的值;若仍为空值,则读取根对象中 `jump_uri`、`jump_uri_2`、`jump_uri_3` 的值;若仍为空值,则不显示该按钮(无论提示文字是否为空) +- **按钮提示文字**:若按钮是可见的,则先尝试读取 `jump_uri_config`、`jump_uri_2_config`、`jump_uri_3_config` 对象中 `text` 的值;若为空值,则读取根对象中 `jump_text`、`jump_text_2`、`jump_text_3` 的值;若仍为空值,则提示文字为 `查看详情` 根对象: From af1fdba3985599286c68764d74cfbf2d5816f346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Fri, 16 May 2025 00:28:02 +0800 Subject: [PATCH 56/66] fix(private_msg): missing end tags & wrong request method MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- docs/message/private_msg.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/message/private_msg.md b/docs/message/private_msg.md index 4ca619d..0baf0b4 100644 --- a/docs/message/private_msg.md +++ b/docs/message/private_msg.md @@ -145,7 +145,7 @@ 以下信息代表未读未关注用户私信数为 `1` 条,未读已关注用户私信数为 `6` 条 ```shell -curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \ +curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \ --data-urlencode 'unread_type=0' \ --data-urlencode 'show_unfollow_list=1' \ --data-urlencode 'show_dustbin=1' \ @@ -216,7 +216,7 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread' \ 以下信息代表未读粉丝团私信数为 `497` 条 ```shell -curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/my_group_unread' \ +curl -G 'https://api.vc.bilibili.com/session_svr/v1/session_svr/my_group_unread' \ --data-urlencode 'build=0' \ --data-urlencode 'mobi_app=web' \ -b 'SESSDATA=xxx' @@ -1376,6 +1376,8 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/update_intercept' \ } ``` +
+ ### 设置所有拦截会话为已读 > @@ -1427,6 +1429,8 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/batch_update_dustbi } ``` +
+ ### 移除所有拦截会话 > @@ -1478,6 +1482,8 @@ curl 'https://api.vc.bilibili.com/session_svr/v1/session_svr/batch_rm_dustbin' \ } ``` +
+ ## 私信消息相关 ### 查询私信消息记录 From 3a2c9ce62cc25c9b12a8b42c21a5c7cbb2bf68c6 Mon Sep 17 00:00:00 2001 From: pskdje <77605497+pskdje@users.noreply.github.com> Date: Fri, 16 May 2025 11:32:59 +0800 Subject: [PATCH 57/66] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=9B=B4=E6=92=AD?= =?UTF-8?q?=E9=97=B4=E7=AE=A1=E7=90=86=E6=96=87=E6=A1=A3=EF=BC=8C=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=BC=80=E5=85=B3=E6=92=AD=E5=93=8D=E5=BA=94=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 重命名 更新直播间标题 → 更新直播间信息 删除 编辑直播间标签 将“编辑直播间标签”的内容合并到“更新直播间信息” https://github.com/SocialSisterYi/bilibili-API-collect/issues/1277 --- docs/live/manage.md | 359 ++++++++++++++++++++++++-------------------- 1 file changed, 195 insertions(+), 164 deletions(-) diff --git a/docs/live/manage.md b/docs/live/manage.md index 2111097..8150b28 100644 --- a/docs/live/manage.md +++ b/docs/live/manage.md @@ -78,7 +78,7 @@ curl 'https://api.live.bilibili.com/xlive/app-blink/v1/preLive/CreateRoom' \ -## 更新直播间标题 +## 更新直播间信息 > https://api.live.bilibili.com/room/v1/Room/update @@ -92,10 +92,15 @@ curl 'https://api.live.bilibili.com/xlive/app-blink/v1/preLive/CreateRoom' \ | 参数名 | 类型 | 内容 | 必要性 | 备注 | | ------- | ---- | ------------------------ | ------ | -------------------- | -| room_id | num | 直播间id | 必要 | 必须为自己的直播间id | -| title | str | 直播间标题 | | 最大20字符 | | csrf | str | CSRF Token(位于cookie) | 必要 | | -| csrf_token | str | CSRF Token(位于 cookie) | | | +| csrf_token | str | CSRF Token(位于 cookie) | 非必要 | | +| platform | str | 平台标识 | 非必要 | | +| visit_id | str | (?) | 非必要 | 某种标识? | +| room_id | num | 直播间id | 必要 | 必须为自己的直播间id | +| title | str | 直播间标题 | 非必要 | 上限40个字符 | +| area\_id | num | 直播分区id(子分区id) | 非必要 | 详见[直播分区](live_area.md) | +| add\_tag | str | 要添加的标签 | 非必要 | 开播设置界面上限10个字符 | +| del\_tag | str | 要删除的标签 | 非必要 | 若存在`add_tag`时不起作用 | **json回复:** @@ -103,10 +108,26 @@ curl 'https://api.live.bilibili.com/xlive/app-blink/v1/preLive/CreateRoom' \ | 字段 | 类型 | 内容 | 备注 | | ------- | ------ | -------- | ------------------------------------------------------ | -| code | num | 返回值 | 0:成功
65530:token错误(登录错误)
1:错误 | +| code | num | 返回值 | 0:成功
-1:操作太频繁
1:错误
3:未登录或鉴权失败
405:不允许的请求方法
60009:分区已下线
65530:token错误(登录错误)
| | msg | str | 错误信息 | 默认为ok | | message | str | 错误信息 | 默认为ok | -| data | array | 空 | | +| data | obj | 信息本体 | 部分失败情况下是`[]`(空数组) | + +`data`对象: + +| 字段 | 类型 | 内容 | 备注 | +| --------------- | ---- | ---- | ---- | +| sub_session_key | str | 信息变动标识 | | +| audit_info | obj | 标题审核信息 | | + +`data`中的`audit_info`对象: + +| 字段 | 类型 | 内容 | 备注 | +| ------------------ | ---- | ---- | ---- | +| audit_title_reason | str | 标题审核提示 | | +| audit_title_status | num | 标题审核状态 | | +| audit_title | str | 被审核的标题 | 更新标题时存在 | +| update_title | str | `""` | 作用尚不明确 | **示例:** @@ -114,10 +135,10 @@ curl 'https://api.live.bilibili.com/xlive/app-blink/v1/preLive/CreateRoom' \ ```shell curl 'https://api.live.bilibili.com/room/v1/Room/update' \ ---data-urlencode 'room_id=10352053' \ ---data-urlencode 'title=测试' \ ---data-urlencode 'csrf=xxx' \ --b 'SESSDATA=xxx;bili_jct=xx' + --data-urlencode 'room_id=10352053' \ + --data-urlencode 'title=测试' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx;bili_jct=xx' ```
@@ -125,10 +146,111 @@ curl 'https://api.live.bilibili.com/room/v1/Room/update' \ ```json { - "code": 0, - "msg": "ok", - "message": "ok", - "data": [] + "code":0, + "msg":"ok", + "message":"ok", + "data":{ + "sub_session_key":"", + "audit_info":{ + "audit_title_reason":"先发后审", + "update_title":"", + "audit_title_status":2, + "audit_title":"测试" + } + } +} +``` + +
+ +修改直播间`10352053`分区为`40` + +```shell +curl 'https://api.live.bilibili.com/room/v1/Room/update' \ + --data-urlencode 'room_id=10352053' \ + --data-urlencode 'area_id=40' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx;bili_jct=xx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "ok", + "message": "ok", + "data": { + "sub_session_key": "", + "audit_info": { + "audit_title_reason": "", + "update_title": "", + "audit_title_status": 0 + } + } +} +``` + +
+ +给直播间`11996900`添加一个标签为`测试标签` + +```shell +curl 'https://api.live.bilibili.com/room/v1/Room/update' \ + --data-urlencode 'room_id=11996900' \ + --data-urlencode 'add_tag=测试标签' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx;bili_jct=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "ok", + "message": "ok", + "data": { + "sub_session_key": "", + "audit_info": { + "audit_title_reason": "", + "update_title": "", + "audit_title_status": 0 + } + } +} +``` + +
+ +给直播间`11996900`删除内容为`测试标签`的标签 + +```shell +curl 'https://api.live.bilibili.com/room/v1/Room/update' \ + --data-urlencode 'room_id=11996900' \ + --data-urlencode 'del_tag=测试标签' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx;bili_jct=xxx' +``` + +
+查看响应示例: + +```json +{ + "code": 0, + "msg": "ok", + "message": "ok", + "data": { + "sub_session_key": "", + "audit_info": { + "audit_title_reason": "", + "update_title": "", + "audit_title_status": 0 + } + } } ``` @@ -152,7 +274,7 @@ curl 'https://api.live.bilibili.com/room/v1/Room/update' \ | -------- | ---- | ------------------------ | ------ | ----------------------------------- | | room_id | num | 直播间id | 必要 | 必须为自己的直播间id | | area_v2 | num | 直播分区id(子分区id) | 必要 | 详见[直播分区](live_area.md) | -| platform | str | 直播平台 | 必要 | 直播姬(pc):pc_link
web端:
bililink:android_link | +| platform | str | 直播平台 | 必要 | 直播姬(pc):pc_link
web在线直播:web_link
bililink:android_link | | csrf | str | CSRF Token(位于cookie) | 必要 | | **json回复:** @@ -171,13 +293,19 @@ curl 'https://api.live.bilibili.com/room/v1/Room/update' \ | 字段 | 类型 | 内容 | 备注 | | --------- | ----- | ---------------- | ---------------------- | | change | num | 是否改变状态 | 0:未改变
1:改变 | -| status | str | LIVE | | +| status | str | 直播间状态 | `LIVE` | | room_type | num | 0 | 作用尚不明确 | | rtmp | obj | RTMP推流地址信息 | | | protocols | array | ??? | 作用尚不明确 | | try_time | str | ??? | 作用尚不明确 | -| live_key | str | ??? | 作用尚不明确 | +| live_key | str | 标记直播场次的key | | +| sub_session_key | str | 信息变动标识 | | | notice | obj | ??? | 作用尚不明确 | +| qr | str | `""` | 作用尚不明确 | +| need_face_auth | bool | 需要人脸识别? | 作用尚不明确 | +| service_source | str | ??? | 作用尚不明确 | +| rtmp\_backup | null | ??? | 作用尚不明确 | +| up_stream_extra | obj | 主播推流额外信息? | | `data`中的`rtmp`对象: @@ -215,6 +343,12 @@ curl 'https://api.live.bilibili.com/room/v1/Room/update' \ | button_text | str | 空 | 作用尚不明确 | | button_url | str | 空 | 作用尚不明确 | +`data`中的`up_stream_extra`对象: + +| 字段 | 类型 | 内容 | 备注 | +| --- | --- | --- | --- | +| isp | str | 主播的互联网服务提供商 | | + **示例:** 以`27`作为分区id开播直播间`10352053` @@ -237,39 +371,47 @@ curl 'https://api.live.bilibili.com/room/v1/Room/startLive' \ ```json { - "code": 0, - "msg": "", - "message": "", - "data": { - "change": 1, - "status": "LIVE", - "room_type": 0, - "rtmp": { - "addr": "rtmp://txy.live-send.acg.tv/live-txy/", - "code": "?streamname=live_293793435_1567354&key=***", - "new_link": "http://tcdns.myqcloud.com:8086/bilibili_redirect?up_rtmp=txy.live-send.acg.tv%2Flive-txy%2F%3Fstreamname%3Dlive_293793435_1567354%26key%3D***", - "provider": "txy" - }, - "protocols": [ - { - "protocol": "rtmp", - "addr": "rtmp://txy.live-send.acg.tv/live-txy/", - "code": "?streamname=live_293793435_1567354&key=***", - "new_link": "http://tcdns.myqcloud.com:8086/bilibili_redirect?up_rtmp=txy.live-send.acg.tv%2Flive-txy%2F%3Fstreamname%3Dlive_293793435_1567354%26key%3D***", - "provider": "txy" - } - ], - "try_time": "0000-00-00 00:00:00", - "live_key": "l:one:live:record:10352053:1589344980", - "notice": { - "type": 1, - "status": 0, - "title": "", - "msg": "", - "button_text": "", - "button_url": "" - } + "code": 0, + "data":{ + "change": 1, + "status": "LIVE", + "try_time": "0000-00-00 00:00:00", + "room_type": 0, + "live_key": "608336837537435443", + "sub_session_key": "608336837537435443sub_time:1747292297", + "rtmp":{ + "type": 1, + "addr": "rtmp://live-push.bilivideo.com/live-bvc/", + "code": "?streamname=live_348892132_32373699\u0026key=e03061d4a7529d8eaa322dc4d330ca1c\u0026schedule=rtmp\u0026pflag=11", + "new_link": "https://core.bilivideo.com/video/uplinkcore/selfbuild/schedule?up_rtmp=live-push.bilivideo.com%2Flive-bvc%2F%3Fstreamname%3Dlive_348892132_32373699%26key%3De73061d8a7539d8eaa233dc4d880ca1c%26schedule%3Drtmp%26pflag%3D11\u0026edge=edge", + "provider": "live" + }, + "protocols":[ + { + "protocol": "rtmp", + "addr": "rtmp://live-push.bilivideo.com/live-bvc/","code":"?streamname=live_348892132_32373699\u0026key=e73061d4a1002d8eaa322dc4d880ca1c\u0026schedule=rtmp\u0026pflag=11", + "new_link": "https://core.bilivideo.com/video/uplinkcore/selfbuild/schedule?up_rtmp=live-push.bilivideo.com%2Flive-bvc%2F%3Fstreamname%3Dlive_348892132_32373699%26key%3De10298d4a7539d8eaa322dc4d220ca1c%26schedule%3Drtmp%26pflag%3D11\u0026edge=edge", + "provider": "txy" + } + ], + "notice":{ + "type": 1, + "status": 0, + "title": "", + "msg": "", + "button_text": "", + "button_url": "" + }, + "qr": "", + "need_face_auth": false, + "service_source": "live-streaming", + "rtmp_backup": null, + "up_stream_extra":{ + "isp": "电信" } + }, + "message": "", + "msg": "" } ``` @@ -308,7 +450,7 @@ curl 'https://api.live.bilibili.com/room/v1/Room/startLive' \ | 字段 | 类型 | 内容 | 备注 | | ------ | ---- | ------------ | ---------------------- | | change | num | 是否改变状态 | 0:未改变
1:改变 | -| status | str | PREPARING | | +| status | str | 直播间状态 | `PREPARING`、`ROUND` | **示例:** @@ -316,9 +458,9 @@ curl 'https://api.live.bilibili.com/room/v1/Room/startLive' \ ```shell curl 'https://api.live.bilibili.com/room/v1/Room/stopLive' \ ---data-urlencode 'room_id=10352053' \ ---data-urlencode 'csrf=xxx' \ --b 'SESSDATA=xxx;bili_jct=xxx' + --data-urlencode 'room_id=10352053' \ + --data-urlencode 'csrf=xxx' \ + -b 'SESSDATA=xxx;bili_jct=xxx' ```
@@ -397,114 +539,3 @@ curl 'https://api.live.bilibili.com/xlive/app-blink/v1/index/updateRoomNews' \ ```
- -## 编辑直播间标签 - -> https://api.live.bilibili.com/room/v1/Room/update - -*请求方式:POST* - -认证方式:Cookie(SESSDATA) - -鉴权方式:Cookie中`bili_jct`的值正确并与`csrf`相同 - -**正文参数( application/x-www-form-urlencoded ):** - -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| ------- | ---- | ------------------------ | ------ | -------------------- | -| room_id | num | 直播间id | 必要 | 必须为自己的直播间id | -| add_tag | str | 要添加的标签 | 必要 | 最大10个字符 | -| del_tag | str | 要删除的标签 | 必要 | | -| csrf | str | CSRF Token(位于cookie) | 必要 | | -| csrf_token | str | CSRF Token(位于 cookie) | | | - -**json回复:** - -根对象: - -| 字段 | 类型 | 内容 | 备注 | -| ------- | ---- | -------- | ------------------------------------------------------ | -| code | num | 返回值 | 0:成功
65530:token错误(登录错误)
1:错误 | -| data | obj | | | -| message | str | 错误信息 | 默认为ok | -| msg | str | 错误信息 | 默认为ok | - -`data`对象: - -| 字段 | 类型 | 内容 | 备注 | -| --------------- | ---- | ---- | ---- | -| audit_info | obj | | | -| sub_session_key | str | | | - -`data`中的`audit_info`对象: - -| 字段 | 类型 | 内容 | 备注 | -| ------------------ | ---- | ---- | ---- | -| audit_title_reason | str | | | -| audit_title_status | num | 0 | | -| update_title | str | | | - -**示例:** - -给直播间`11996900`添加一个标签为`测试标签` - -```shell -curl 'https://api.live.bilibili.com/room/v1/Room/update' \ ---data-urlencode 'room_id=11996900' \ ---data-urlencode 'add_tag=测试标签' \ ---data-urlencode 'csrf_token=xxx' \ ---data-urlencode 'csrf=xxx' \ --b 'SESSDATA=xxx;bili_jct=xxx' -``` - -
-查看响应示例: - -```json -{ - "code": 0, - "msg": "ok", - "message": "ok", - "data": { - "sub_session_key": "", - "audit_info": { - "audit_title_reason": "", - "update_title": "", - "audit_title_status": 0 - } - } -} -``` -
- -给直播间`11996900`删除内容为`测试标签`的标签 - -```shell -curl 'https://api.live.bilibili.com/room/v1/Room/update' \ ---data-urlencode 'room_id=11996900' \ ---data-urlencode 'del_tag=测试标签' \ ---data-urlencode 'csrf_token=xxx' \ ---data-urlencode 'csrf=xxx' \ --b 'SESSDATA=xxx;bili_jct=xxx' -``` - -
-查看响应示例: - -```json -{ - "code": 0, - "msg": "ok", - "message": "ok", - "data": { - "sub_session_key": "", - "audit_info": { - "audit_title_reason": "", - "update_title": "", - "audit_title_status": 0 - } - } -} -``` - -
From 6d0a990ea9ab6fe581ed5feabf6544a1f81210d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Wed, 21 May 2025 01:46:04 +0800 Subject: [PATCH 58/66] fix(live_bill): style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 晨叶梦春 <65224318+wuziqian211@users.noreply.github.com> --- {live => docs/live}/live_bill.md | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) rename {live => docs/live}/live_bill.md (96%) diff --git a/live/live_bill.md b/docs/live/live_bill.md similarity index 96% rename from live/live_bill.md rename to docs/live/live_bill.md index c9028dc..16c07fd 100644 --- a/live/live_bill.md +++ b/docs/live/live_bill.md @@ -1,8 +1,5 @@ # 直播流水 -- [获取所有礼物列表](#获取所有礼物列表) -- [获取流水](#获取流水) - ## 获取所有礼物列表 > https://api.live.bilibili.com/gift/v1/master/getGiftTypes @@ -35,7 +32,7 @@
查看响应示例: -```json +```jsonc { "code": 0, "msg": "success", @@ -127,15 +124,13 @@ "price": 0, "gift_name": "粉丝团灯牌" }, - ... + // ... ] } ```
---- - ## 获取流水 > https://api.live.bilibili.com/xlive/revenue/v1/giftStream/getReceivedGiftStreamNextList @@ -147,13 +142,13 @@ 请求参数: | 参数名 | 类型 | 内容 | 必要性 | 备注 | -| ---------- | ------------- | ----------------------- | ---------- | +| ---------- | ------------- | ----------------------- | ---------- | -------------------------------------- | | limit | num | 一页有多少条目 | 必要 | | | coin_type | num | 礼物类型 | 必要 | 0 为所有,1 为电池礼物,2 为银瓜子礼物 | | begin_time | date / string | 流水的日期 | 必要 | 格式为 yyyy-MM-dd | | uname | string | 筛选的用户名 | 非必要 | | | last_id | num | 上一页页末的礼物列表 id | 翻页时必要 | 见下方 `list` 数组说明 | -| gift_id | num | 筛选的礼物 id | | +| gift_id | num | 筛选的礼物 id | | | 请求示例:`https://api.live.bilibili.com/xlive/revenue/v1/giftStream/getReceivedGiftStreamNextList?limit=20&coin_type=0&begin_time=2023-01-01` @@ -175,8 +170,8 @@ | 字段 | 类型 | 内容 | 备注 | | ------------- | ----- | -------------- | -------------- | | has_more | num | 是否由下一页 | 1 为是,0 为否 | -| total_hamster | num | 总的金仓鼠收益 | -| list | array | 礼物列表 | +| total_hamster | num | 总的金仓鼠收益 | | +| list | array | 礼物列表 | | `list` 数组: @@ -190,8 +185,8 @@ | gift_img | str | 礼物图片链接 | | | gift_num | num | 礼物数量 | | | hamster | num | 金仓鼠数量 | | -| gold | num | 礼物价值(金瓜子) | -| silver | num | 礼物价值(银瓜子) | +| gold | num | 礼物价值(金瓜子) | | +| silver | num | 礼物价值(银瓜子) | | | ios_hamster | num | 由 iOS 端送出的礼物所收到的金仓鼠 | | | normal_hamster | num | 一般情况下收到的金仓鼠 | | | ios_gold | num | 由 iOS 端送出的礼物所收到的金瓜子数量 | | From d92d65bfcd0d9f35ff96b7c0cde61d4c6921a837 Mon Sep 17 00:00:00 2001 From: watermelon <76525576+watermelon1024@users.noreply.github.com> Date: Sat, 24 May 2025 17:44:21 +0800 Subject: [PATCH 59/66] =?UTF-8?q?feat:=20=E8=A1=A5=E9=BD=90=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E5=99=A8=E6=8E=A5=E5=8F=A3=E7=9A=84=E4=BA=92=E5=8A=A8?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E8=B5=84=E8=AE=AF=20(#1244)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 补齐播放器接口的互动视频资讯 * feat: 更新互动视频的剧情图id取得方法 --------- Co-authored-by: Session小胡 <102411014+SessionHu@users.noreply.github.com> --- docs/video/interact_video.md | 4 ++-- docs/video/player.md | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/video/interact_video.md b/docs/video/interact_video.md index 103bf2f..c87892d 100644 --- a/docs/video/interact_video.md +++ b/docs/video/interact_video.md @@ -16,7 +16,7 @@ | ------------- | ---- | -------- | ------------ | ------------------ | | aid | num | 稿件avid | 必要(可选) | avid与bvid任选一个 | | bvid | str | 稿件bvid | 必要(可选) | avid与bvid任选一个 | -| graph_version | num | 剧情图id | 必要 | 位于`player.so`中 | +| graph_version | num | 剧情图id | 必要 | 可于[播放器](/docs/video/player.md)接口的 `interaction` 對象取得 | | edge_id | num | 模块编号 | 非必要 | 0或留空为起始模块 | **json回复:** @@ -366,4 +366,4 @@ curl -G 'https://api.bilibili.com/x/stein/edgeinfo_v2' \ } ``` -
\ No newline at end of file +
diff --git a/docs/video/player.md b/docs/video/player.md index 5b18cdf..66bce57 100644 --- a/docs/video/player.md +++ b/docs/video/player.md @@ -61,6 +61,7 @@ web 播放器的信息接口,提供正常播放需要的元数据,包括: | online_count | num | 在线人数 | | | need_login_subtitle | bool | 是否必须登陆才能查看字幕 | 是的 | | preview_toast | str | `为创作付费,购买观看完整视频\|购买观看` | | +| interaction | obj | 互动视频资讯 | 若非互动视频,则无该栏位(直接没有该键,而非栏位值为空)| | options | obj | | | | guide_attention | any | | | | jump_card | any | | | @@ -139,6 +140,16 @@ web 播放器的信息接口,提供正常播放需要的元数据,包括: | team_type | str | | | | team_name | str | | | +`data` 对象中的 `interaction` 对象 (如果有): + +| 字段 | 类型 | 内容 | 备注 | +| --------- | ----- | -------- | ---- | +| graph_version | num | 剧情图id | | +| msg | str | | 未登入有机会返回 `登录后才能体验全部结局哦~` | +| error_toast | str | 错误信息? | 所有互动视频皆返回 `剧情图被修改已失效`,不确定有没有例外 | +| mark | num | 0? | | +| need_reload | num | 0? | | + `data`对象中的`elec_high_level`对象: | 字段 | 类型 | 内容 | 备注 | From 5865720b9504840dcbf767e66fb359343405572b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BD=A9=E6=9F=90Rikka?= <121035454+XuanRikka@users.noreply.github.com> Date: Sun, 25 May 2025 09:48:21 +0800 Subject: [PATCH 60/66] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E9=BB=91=E5=90=8D=E5=8D=95=E6=98=8E=E7=BB=86=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E6=AF=8F=E9=A1=B5=E9=A1=B9=E6=95=B0=E7=9A=84=E5=A4=87?= =?UTF-8?q?=E6=B3=A8=20(#1118)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [~] 修改查询黑名单明细中的每页项数的备注 * Update relation.md --- docs/user/relation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/relation.md b/docs/user/relation.md index 6b5d143..83d07d7 100644 --- a/docs/user/relation.md +++ b/docs/user/relation.md @@ -1433,7 +1433,7 @@ curl -G 'https://api.bilibili.com/x/relation/friends' \ | 参数名 | 类型 | 内容 | 必要性 | 备注 | | ---------- | ---- | -------------- | ------------ | --------- | | access_key | str | APP 登录 Token | APP 方式必要 | | -| ps | num | 每页项数 | 非必要 | 默认为 50 | +| ps | num | 每页项数 | 非必要 | 默认为 50,且最多为50,大于50则按50输出 | | pn | num | 页码 | 非必要 | 默认为 1 | **json回复:** From f0e347076d58a1596b6ce6c86bcc217edd5b8b11 Mon Sep 17 00:00:00 2001 From: SYTDEBF <15996313311@163.com> Date: Sat, 31 May 2025 10:03:46 +0800 Subject: [PATCH 61/66] =?UTF-8?q?=E5=B7=B2=E6=9B=B4=E6=94=B9=E4=B8=BAjsonc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/video/info.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/video/info.md b/docs/video/info.md index 2ba671f..1b1a5ee 100644 --- a/docs/video/info.md +++ b/docs/video/info.md @@ -283,7 +283,7 @@ `ugc_season`示例 -```json +```jsonc "ugc_season": { "id": 2974525, "title": "楚汉传奇", From 438d1a76d5bbf2fdec2c6852c375da380bb6a79a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Sun, 1 Jun 2025 13:12:30 +0800 Subject: [PATCH 62/66] fix(user/space): style --- docs/user/space.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/user/space.md b/docs/user/space.md index 3abf26c..6de64c5 100644 --- a/docs/user/space.md +++ b/docs/user/space.md @@ -2781,13 +2781,14 @@ curl -G 'https://api.bilibili.com/x/space/arc/search' \ ### 查询用户投稿明细(APP、无需wbi鉴权) - > https://app.biliapi.com/x/v2/space/archive/cursor *请求方式:GET* 可以获取APP端可获得的用户空间投稿所有信息 + APP端请求对web端包容度最高,无需Cookie以外的任何认证,只需填写vmid即可查询 + 认证方式:Cookie 或 APP **url参数:** From bf0ca39c49ebadd7a69ac89f6858d938a8cdfb7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Sun, 1 Jun 2025 13:16:13 +0800 Subject: [PATCH 63/66] fix(user/space): style --- docs/user/space.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/user/space.md b/docs/user/space.md index 1d4e115..b06bdb3 100644 --- a/docs/user/space.md +++ b/docs/user/space.md @@ -2781,13 +2781,14 @@ curl -G 'https://api.bilibili.com/x/space/arc/search' \ ### 查询用户投稿明细(APP、无需wbi鉴权) - > https://app.biliapi.com/x/v2/space/archive/cursor *请求方式:GET* 可以获取APP端可获得的用户空间投稿所有信息 + APP端请求对web端包容度最高,无需Cookie以外的任何认证,只需填写vmid即可查询 + 认证方式:Cookie 或 APP **url参数:** From 516561fdb1acf884520569defc93410cd4d9f86f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=8F=B6=E6=A2=A6=E6=98=A5?= <65224318+wuziqian211@users.noreply.github.com> Date: Sun, 1 Jun 2025 13:30:54 +0800 Subject: [PATCH 64/66] fix: style & make Cookie unnecessary --- docs/user/space.md | 3 +-- docs/video/recommend.md | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/user/space.md b/docs/user/space.md index b06bdb3..38708d2 100644 --- a/docs/user/space.md +++ b/docs/user/space.md @@ -2789,8 +2789,6 @@ curl -G 'https://api.bilibili.com/x/space/arc/search' \ APP端请求对web端包容度最高,无需Cookie以外的任何认证,只需填写vmid即可查询 -认证方式:Cookie 或 APP - **url参数:** | 参数名 | 类型 | 内容 | 必要性 | 备注 | @@ -2922,6 +2920,7 @@ APP端请求对web端包容度最高,无需Cookie以外的任何认证,只 以播放量排序,显示3个稿件,但假设aid=1301087872及以前稿件已经加载过 > https://app.biliapi.com/x/v2/space/archive/cursor?vmid=1240283469&order=click&ps=3&aid=1301087872 + 输入浏览器
diff --git a/docs/video/recommend.md b/docs/video/recommend.md index f8a30b5..cfec7f8 100644 --- a/docs/video/recommend.md +++ b/docs/video/recommend.md @@ -1148,7 +1148,6 @@ curl -G 'https://api.bilibili.com/x/web-interface/wbi/index/top/feed/rcmd' \ *请求方式:GET* 在APP端点击主页视频后发出的请求 -认证方式:Cookie 或 APP **url参数:** @@ -1168,7 +1167,7 @@ curl -G 'https://api.bilibili.com/x/web-interface/wbi/index/top/feed/rcmd' \ | contain | bool | 未知 | 非必要 | 可为false | | creative_id | num | 未知 | 非必要 | 默认为 `0` | | device_name | str | 设备名称 | 非必要 | 随意字符串都行 | -| disable_rcmd` | num | 未知 | 非必要 | 默认为 `1` | +| disable_rcmd | num | 未知 | 非必要 | 默认为 `1` | | epid | num | 未知 | 非必要 | 默认为 `0` | | feed_status | num | 未知 | 非必要 | 默认为 `0` | | fnval | num | 视频流类型 | 非必要 | | @@ -1299,6 +1298,7 @@ curl -G 'https://api.bilibili.com/x/web-interface/wbi/index/top/feed/rcmd' \ **示例:** (1)模拟点击aid=113350747029965的视频并获取短视频推荐列表 + ```python import json import requests @@ -1327,17 +1327,17 @@ response = requests.get(story_url, params=story_params, headers=mobile_headers) print(json.dumps(response.json(), indent=4)) ``` + 返回值内容过长,暂不予展示 (2)随机的短视频推荐 > https://app.bilibili.com/x/v2/feed/index/story + 浏览器直接输入 返回值内容过长,暂不予展示 - - ## 获取短视频模式视频列表 > https://app.bilibili.com/x/v2/feed/index From b309712cf2954ffe9253e668985f0f683e86eb12 Mon Sep 17 00:00:00 2001 From: YumeMuzi <77779996+YumeMuzi@users.noreply.github.com> Date: Sun, 1 Jun 2025 13:32:50 +0800 Subject: [PATCH 65/66] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E2=80=9C?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=9B=B4=E6=92=AD=E9=97=B4=E6=9C=80=E8=BF=91?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E5=BC=B9=E5=B9=95=E2=80=9D=20(#1301)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/live/info.md | 44 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/docs/live/info.md b/docs/live/info.md index 2106b00..2960d52 100644 --- a/docs/live/info.md +++ b/docs/live/info.md @@ -726,7 +726,7 @@ curl -G 'https://api.live.bilibili.com/xlive/web-room/v1/index/getRoomBaseInfo' | keyframe | str | 直播间关键帧url | | | lock_till | str | 直播间封禁信息 | | | hidden_till | str | 直播间隐藏信息 | | -| broadcast_type | num | 直播类型 | 0:普通直播
1:手机直播 | +| broadcast_type | num | 直播类型 | 0:普通直播
1:手机直播 | **示例:** @@ -829,7 +829,7 @@ curl 'https://api.live.bilibili.com/room/v1/Room/get_status_info_by_uids' \ | dm_type | num | 弹幕类型 | | | uid | num | 弹幕发送者的UID | | | nickname | str | 弹幕发送者的昵称 | | -| uname_color | str | 弹幕发送者的颜色? | | +| uname_color | str | 弹幕发送者的昵称颜色? | | | timeline | str | 弹幕发送时间 | 格式为`yyyy-MM-dd HH:mm:ss` | | isadmin | num | 是否为管理员 | | | vip | num | 是否为VIP? || @@ -839,9 +839,9 @@ curl 'https://api.live.bilibili.com/room/v1/Room/get_status_info_by_uids' \ | user_level | array | 用户等级信息? | 格式不明 | | rank | num | 排名? | [用户空间详细信息](../user/info.md#获取用户详细信息) | | teamid | num | | | -| rnd | str | 发送时间? | UNIX 秒级时间戳 | -| user_title | 用户标题? | 格式不明 | -| guard_level | | | | +| rnd | str | 随机数种子? | | +| user_title | str | 用户头衔? |格式不明| +| guard_level | | 大航海等级? | | | bubble | | | | | bubble_color | | | | | lpl | | | | @@ -849,15 +849,43 @@ curl 'https://api.live.bilibili.com/room/v1/Room/get_status_info_by_uids' \ | jump_to_url | | | | | check_info | obj | 弹幕审核信息? | | | voice_dm_info | obj | 语音弹幕信息? | | -| emoticon | obj | 表情信息? | | -| emots | null | | | +| emoticon | obj | 房间独有表情信息 | | +| emots | obj | 默认表情信息 | 结构为`表情名-信息`组成的键值对
如果信息不含默认表情,则返回 null | | id_str | str | 弹幕ID? | | | wealth_level | num | 财富等级? | | | bubble_id_v2 | num | | | -| reply | obj | | | +| reply | obj | 回复的弹幕 | | | group_medal | null | | | | user | obj | 该用户信息 || +`data`对象中的`emoticon`对象: + +| 字段 | 类型 | 内容 | 备注 | +| --------------- | ---- | ------------------------ | ---------------------------- | +| id | num | 0 | | +| emoticon_unique | str | 表情的独特标识 | 格式为`room_房间号_表情id` | +| text | text | 表情的触发词 | | +| perm | num | 发送权限? | 1:所有人都可发送 | +| url | str | 表情的图像链接 | | +| in_player_area | num | 是否显示在直播画面区域? | | +| bulge_display | num | 是否高亮显示? | | +| is_dynamic | num | 是否为动态表情 | 0:静态图像
1:动态图像 | +| height | num | 表情的高度 | | +| width | num | 表情的宽度 | | + +`data`对象中的`emots`对象中的任意一个值对象: + +| 字段 | 类型 | 内容 | 备注 | +| -------------- | ---- | ---------------- | ------------------------- | +| count | num | 重复发送数量 | | +| descript | str | 表情描述 | | +| emoji | str | 表情描述 | | +| emotion_id | num | 表情 id | | +| emotion_unique | str | 表情的独特标识符 | 格式可能为`emoji_表情 id` | +| height | num | 表情的宽度 | | +| url | str | 表情的图像链接 | | +| width | num | 表情的高度 | | + `data`对象中的`user`对象: | 字段 | 类型 | 内容 | 备注 | From 34f5c70174e0f31e6b4575f813705e9de6ba9633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A8=80=E5=AD=90=E6=A5=AA=E4=B8=96?= <126686601+suzhelan@users.noreply.github.com> Date: Sun, 1 Jun 2025 13:56:03 +0800 Subject: [PATCH 66/66] =?UTF-8?q?feat:=E6=A0=BC=E5=BC=8F=E5=8C=96=E6=96=87?= =?UTF-8?q?=E4=BB=B6,=E5=AE=8C=E5=96=84app=E7=AB=AF=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E7=9F=AD=E8=A7=86=E9=A2=91=E6=8E=A5=E5=8F=A3/x/v2/feed/index?= =?UTF-8?q?=E7=9A=84=E5=86=85=E5=AE=B9,=E8=A1=A5=E5=85=85=E8=AF=B7?= =?UTF-8?q?=E6=B1=82accessKey,=E5=93=8D=E5=BA=94=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E6=A8=AA=E5=B9=85=E5=8F=8A=E7=83=AD=E9=97=A8=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=20(#1243)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/video/recommend.md | 3799 ++++++++++++++++++++++++--------------- 1 file changed, 2322 insertions(+), 1477 deletions(-) diff --git a/docs/video/recommend.md b/docs/video/recommend.md index cf9e22f..42704c4 100644 --- a/docs/video/recommend.md +++ b/docs/video/recommend.md @@ -4,36 +4,36 @@ > https://api.bilibili.com/x/web-interface/archive/related -*请求方式:GET* +*请求方式:GET* 最多获取40条推荐视频 **url参数:** -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -| ------ | ---- | -------- | ------------ | ------------------ | -| aid | num | 稿件avid | 必要(可选) | avid与bvid任选一个 | -| bvid | str | 稿件bvid | 必要(可选) | avid与bvid任选一个 | +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|------|-----|--------|--------|---------------| +| aid | num | 稿件avid | 必要(可选) | avid与bvid任选一个 | +| bvid | str | 稿件bvid | 必要(可选) | avid与bvid任选一个 | **json回复:** 根对象: -| 字段 | 类型 | 内容 | 备注 | -| ------- | ------ | -------- | ---------------------------- | -| code | num | 返回值 | 0:成功
-400:请求错误 | -| message | str | 错误信息 | 默认为0 | -| ttl | num | 1 | | -| data | array | 推荐列表 | | +| 字段 | 类型 | 内容 | 备注 | +|---------|-------|------|----------------------| +| code | num | 返回值 | 0:成功
-400:请求错误 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | array | 推荐列表 | | `data`数组: -| 项 | 类型 | 内容 | 备注 | -| ---- | ---- | ------------- | ---- | -| 0 | obj | 推荐视频1 | | -| n | obj | 推荐视频(n+1) | | -| …… | obj | …… | …… | -| 39 | obj | 推荐视频40 | | +| 项 | 类型 | 内容 | 备注 | +|----|-----|-----------|----| +| 0 | obj | 推荐视频1 | | +| n | obj | 推荐视频(n+1) | | +| …… | obj | …… | …… | +| 39 | obj | 推荐视频40 | | `data`数组中的对象: @@ -62,234 +62,240 @@ curl -G 'https://api.bilibili.com/x/web-interface/archive/related' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": [{ - "aid": 21322566, - "videos": 1, - "tid": 124, - "tname": "趣味科普人文", - "copyright": 1, - "pic": "http://i2.hdslb.com/bfs/archive/37f383ac35d386af1fc578108ad643e5952ff66a.jpg", - "title": "bilibili上市宣传视频", - "pubdate": 1522205992, - "ctime": 1522205994, - "desc": "今天晚上9点30分(北京时间),bilibili将在美国纳斯达克(NASDAQ)证券交易所挂牌上市。", - "state": 0, - "attribute": 16768, - "duration": 155, - "rights": { - "bp": 0, - "elec": 0, - "download": 0, - "movie": 0, - "pay": 0, - "hd5": 1, - "no_reprint": 1, - "autoplay": 1, - "ugc_pay": 0, - "is_cooperation": 0, - "ugc_pay_preview": 0, - "no_background": 0 - }, - "owner": { - "mid": 208259, - "name": "陈睿", - "face": "http://i2.hdslb.com/bfs/face/8920e6741fc2808cce5b81bc27abdbda291655d3.png" - }, - "stat": { - "aid": 21322566, - "view": 2129084, - "danmaku": 51108, - "reply": 18119, - "favorite": 46524, - "coin": 85223, - "share": 16669, - "now_rank": 0, - "his_rank": 1, - "like": 95621, - "dislike": 0 - }, - "dynamic": "今天晚上9点30分(北京时间),bilibili将在美国纳斯达克(NASDAQ)证券交易所挂牌上市。", - "cid": 35063529, - "dimension": { - "width": 1920, - "height": 1080, - "rotate": 0 - }, - "bvid": "" - }, { - "aid": 271, - "videos": 1, - "tid": 53, - "tname": "", - "copyright": 1, - "pic": "http://i1.hdslb.com/bfs/archive/a5980672f3d03e8292148748a63de99cd45679d3.jpg", - "title": "弹幕测试专用", - "pubdate": 1249886475, - "ctime": 1497344798, - "desc": "给职人发射弹幕定位用.", - "state": 0, - "attribute": 32768, - "duration": 4558, - "rights": { - "bp": 0, - "elec": 0, - "download": 0, - "movie": 0, - "pay": 0, - "hd5": 0, - "no_reprint": 0, - "autoplay": 1, - "ugc_pay": 0, - "is_cooperation": 0, - "ugc_pay_preview": 0, - "no_background": 0 - }, - "owner": { - "mid": 2, - "name": "碧诗", - "face": "http://i1.hdslb.com/bfs/face/3e60b20604b6fdc7d081eb6a1ec72aa47c5a3964.jpg" - }, - "stat": { - "aid": 271, - "view": 2532266, - "danmaku": 699214, - "reply": 10224, - "favorite": 34927, - "coin": 9712, - "share": 3586, - "now_rank": 0, - "his_rank": 182, - "like": 27257, - "dislike": 0 - }, - "dynamic": "", - "cid": 3659795, - "dimension": { - "width": 0, - "height": 0, - "rotate": 0 - }, - "bvid": "" - }, { - "aid": 106, - "videos": 1, - "tid": 26, - "tname": "音MAD", - "copyright": 2, - "pic": "http://i2.hdslb.com/bfs/archive/34d8fdf08d1fe28c229dec2fd122815a1d012908.jpg", - "title": "最终鬼畜蓝蓝路", - "pubdate": 1350316631, - "ctime": 1497348932, - "desc": "sm2057168 把这个音mad的图腾和支柱从UP的怒火中搬出来重新立好,这是我所能做的最后的事情了。", - "state": 0, - "attribute": 32768, - "duration": 318, - "rights": { - "bp": 0, - "elec": 0, - "download": 0, - "movie": 0, - "pay": 0, - "hd5": 0, - "no_reprint": 0, - "autoplay": 1, - "ugc_pay": 0, - "is_cooperation": 0, - "ugc_pay_preview": 0, - "no_background": 0 - }, - "owner": { - "mid": 8839, - "name": "TSA", - "face": "http://i0.hdslb.com/bfs/face/0ef5daf622bf4789034b3c15147a45e11c48c9b3.jpg" - }, - "stat": { - "aid": 106, - "view": 7607070, - "danmaku": 212896, - "reply": 41521, - "favorite": 200705, - "coin": 51673, - "share": 38049, - "now_rank": 0, - "his_rank": 22, - "like": 148550, - "dislike": 0 - }, - "dynamic": "", - "cid": 3635863, - "dimension": { - "width": 0, - "height": 0, - "rotate": 0 - }, - "bvid": "" - }, { - "aid": 50025934, - "videos": 1, - "tid": 122, - "tname": "野生技术协会", - "copyright": 1, - "pic": "http://i0.hdslb.com/bfs/archive/af534399612085dbd916381b3377b18c765fab2d.png", - "title": "B站又一位Lv9的up诞生了", - "pubdate": 1555829289, - "ctime": 1555829289, - "desc": "要不关注一下?", - "state": 0, - "attribute": 16512, - "duration": 45, - "rights": { - "bp": 0, - "elec": 0, - "download": 0, - "movie": 0, - "pay": 0, - "hd5": 0, - "no_reprint": 1, - "autoplay": 1, - "ugc_pay": 0, - "is_cooperation": 0, - "ugc_pay_preview": 0, - "no_background": 0 - }, - "owner": { - "mid": 174161216, - "name": "血色红茶Xenomprph", - "face": "http://i1.hdslb.com/bfs/face/5a5ececb9b7a688751024c60063ba5853bed7e1e.jpg" - }, - "stat": { - "aid": 50025934, - "view": 159595, - "danmaku": 62, - "reply": 153, - "favorite": 301, - "coin": 1059, - "share": 55, - "now_rank": 0, - "his_rank": 0, - "like": 1219, - "dislike": 0 - }, - "dynamic": "", - "cid": 87577929, - "dimension": { - "width": 2560, - "height": 1440, - "rotate": 0 - }, - "bvid": "" - }, - ………… - ] + "code": 0, + "message": "0", + "ttl": 1, + "data": [ + { + "aid": 21322566, + "videos": 1, + "tid": 124, + "tname": "趣味科普人文", + "copyright": 1, + "pic": "http://i2.hdslb.com/bfs/archive/37f383ac35d386af1fc578108ad643e5952ff66a.jpg", + "title": "bilibili上市宣传视频", + "pubdate": 1522205992, + "ctime": 1522205994, + "desc": "今天晚上9点30分(北京时间),bilibili将在美国纳斯达克(NASDAQ)证券交易所挂牌上市。", + "state": 0, + "attribute": 16768, + "duration": 155, + "rights": { + "bp": 0, + "elec": 0, + "download": 0, + "movie": 0, + "pay": 0, + "hd5": 1, + "no_reprint": 1, + "autoplay": 1, + "ugc_pay": 0, + "is_cooperation": 0, + "ugc_pay_preview": 0, + "no_background": 0 + }, + "owner": { + "mid": 208259, + "name": "陈睿", + "face": "http://i2.hdslb.com/bfs/face/8920e6741fc2808cce5b81bc27abdbda291655d3.png" + }, + "stat": { + "aid": 21322566, + "view": 2129084, + "danmaku": 51108, + "reply": 18119, + "favorite": 46524, + "coin": 85223, + "share": 16669, + "now_rank": 0, + "his_rank": 1, + "like": 95621, + "dislike": 0 + }, + "dynamic": "今天晚上9点30分(北京时间),bilibili将在美国纳斯达克(NASDAQ)证券交易所挂牌上市。", + "cid": 35063529, + "dimension": { + "width": 1920, + "height": 1080, + "rotate": 0 + }, + "bvid": "" + }, + { + "aid": 271, + "videos": 1, + "tid": 53, + "tname": "", + "copyright": 1, + "pic": "http://i1.hdslb.com/bfs/archive/a5980672f3d03e8292148748a63de99cd45679d3.jpg", + "title": "弹幕测试专用", + "pubdate": 1249886475, + "ctime": 1497344798, + "desc": "给职人发射弹幕定位用.", + "state": 0, + "attribute": 32768, + "duration": 4558, + "rights": { + "bp": 0, + "elec": 0, + "download": 0, + "movie": 0, + "pay": 0, + "hd5": 0, + "no_reprint": 0, + "autoplay": 1, + "ugc_pay": 0, + "is_cooperation": 0, + "ugc_pay_preview": 0, + "no_background": 0 + }, + "owner": { + "mid": 2, + "name": "碧诗", + "face": "http://i1.hdslb.com/bfs/face/3e60b20604b6fdc7d081eb6a1ec72aa47c5a3964.jpg" + }, + "stat": { + "aid": 271, + "view": 2532266, + "danmaku": 699214, + "reply": 10224, + "favorite": 34927, + "coin": 9712, + "share": 3586, + "now_rank": 0, + "his_rank": 182, + "like": 27257, + "dislike": 0 + }, + "dynamic": "", + "cid": 3659795, + "dimension": { + "width": 0, + "height": 0, + "rotate": 0 + }, + "bvid": "" + }, + { + "aid": 106, + "videos": 1, + "tid": 26, + "tname": "音MAD", + "copyright": 2, + "pic": "http://i2.hdslb.com/bfs/archive/34d8fdf08d1fe28c229dec2fd122815a1d012908.jpg", + "title": "最终鬼畜蓝蓝路", + "pubdate": 1350316631, + "ctime": 1497348932, + "desc": "sm2057168 把这个音mad的图腾和支柱从UP的怒火中搬出来重新立好,这是我所能做的最后的事情了。", + "state": 0, + "attribute": 32768, + "duration": 318, + "rights": { + "bp": 0, + "elec": 0, + "download": 0, + "movie": 0, + "pay": 0, + "hd5": 0, + "no_reprint": 0, + "autoplay": 1, + "ugc_pay": 0, + "is_cooperation": 0, + "ugc_pay_preview": 0, + "no_background": 0 + }, + "owner": { + "mid": 8839, + "name": "TSA", + "face": "http://i0.hdslb.com/bfs/face/0ef5daf622bf4789034b3c15147a45e11c48c9b3.jpg" + }, + "stat": { + "aid": 106, + "view": 7607070, + "danmaku": 212896, + "reply": 41521, + "favorite": 200705, + "coin": 51673, + "share": 38049, + "now_rank": 0, + "his_rank": 22, + "like": 148550, + "dislike": 0 + }, + "dynamic": "", + "cid": 3635863, + "dimension": { + "width": 0, + "height": 0, + "rotate": 0 + }, + "bvid": "" + }, + { + "aid": 50025934, + "videos": 1, + "tid": 122, + "tname": "野生技术协会", + "copyright": 1, + "pic": "http://i0.hdslb.com/bfs/archive/af534399612085dbd916381b3377b18c765fab2d.png", + "title": "B站又一位Lv9的up诞生了", + "pubdate": 1555829289, + "ctime": 1555829289, + "desc": "要不关注一下?", + "state": 0, + "attribute": 16512, + "duration": 45, + "rights": { + "bp": 0, + "elec": 0, + "download": 0, + "movie": 0, + "pay": 0, + "hd5": 0, + "no_reprint": 1, + "autoplay": 1, + "ugc_pay": 0, + "is_cooperation": 0, + "ugc_pay_preview": 0, + "no_background": 0 + }, + "owner": { + "mid": 174161216, + "name": "血色红茶Xenomprph", + "face": "http://i1.hdslb.com/bfs/face/5a5ececb9b7a688751024c60063ba5853bed7e1e.jpg" + }, + "stat": { + "aid": 50025934, + "view": 159595, + "danmaku": 62, + "reply": 153, + "favorite": 301, + "coin": 1059, + "share": 55, + "now_rank": 0, + "his_rank": 0, + "like": 1219, + "dislike": 0 + }, + "dynamic": "", + "cid": 87577929, + "dimension": { + "width": 2560, + "height": 1440, + "rotate": 0 + }, + "bvid": "" + } + … + … + … + … + ] } ```
- ## 获取首页视频推荐列表(web端) > https://api.bilibili.com/x/web-interface/wbi/index/top/feed/rcmd @@ -300,98 +306,98 @@ curl -G 'https://api.bilibili.com/x/web-interface/archive/related' \ 最多获取30条推荐视频,直播及推荐边栏 -**url参数:** +**url参数:** -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -|---------------|------|------------------------|--------|-------------------------------------------------------| -| fresh_type | num | 相关性 | 非必要 | 默认为 4
值越大推荐内容越相关 | -| ps | num | 单页返回的记录条数 | 非必要 | 默认为 12, 留空即最大值为 30 | -| fresh_idx | num | 当前翻页号 | 非必要 | 以 1 开始 | -| fresh_idx_1h | num | 当前翻页号(一小时前?) | 非必要 | 以 1 开始, 默认与 fresh_idx 内容相同 | -| brush | num | 刷子? | 非必要 | 以 1 开始, 默认与 fresh_idx 内容相同 | -| fetch_row | num | 本次抓取的最后一行行号 | 非必要 | 1 递归加上本次抓取总行数 | -| web_location | num | 网页位置 | 非必要 | 主页为 1430650 | -| y_num | num | 普通列数 | 非必要 | 一行中视频,直播及广告数 | -| last_y_num | num | 总列数 | 非必要 | 普通列数 + 边栏列数 | -| feed_version | str | V8 | 非必要 | 作用尚不明确 | -| homepage_ver | num | 1 | 非必要 | 首页版本 | -| screen | str | 浏览器视口大小 | 非必要 | 水平在前垂直在后以减号分割 | -| seo_info | str | 空 | 非必要 | 作用尚不明确 | -| last_showlist | str | 上次抓取的视频av号列表 | 非必要 | av与数字间用下划线分隔, 若视频UP主已关注则中间再插入n | -| uniq_id | str | ??? | 非必要 | 作用尚不明确 | -| w_rid | str | WBI 签名 | 非必要 | 见[WBI 签名](../misc/sign/wbi.md) | -| wts | num | UNIX 时间戳 | 非必要 | 见[WBI 签名](../misc/sign/wbi.md) | +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|---------------|-----|--------------|-----|--------------------------------| +| fresh_type | num | 相关性 | 非必要 | 默认为 4
值越大推荐内容越相关 | +| ps | num | 单页返回的记录条数 | 非必要 | 默认为 12, 留空即最大值为 30 | +| fresh_idx | num | 当前翻页号 | 非必要 | 以 1 开始 | +| fresh_idx_1h | num | 当前翻页号(一小时前?) | 非必要 | 以 1 开始, 默认与 fresh_idx 内容相同 | +| brush | num | 刷子? | 非必要 | 以 1 开始, 默认与 fresh_idx 内容相同 | +| fetch_row | num | 本次抓取的最后一行行号 | 非必要 | 1 递归加上本次抓取总行数 | +| web_location | num | 网页位置 | 非必要 | 主页为 1430650 | +| y_num | num | 普通列数 | 非必要 | 一行中视频,直播及广告数 | +| last_y_num | num | 总列数 | 非必要 | 普通列数 + 边栏列数 | +| feed_version | str | V8 | 非必要 | 作用尚不明确 | +| homepage_ver | num | 1 | 非必要 | 首页版本 | +| screen | str | 浏览器视口大小 | 非必要 | 水平在前垂直在后以减号分割 | +| seo_info | str | 空 | 非必要 | 作用尚不明确 | +| last_showlist | str | 上次抓取的视频av号列表 | 非必要 | av与数字间用下划线分隔, 若视频UP主已关注则中间再插入n | +| uniq_id | str | ??? | 非必要 | 作用尚不明确 | +| w_rid | str | WBI 签名 | 非必要 | 见[WBI 签名](../misc/sign/wbi.md) | +| wts | num | UNIX 时间戳 | 非必要 | 见[WBI 签名](../misc/sign/wbi.md) | **json回复:** 根对象: -| 字段 | 类型 | 内容 | 备注 | -|-------------|------|----------|------------------------------| -| code | num | 返回值 | 0:成功
-400:请求错误 | -| message | str | 错误信息 | 默认为0 | -| ttl | num | 1 | | -| data | obj | | | +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------|----------------------| +| code | num | 返回值 | 0:成功
-400:请求错误 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | | | `data`对象: -| 字段 | 类型 | 内容 | 备注 | -|--------------------------|-------|-----------|--------------------------------| -| business_card | null | | | -| floor_info | null | | | -| item | array | 推荐列表 | | -| mid | num | 用户mid | 未登录为0 | -| preload_expose_pct | num | 0.5 | 用于预加载? | -| preload_floor_expose_pct | num | 0.5 | 用于预加载? | +| 字段 | 类型 | 内容 | 备注 | +|--------------------------|-------|-------|--------------------| +| business_card | null | | | +| floor_info | null | | | +| item | array | 推荐列表 | | +| mid | num | 用户mid | 未登录为0 | +| preload_expose_pct | num | 0.5 | 用于预加载? | +| preload_floor_expose_pct | num | 0.5 | 用于预加载? | | side_bar_column | array | 边栏列表? | 可参考字段 item 及对应功能文档 | -| user_feature | null | | | +| user_feature | null | | | `data`对象中`item`数组中的对象: -| 字段 | 类型 | 内容 | 备注 | -|--------------------------|------|--------------------|-------------------------------------------| -| av_feature | null | | | -| business_info | obj | 商业推广信息 | 无为null
对于推广内容,视频信息会在这个dict的"archive"属性下 | -| bvid | str | 视频bvid | | -| cid | num | 稿件cid | | -| dislike_switch | num | 1 | 显示不感兴趣开关? | -| dislike_switch_pc | num | 0 | 显示不感兴趣开关(PC)? | -| duraion | num | 视频时长 | | -| enable_vt | num | 0 | 作用尚不明确 | -| goto | num | 目标类型 | av: 视频
ogv: 边栏
live: 直播 | -| duraion | num | 视频时长 | | -| id | num | 视频aid / 直播间id | | -| is_followed | num | 已关注 | 0: 未关注
1: 已关注 | -| is_stock | num | 0 | 作用尚不明确 | -| ogv_info | null | | | -| owner | obj | UP主 | | -| pic | str | 封面 | | -| pic_4_3 | str | 封面(4:3) | | -| pos | num | 0 | 位置? | -| pubdate | num | 发布时间 | | -| rcmd_reason | obj | 推荐理由 | 直播等为null | -| room_info | obj | 直播间信息 | 普通视频等为null, 参见[直播](../live) | -| show_info | num | 展示信息 | 1: 普通视频
0: 直播 | -| stat | obj | 视频状态信息 | 直播等为null, 参见[视频基本信息](info.md) | -| title | str | 标题 | | -| track_id | str | 跟踪标识? | | -| uri | str | 目标页 URI | | -| vt_display | str | 空 | 作用尚不明确 | +| 字段 | 类型 | 内容 | 备注 | +|-------------------|------|---------------|----------------------------------------------| +| av_feature | null | | | +| business_info | obj | 商业推广信息 | 无为null
对于推广内容,视频信息会在这个dict的"archive"属性下 | +| bvid | str | 视频bvid | | +| cid | num | 稿件cid | | +| dislike_switch | num | 1 | 显示不感兴趣开关? | +| dislike_switch_pc | num | 0 | 显示不感兴趣开关(PC)? | +| duraion | num | 视频时长 | | +| enable_vt | num | 0 | 作用尚不明确 | +| goto | num | 目标类型 | av: 视频
ogv: 边栏
live: 直播 | +| duraion | num | 视频时长 | | +| id | num | 视频aid / 直播间id | | +| is_followed | num | 已关注 | 0: 未关注
1: 已关注 | +| is_stock | num | 0 | 作用尚不明确 | +| ogv_info | null | | | +| owner | obj | UP主 | | +| pic | str | 封面 | | +| pic_4_3 | str | 封面(4:3) | | +| pos | num | 0 | 位置? | +| pubdate | num | 发布时间 | | +| rcmd_reason | obj | 推荐理由 | 直播等为null | +| room_info | obj | 直播间信息 | 普通视频等为null, 参见[直播](../live) | +| show_info | num | 展示信息 | 1: 普通视频
0: 直播 | +| stat | obj | 视频状态信息 | 直播等为null, 参见[视频基本信息](info.md) | +| title | str | 标题 | | +| track_id | str | 跟踪标识? | | +| uri | str | 目标页 URI | | +| vt_display | str | 空 | 作用尚不明确 | `item`数组中的对象中的`owner`对象: -| 字段 | 类型 | 内容 | 备注 | -|------|------|---------|-------| -| face | str | 头像URL | | -| mid | num | UP主mid | | -| name | str | UP昵称 | | +| 字段 | 类型 | 内容 | 备注 | +|------|-----|--------|----| +| face | str | 头像URL | | +| mid | num | UP主mid | | +| name | str | UP昵称 | | `item`数组中的对象中的`rcmd_reason`对象: -| 字段 | 类型 | 内容 | 备注 | -|-------------|------|---------|--------------------------------------| -| reason_type | num | 原因类型 | 0: 无
1: 已关注
3: 高点赞量 | -| content | str | 原因描述 | 当 reason_type 为 3 时存在 | +| 字段 | 类型 | 内容 | 备注 | +|-------------|-----|------|-------------------------------| +| reason_type | num | 原因类型 | 0: 无
1: 已关注
3: 高点赞量 | +| content | str | 原因描述 | 当 reason_type 为 3 时存在 | **示例:** @@ -411,733 +417,733 @@ curl -G 'https://api.bilibili.com/x/web-interface/wbi/index/top/feed/rcmd' \ ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "item": [ - { - "id": 1354614895, - "bvid": "BV1Dz42117GZ", - "cid": 1548835687, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV1Dz42117GZ", - "pic": "http://i1.hdslb.com/bfs/archive/b47154987b4c0f40a39779c09a9d485176d1238f.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/archive/b47154987b4c0f40a39779c09a9d485176d1238f.jpg", - "title": "做数学题总是抄错 | 看错 | 算错 怎么破?决定高考分数的这个非智力因素不容忽视", - "duration": 882, - "pubdate": 1715946937, - "owner": { - "mid": 374484802, - "name": "数学阮禾老师", - "face": "https://i1.hdslb.com/bfs/face/4df57e4b48b04206bce7572831688741580ca0e1.jpg" - }, - "stat": { - "view": 48250, - "like": 2959, - "danmaku": 433, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "reason_type": 0 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1255924089, - "bvid": "BV1DJ4m1u7Mp", - "cid": 1600833978, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV1DJ4m1u7Mp", - "pic": "http://i0.hdslb.com/bfs/archive/5068d860e8bbc37679ece933aa8e6d8428cfb5c1.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-07-01-1145021255924089_1612_gener.jpg", - "title": "人类这种生物,看到按钮就会按下去。", - "duration": 326, - "pubdate": 1719805500, - "owner": { - "mid": 5616993, - "name": "马夫鱼33", - "face": "https://i0.hdslb.com/bfs/face/4c2af23046147e91ce5a4af3375464fdcf1956e6.jpg" - }, - "stat": { - "view": 667067, - "like": 28529, - "danmaku": 483, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "content": "2万点赞", - "reason_type": 3 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1306020278, - "bvid": "BV1rM4m117Ry", - "cid": 1608959606, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV1rM4m117Ry", - "pic": "http://i0.hdslb.com/bfs/archive/49f62c70f17d0afe00e5e620dd366c68149c780e.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/archive/49f62c70f17d0afe00e5e620dd366c68149c780e.jpg", - "title": "Axios 前后端对接教程|HTTP", - "duration": 352, - "pubdate": 1720440325, - "owner": { - "mid": 260736087, - "name": "三分钟实验室", - "face": "https://i0.hdslb.com/bfs/face/6172aa089ed0b26ffffb72018422eb4280d4da41.jpg" - }, - "stat": { - "view": 7527, - "like": 365, - "danmaku": 1, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "reason_type": 0 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1755972439, - "bvid": "BV1g4421D7qn", - "cid": 1597039275, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV1g4421D7qn", - "pic": "http://i2.hdslb.com/bfs/archive/35ee2ffaab4206d17893a3f48cdf512b4f028fdc.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-26-21354756381755972439_16_12_5326_crop.jpg", - "title": "《我爱发明》里那些抽象发明 歹徒兴奋床!", - "duration": 659, - "pubdate": 1719408945, - "owner": { - "mid": 348989367, - "name": "沫子瞪片", - "face": "https://i0.hdslb.com/bfs/face/a2131d38a2ea73f16ff25e61dbeb40377233f552.jpg" - }, - "stat": { - "view": 1540767, - "like": 65409, - "danmaku": 5383, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "reason_type": 0 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1055953358, - "bvid": "BV1jH4y1w7A6", - "cid": 1598484848, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV1jH4y1w7A6", - "pic": "http://i1.hdslb.com/bfs/archive/accdb655b4f2bef665e6fdedb4de28de2feda078.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-28-12560692491055953358_16_12_2438_crop.jpg", - "title": "为什么一个数的5次方个位数是自己!", - "duration": 327, - "pubdate": 1719550565, - "owner": { - "mid": 483522694, - "name": "火星课堂", - "face": "https://i1.hdslb.com/bfs/face/fe751f0d7062c8e8adcef501390d48330fac0514.jpg" - }, - "stat": { - "view": 244673, - "like": 5406, - "danmaku": 210, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "reason_type": 0 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": { - "id": 0, - "contract_id": "", - "res_id": 1055953358, - "asg_id": 0, - "pos_num": 0, - "name": "", - "pic": "", - "litpic": "", - "url": "", - "style": 0, - "agency": "", - "label": "", - "intro": "", - "creative_type": 0, - "request_id": "1721098961752q172a25a216a162q1363", - "src_id": 5637, - "area": 0, - "is_ad_loc": true, - "ad_cb": "", - "title": "", - "server_type": 0, - "cm_mark": 0, - "stime": 0, - "mid": "", - "activity_type": 0, - "epid": 0, - "sub_title": "", - "ad_desc": "", - "adver_name": "", - "null_frame": false, - "pic_main_color": "", - "card_type": 0, - "business_mark": null, - "inline": { - "inline_use_same": 0, - "inline_type": 0, - "inline_url": "", - "inline_barrage_switch": 0 - }, - "operater": "", - "jump_target": 0, - "show_urls": null, - "click_urls": null - }, - "is_stock": 1, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1763571437, - "bvid": "", - "cid": 0, - "goto": "live", - "uri": "https://live.bilibili.com/1763571437", - "pic": "http://i0.hdslb.com/bfs/live/new_room_cover/f1787ef2ce4a2a031fb4a6a63b62d15493268d71.jpg", - "pic_4_3": "", - "title": "【新V】今天不要再把自己笨哭了", - "duration": 0, - "pubdate": 0, - "owner": { - "mid": 3546712666802274, - "name": "伊柒璇儿_鹤熙冠", - "face": "https://i0.hdslb.com/bfs/face/3e0ff3d7d53b9ac1a2d90ea563e22d3f70ad28cc.jpg" - }, - "stat": null, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": null, - "show_info": 0, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": { - "room_id": 1763571437, - "uid": 3546712666802274, - "live_status": 1, - "show": { - "short_id": 0, - "title": "【新V】今天不要再把自己笨哭了", - "cover": "http://i0.hdslb.com/bfs/live/new_room_cover/f1787ef2ce4a2a031fb4a6a63b62d15493268d71.jpg", - "keyframe": "http://i0.hdslb.com/bfs/live-key-frame/keyframe07161101001763571437k9l40v.jpg", - "popularity_count": 8539, - "tag_list": null, - "live_start_time": 0, - "live_id": 0, - "hidden_online": false - }, - "area": { - "area_id": 0, - "area_name": "虚拟日常", - "parent_area_id": 9, - "parent_area_name": "虚拟主播", - "old_area_id": 0, - "old_area_name": "", - "old_area_tag": "", - "area_pk_status": 0, - "is_video_room": false - }, - "watched_show": { - "switch": true, - "num": 168, - "text_small": "168", - "text_large": "168人看过", - "icon": "https://i0.hdslb.com/bfs/live/a725a9e61242ef44d764ac911691a7ce07f36c1d.png", - "icon_location": "", - "icon_web": "https://i0.hdslb.com/bfs/live/8d9d0f33ef8bf6f308742752d13dd0df731df19c.png" - } - }, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1855792572, - "bvid": "BV16s421T7CU", - "cid": 1587596195, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV16s421T7CU", - "pic": "http://i2.hdslb.com/bfs/archive/1b9d9799260a075b094212bf79e3d7ccb9e04087.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-19-14044883851855792572_16_12_7260_crop.jpg", - "title": "压缩蚊件.zip", - "duration": 66, - "pubdate": 1718777086, - "owner": { - "mid": 173947574, - "name": "好奇五先生", - "face": "https://i2.hdslb.com/bfs/face/1c69fff12a2d0d50e71931cef0486ab919a818a2.jpg" - }, - "stat": { - "view": 951633, - "like": 22930, - "danmaku": 932, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "reason_type": 0 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1405866842, - "bvid": "BV11r421F7E8", - "cid": 1589772517, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV11r421F7E8", - "pic": "http://i2.hdslb.com/bfs/archive/50b1bb8d227d17a3b6195e80128ab295d152d3be.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-20-2148551405866842_1612_gener.jpg", - "title": "【音游推荐】暑期音游推荐,不同基础都可入坑", - "duration": 311, - "pubdate": 1718891332, - "owner": { - "mid": 592146708, - "name": "Qc天水", - "face": "https://i0.hdslb.com/bfs/face/2998a9e762aa07559b2acf54234f07979c959ffe.jpg" - }, - "stat": { - "view": 278997, - "like": 6698, - "danmaku": 303, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "reason_type": 0 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1055540151, - "bvid": "BV1in4y197U4", - "cid": 1582190043, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV1in4y197U4", - "pic": "http://i2.hdslb.com/bfs/archive/9a366971fadd6e4dfd1813c42b180c8779038627.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-15-18004087071055540151_16_12_7856_crop.jpg", - "title": "我把裁判罚下场了", - "duration": 217, - "pubdate": 1718445600, - "owner": { - "mid": 475304452, - "name": "生姜蛋包饭", - "face": "https://i1.hdslb.com/bfs/face/40feee36c71f7f53931854fc54c88d530360b1a7.jpg" - }, - "stat": { - "view": 678085, - "like": 62171, - "danmaku": 832, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "content": "6万点赞", - "reason_type": 3 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1505823466, - "bvid": "BV1vS421d7No", - "cid": 1596567774, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV1vS421d7No", - "pic": "http://i2.hdslb.com/bfs/archive/b2b19b067cdbf7dd93be5fc01009e72c20572184.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-26-1241021505823466_1612_gener.jpg", - "title": "AI 视频:两小儿辩日", - "duration": 138, - "pubdate": 1719376858, - "owner": { - "mid": 589397373, - "name": "宝玉xp", - "face": "https://i0.hdslb.com/bfs/face/c2c29f6e1bb9b0860241f0df4d2cdea8242ab5d2.jpg" - }, - "stat": { - "view": 1216188, - "like": 54839, - "danmaku": 194, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "reason_type": 0 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1055744039, - "bvid": "BV1Zn4y1Q7zj", - "cid": 1575814128, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV1Zn4y1Q7zj", - "pic": "http://i0.hdslb.com/bfs/archive/5288cf0830e49de414084c4168b11033b08f8507.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-09-17404720501055744039_16_12_294_crop.jpg", - "title": "【诺子】重新“看见”世界是一种什么样的感觉?", - "duration": 579, - "pubdate": 1717926045, - "owner": { - "mid": 10276136, - "name": "诺子喵呜", - "face": "https://i2.hdslb.com/bfs/face/7e6846ed5619b945c888b8f8db5000469f6353ff.jpg" - }, - "stat": { - "view": 1016467, - "like": 97886, - "danmaku": 979, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "reason_type": 0 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - }, - { - "id": 1706215690, - "bvid": "BV1tT421k7By", - "cid": 1611364587, - "goto": "av", - "uri": "https://www.bilibili.com/video/BV1tT421k7By", - "pic": "http://i1.hdslb.com/bfs/archive/cd3308109e8726fe4147dd25ed7ca0dbeeda1dc1.jpg", - "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-07-11-00194836761706215690_16_12_3934_crop.jpg", - "title": "谷歌翻译20遍《河中石兽》泌尿系统", - "duration": 145, - "pubdate": 1720628387, - "owner": { - "mid": 1030835113, - "name": "象哥嘎", - "face": "https://i1.hdslb.com/bfs/face/aa0ae89fa72dab7b8bc082433769b1768f51c3dc.jpg" - }, - "stat": { - "view": 78600, - "like": 3437, - "danmaku": 328, - "vt": 0 - }, - "av_feature": null, - "is_followed": 0, - "rcmd_reason": { - "reason_type": 0 - }, - "show_info": 1, - "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", - "pos": 0, - "room_info": null, - "ogv_info": null, - "business_info": null, - "is_stock": 0, - "enable_vt": 0, - "vt_display": "", - "dislike_switch": 1, - "dislike_switch_pc": 0 - } + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "item": [ + { + "id": 1354614895, + "bvid": "BV1Dz42117GZ", + "cid": 1548835687, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV1Dz42117GZ", + "pic": "http://i1.hdslb.com/bfs/archive/b47154987b4c0f40a39779c09a9d485176d1238f.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/archive/b47154987b4c0f40a39779c09a9d485176d1238f.jpg", + "title": "做数学题总是抄错 | 看错 | 算错 怎么破?决定高考分数的这个非智力因素不容忽视", + "duration": 882, + "pubdate": 1715946937, + "owner": { + "mid": 374484802, + "name": "数学阮禾老师", + "face": "https://i1.hdslb.com/bfs/face/4df57e4b48b04206bce7572831688741580ca0e1.jpg" + }, + "stat": { + "view": 48250, + "like": 2959, + "danmaku": 433, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "reason_type": 0 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1255924089, + "bvid": "BV1DJ4m1u7Mp", + "cid": 1600833978, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV1DJ4m1u7Mp", + "pic": "http://i0.hdslb.com/bfs/archive/5068d860e8bbc37679ece933aa8e6d8428cfb5c1.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-07-01-1145021255924089_1612_gener.jpg", + "title": "人类这种生物,看到按钮就会按下去。", + "duration": 326, + "pubdate": 1719805500, + "owner": { + "mid": 5616993, + "name": "马夫鱼33", + "face": "https://i0.hdslb.com/bfs/face/4c2af23046147e91ce5a4af3375464fdcf1956e6.jpg" + }, + "stat": { + "view": 667067, + "like": 28529, + "danmaku": 483, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "content": "2万点赞", + "reason_type": 3 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1306020278, + "bvid": "BV1rM4m117Ry", + "cid": 1608959606, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV1rM4m117Ry", + "pic": "http://i0.hdslb.com/bfs/archive/49f62c70f17d0afe00e5e620dd366c68149c780e.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/archive/49f62c70f17d0afe00e5e620dd366c68149c780e.jpg", + "title": "Axios 前后端对接教程|HTTP", + "duration": 352, + "pubdate": 1720440325, + "owner": { + "mid": 260736087, + "name": "三分钟实验室", + "face": "https://i0.hdslb.com/bfs/face/6172aa089ed0b26ffffb72018422eb4280d4da41.jpg" + }, + "stat": { + "view": 7527, + "like": 365, + "danmaku": 1, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "reason_type": 0 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1755972439, + "bvid": "BV1g4421D7qn", + "cid": 1597039275, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV1g4421D7qn", + "pic": "http://i2.hdslb.com/bfs/archive/35ee2ffaab4206d17893a3f48cdf512b4f028fdc.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-26-21354756381755972439_16_12_5326_crop.jpg", + "title": "《我爱发明》里那些抽象发明 歹徒兴奋床!", + "duration": 659, + "pubdate": 1719408945, + "owner": { + "mid": 348989367, + "name": "沫子瞪片", + "face": "https://i0.hdslb.com/bfs/face/a2131d38a2ea73f16ff25e61dbeb40377233f552.jpg" + }, + "stat": { + "view": 1540767, + "like": 65409, + "danmaku": 5383, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "reason_type": 0 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1055953358, + "bvid": "BV1jH4y1w7A6", + "cid": 1598484848, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV1jH4y1w7A6", + "pic": "http://i1.hdslb.com/bfs/archive/accdb655b4f2bef665e6fdedb4de28de2feda078.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-28-12560692491055953358_16_12_2438_crop.jpg", + "title": "为什么一个数的5次方个位数是自己!", + "duration": 327, + "pubdate": 1719550565, + "owner": { + "mid": 483522694, + "name": "火星课堂", + "face": "https://i1.hdslb.com/bfs/face/fe751f0d7062c8e8adcef501390d48330fac0514.jpg" + }, + "stat": { + "view": 244673, + "like": 5406, + "danmaku": 210, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "reason_type": 0 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": { + "id": 0, + "contract_id": "", + "res_id": 1055953358, + "asg_id": 0, + "pos_num": 0, + "name": "", + "pic": "", + "litpic": "", + "url": "", + "style": 0, + "agency": "", + "label": "", + "intro": "", + "creative_type": 0, + "request_id": "1721098961752q172a25a216a162q1363", + "src_id": 5637, + "area": 0, + "is_ad_loc": true, + "ad_cb": "", + "title": "", + "server_type": 0, + "cm_mark": 0, + "stime": 0, + "mid": "", + "activity_type": 0, + "epid": 0, + "sub_title": "", + "ad_desc": "", + "adver_name": "", + "null_frame": false, + "pic_main_color": "", + "card_type": 0, + "business_mark": null, + "inline": { + "inline_use_same": 0, + "inline_type": 0, + "inline_url": "", + "inline_barrage_switch": 0 + }, + "operater": "", + "jump_target": 0, + "show_urls": null, + "click_urls": null + }, + "is_stock": 1, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1763571437, + "bvid": "", + "cid": 0, + "goto": "live", + "uri": "https://live.bilibili.com/1763571437", + "pic": "http://i0.hdslb.com/bfs/live/new_room_cover/f1787ef2ce4a2a031fb4a6a63b62d15493268d71.jpg", + "pic_4_3": "", + "title": "【新V】今天不要再把自己笨哭了", + "duration": 0, + "pubdate": 0, + "owner": { + "mid": 3546712666802274, + "name": "伊柒璇儿_鹤熙冠", + "face": "https://i0.hdslb.com/bfs/face/3e0ff3d7d53b9ac1a2d90ea563e22d3f70ad28cc.jpg" + }, + "stat": null, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": null, + "show_info": 0, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": { + "room_id": 1763571437, + "uid": 3546712666802274, + "live_status": 1, + "show": { + "short_id": 0, + "title": "【新V】今天不要再把自己笨哭了", + "cover": "http://i0.hdslb.com/bfs/live/new_room_cover/f1787ef2ce4a2a031fb4a6a63b62d15493268d71.jpg", + "keyframe": "http://i0.hdslb.com/bfs/live-key-frame/keyframe07161101001763571437k9l40v.jpg", + "popularity_count": 8539, + "tag_list": null, + "live_start_time": 0, + "live_id": 0, + "hidden_online": false + }, + "area": { + "area_id": 0, + "area_name": "虚拟日常", + "parent_area_id": 9, + "parent_area_name": "虚拟主播", + "old_area_id": 0, + "old_area_name": "", + "old_area_tag": "", + "area_pk_status": 0, + "is_video_room": false + }, + "watched_show": { + "switch": true, + "num": 168, + "text_small": "168", + "text_large": "168人看过", + "icon": "https://i0.hdslb.com/bfs/live/a725a9e61242ef44d764ac911691a7ce07f36c1d.png", + "icon_location": "", + "icon_web": "https://i0.hdslb.com/bfs/live/8d9d0f33ef8bf6f308742752d13dd0df731df19c.png" + } + }, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1855792572, + "bvid": "BV16s421T7CU", + "cid": 1587596195, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV16s421T7CU", + "pic": "http://i2.hdslb.com/bfs/archive/1b9d9799260a075b094212bf79e3d7ccb9e04087.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-19-14044883851855792572_16_12_7260_crop.jpg", + "title": "压缩蚊件.zip", + "duration": 66, + "pubdate": 1718777086, + "owner": { + "mid": 173947574, + "name": "好奇五先生", + "face": "https://i2.hdslb.com/bfs/face/1c69fff12a2d0d50e71931cef0486ab919a818a2.jpg" + }, + "stat": { + "view": 951633, + "like": 22930, + "danmaku": 932, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "reason_type": 0 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1405866842, + "bvid": "BV11r421F7E8", + "cid": 1589772517, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV11r421F7E8", + "pic": "http://i2.hdslb.com/bfs/archive/50b1bb8d227d17a3b6195e80128ab295d152d3be.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-20-2148551405866842_1612_gener.jpg", + "title": "【音游推荐】暑期音游推荐,不同基础都可入坑", + "duration": 311, + "pubdate": 1718891332, + "owner": { + "mid": 592146708, + "name": "Qc天水", + "face": "https://i0.hdslb.com/bfs/face/2998a9e762aa07559b2acf54234f07979c959ffe.jpg" + }, + "stat": { + "view": 278997, + "like": 6698, + "danmaku": 303, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "reason_type": 0 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1055540151, + "bvid": "BV1in4y197U4", + "cid": 1582190043, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV1in4y197U4", + "pic": "http://i2.hdslb.com/bfs/archive/9a366971fadd6e4dfd1813c42b180c8779038627.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-15-18004087071055540151_16_12_7856_crop.jpg", + "title": "我把裁判罚下场了", + "duration": 217, + "pubdate": 1718445600, + "owner": { + "mid": 475304452, + "name": "生姜蛋包饭", + "face": "https://i1.hdslb.com/bfs/face/40feee36c71f7f53931854fc54c88d530360b1a7.jpg" + }, + "stat": { + "view": 678085, + "like": 62171, + "danmaku": 832, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "content": "6万点赞", + "reason_type": 3 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1505823466, + "bvid": "BV1vS421d7No", + "cid": 1596567774, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV1vS421d7No", + "pic": "http://i2.hdslb.com/bfs/archive/b2b19b067cdbf7dd93be5fc01009e72c20572184.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-26-1241021505823466_1612_gener.jpg", + "title": "AI 视频:两小儿辩日", + "duration": 138, + "pubdate": 1719376858, + "owner": { + "mid": 589397373, + "name": "宝玉xp", + "face": "https://i0.hdslb.com/bfs/face/c2c29f6e1bb9b0860241f0df4d2cdea8242ab5d2.jpg" + }, + "stat": { + "view": 1216188, + "like": 54839, + "danmaku": 194, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "reason_type": 0 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1055744039, + "bvid": "BV1Zn4y1Q7zj", + "cid": 1575814128, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV1Zn4y1Q7zj", + "pic": "http://i0.hdslb.com/bfs/archive/5288cf0830e49de414084c4168b11033b08f8507.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-06-09-17404720501055744039_16_12_294_crop.jpg", + "title": "【诺子】重新“看见”世界是一种什么样的感觉?", + "duration": 579, + "pubdate": 1717926045, + "owner": { + "mid": 10276136, + "name": "诺子喵呜", + "face": "https://i2.hdslb.com/bfs/face/7e6846ed5619b945c888b8f8db5000469f6353ff.jpg" + }, + "stat": { + "view": 1016467, + "like": 97886, + "danmaku": 979, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "reason_type": 0 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + }, + { + "id": 1706215690, + "bvid": "BV1tT421k7By", + "cid": 1611364587, + "goto": "av", + "uri": "https://www.bilibili.com/video/BV1tT421k7By", + "pic": "http://i1.hdslb.com/bfs/archive/cd3308109e8726fe4147dd25ed7ca0dbeeda1dc1.jpg", + "pic_4_3": "http://i0.hdslb.com/bfs/aistory/2024-07-11-00194836761706215690_16_12_3934_crop.jpg", + "title": "谷歌翻译20遍《河中石兽》泌尿系统", + "duration": 145, + "pubdate": 1720628387, + "owner": { + "mid": 1030835113, + "name": "象哥嘎", + "face": "https://i1.hdslb.com/bfs/face/aa0ae89fa72dab7b8bc082433769b1768f51c3dc.jpg" + }, + "stat": { + "view": 78600, + "like": 3437, + "danmaku": 328, + "vt": 0 + }, + "av_feature": null, + "is_followed": 0, + "rcmd_reason": { + "reason_type": 0 + }, + "show_info": 1, + "track_id": "web_pegasus_4.router-web-pegasus-1554782-5c89895477-smhn8.1721098961744.133", + "pos": 0, + "room_info": null, + "ogv_info": null, + "business_info": null, + "is_stock": 0, + "enable_vt": 0, + "vt_display": "", + "dislike_switch": 1, + "dislike_switch_pc": 0 + } + ], + "side_bar_column": [ + { + "id": 25502, + "goto": "comic", + "track_id": "", + "pos": 1, + "card_type": "漫画", + "card_type_en": "comic", + "cover": "http://i0.hdslb.com/bfs/manga-static/5e410bf6f73ff87f87b543e4b918de5f024652e8.jpg", + "url": "https://manga.bilibili.com/detail/mc25502", + "title": "头文字D", + "sub_title": "", + "duration": 0, + "stats": null, + "room_info": null, + "styles": [ + "游戏竞技" ], - "side_bar_column": [ - { - "id": 25502, - "goto": "comic", - "track_id": "", - "pos": 1, - "card_type": "漫画", - "card_type_en": "comic", - "cover": "http://i0.hdslb.com/bfs/manga-static/5e410bf6f73ff87f87b543e4b918de5f024652e8.jpg", - "url": "https://manga.bilibili.com/detail/mc25502", - "title": "头文字D", - "sub_title": "", - "duration": 0, - "stats": null, - "room_info": null, - "styles": [ - "游戏竞技" - ], - "comic": { - "comic_id": 25502, - "title": "头文字D", - "horizontal_cover": "http://i0.hdslb.com/bfs/manga-static/5e410bf6f73ff87f87b543e4b918de5f024652e8.jpg", - "square_cover": "http://i0.hdslb.com/bfs/manga-static/da660f6274730af82d557f21a6247d4f6b1e300b.jpg", - "vertical_cover": "http://i0.hdslb.com/bfs/manga-static/64df8b860d2bf6bf2edd0426b4aefbff25b51386.jpg", - "is_finish": 1, - "status": 0, - "last_ord": 724, - "total": 724, - "release_time": "", - "last_short_title": "番外05", - "discount_type": 0, - "recommendation": "秋名山下坡最快的AE86神话!", - "last_read_ep_id": 0, - "latest_ep_short_title": "", - "style": [ - "游戏竞技" - ], - "author_name": [ - "重野秀一 ", - "讲谈社" - ], - "allow_wait_free": false, - "type": 0, - "rank": null, - "operate_cover": "", - "rookie_type": 0 - }, - "producer": null, - "source": "", - "av_feature": null, - "is_rec": 0, - "is_finish": 0, - "is_started": 0, - "is_play": 0, - "enable_vt": 0, - "vt_display": "" - }, - { - "id": 47800, - "goto": "ogv", - "track_id": "", - "pos": 2, - "card_type": "番剧", - "card_type_en": "bangumi", - "cover": "https://i0.hdslb.com/bfs/bangumi/image/1c61f75b571fffb8c5a2bd0396b49ce3529776f4.png", - "url": "https://www.bilibili.com/bangumi/play/ss47800", - "title": "铁甲小宝 重制版 中文配音", - "sub_title": "童年经典回归!", - "duration": 1382000, - "stats": { - "follow": 116644, - "view": 10864687, - "danmaku": 42428, - "reply": 11448, - "coin": 18904, - "series_follow": 209046, - "series_view": 17474247, - "likes": 61376, - "favorite": 116644 - }, - "room_info": null, - "new_ep": { - "id": 824212, - "index_show": "更新至第30话", - "cover": "http://i0.hdslb.com/bfs/archive/e185c054588945a1de6648ff7fb5001852df39f4.png", - "title": "30", - "long_title": "巨大机器来袭!!", - "pub_time": "2024-07-15 18:00:01", - "duration": 1382000, - "day_of_week": 1 - }, - "styles": [ - "日常", - "热血", - "搞笑", - "原创", - "特摄" - ], - "comic": null, - "producer": [ - { - "mid": 928123, - "name": "哔哩哔哩番剧", - "type": 3, - "is_contribute": 1 - } - ], - "source": "", - "av_feature": null, - "is_rec": 0, - "is_finish": 0, - "is_started": 1, - "is_play": 1, - "horizontal_cover_16_9": "https://i0.hdslb.com/bfs/bangumi/image/ec5065dc0e88417abd4792d5caa96dacc99d1d51.png", - "horizontal_cover_16_10": "https://i0.hdslb.com/bfs/bangumi/image/5cc132e336cc72e6521bba928d8a0e50bd5a6d34.png", - "enable_vt": 0, - "vt_display": "" - }, - { - "id": 48020, - "goto": "ogv", - "track_id": "", - "pos": 3, - "card_type": "国创", - "card_type_en": "guochuang", - "cover": "https://i0.hdslb.com/bfs/bangumi/image/fcb176fcbf5a66fd122fa99f9fdf2cabf22468bb.png", - "url": "https://www.bilibili.com/bangumi/play/ss48020", - "title": "不白吃古诗词漫游记 第二季", - "sub_title": "古诗词这动人的浪漫", - "duration": 179000, - "stats": { - "follow": 2173495, - "view": 325366, - "danmaku": 110, - "reply": 208, - "coin": 443, - "series_follow": 2208624, - "series_view": 3322752487, - "likes": 8794, - "favorite": 2173495 - }, - "room_info": null, - "new_ep": { - "id": 830238, - "index_show": "更新至第7话", - "cover": "http://i0.hdslb.com/bfs/archive/6db74bc8ab2670181562314a24abe525cebb7c76.jpg", - "title": "7", - "long_title": "王维当个官怎么还郁闷了?", - "pub_time": "2024-07-15 19:00:00", - "duration": 179000, - "day_of_week": 1 - }, - "styles": [ - "少儿", - "历史", - "原创", - "古风" - ], - "comic": null, - "producer": [], - "source": "", - "av_feature": null, - "is_rec": 0, - "is_finish": 0, - "is_started": 1, - "is_play": 1, - "horizontal_cover_16_9": "https://i0.hdslb.com/bfs/bangumi/image/f19013ddd7f87b0e03df10feccc4a61a3a43774a.png", - "horizontal_cover_16_10": "https://i0.hdslb.com/bfs/bangumi/image/966553b199829aae7e47882edbe053463ee85276.png", - "enable_vt": 0, - "vt_display": "" - } + "comic": { + "comic_id": 25502, + "title": "头文字D", + "horizontal_cover": "http://i0.hdslb.com/bfs/manga-static/5e410bf6f73ff87f87b543e4b918de5f024652e8.jpg", + "square_cover": "http://i0.hdslb.com/bfs/manga-static/da660f6274730af82d557f21a6247d4f6b1e300b.jpg", + "vertical_cover": "http://i0.hdslb.com/bfs/manga-static/64df8b860d2bf6bf2edd0426b4aefbff25b51386.jpg", + "is_finish": 1, + "status": 0, + "last_ord": 724, + "total": 724, + "release_time": "", + "last_short_title": "番外05", + "discount_type": 0, + "recommendation": "秋名山下坡最快的AE86神话!", + "last_read_ep_id": 0, + "latest_ep_short_title": "", + "style": [ + "游戏竞技" + ], + "author_name": [ + "重野秀一 ", + "讲谈社" + ], + "allow_wait_free": false, + "type": 0, + "rank": null, + "operate_cover": "", + "rookie_type": 0 + }, + "producer": null, + "source": "", + "av_feature": null, + "is_rec": 0, + "is_finish": 0, + "is_started": 0, + "is_play": 0, + "enable_vt": 0, + "vt_display": "" + }, + { + "id": 47800, + "goto": "ogv", + "track_id": "", + "pos": 2, + "card_type": "番剧", + "card_type_en": "bangumi", + "cover": "https://i0.hdslb.com/bfs/bangumi/image/1c61f75b571fffb8c5a2bd0396b49ce3529776f4.png", + "url": "https://www.bilibili.com/bangumi/play/ss47800", + "title": "铁甲小宝 重制版 中文配音", + "sub_title": "童年经典回归!", + "duration": 1382000, + "stats": { + "follow": 116644, + "view": 10864687, + "danmaku": 42428, + "reply": 11448, + "coin": 18904, + "series_follow": 209046, + "series_view": 17474247, + "likes": 61376, + "favorite": 116644 + }, + "room_info": null, + "new_ep": { + "id": 824212, + "index_show": "更新至第30话", + "cover": "http://i0.hdslb.com/bfs/archive/e185c054588945a1de6648ff7fb5001852df39f4.png", + "title": "30", + "long_title": "巨大机器来袭!!", + "pub_time": "2024-07-15 18:00:01", + "duration": 1382000, + "day_of_week": 1 + }, + "styles": [ + "日常", + "热血", + "搞笑", + "原创", + "特摄" ], - "business_card": null, - "floor_info": null, - "user_feature": null, - "preload_expose_pct": 0.5, - "preload_floor_expose_pct": 0.5, - "mid": 645769214 - } + "comic": null, + "producer": [ + { + "mid": 928123, + "name": "哔哩哔哩番剧", + "type": 3, + "is_contribute": 1 + } + ], + "source": "", + "av_feature": null, + "is_rec": 0, + "is_finish": 0, + "is_started": 1, + "is_play": 1, + "horizontal_cover_16_9": "https://i0.hdslb.com/bfs/bangumi/image/ec5065dc0e88417abd4792d5caa96dacc99d1d51.png", + "horizontal_cover_16_10": "https://i0.hdslb.com/bfs/bangumi/image/5cc132e336cc72e6521bba928d8a0e50bd5a6d34.png", + "enable_vt": 0, + "vt_display": "" + }, + { + "id": 48020, + "goto": "ogv", + "track_id": "", + "pos": 3, + "card_type": "国创", + "card_type_en": "guochuang", + "cover": "https://i0.hdslb.com/bfs/bangumi/image/fcb176fcbf5a66fd122fa99f9fdf2cabf22468bb.png", + "url": "https://www.bilibili.com/bangumi/play/ss48020", + "title": "不白吃古诗词漫游记 第二季", + "sub_title": "古诗词这动人的浪漫", + "duration": 179000, + "stats": { + "follow": 2173495, + "view": 325366, + "danmaku": 110, + "reply": 208, + "coin": 443, + "series_follow": 2208624, + "series_view": 3322752487, + "likes": 8794, + "favorite": 2173495 + }, + "room_info": null, + "new_ep": { + "id": 830238, + "index_show": "更新至第7话", + "cover": "http://i0.hdslb.com/bfs/archive/6db74bc8ab2670181562314a24abe525cebb7c76.jpg", + "title": "7", + "long_title": "王维当个官怎么还郁闷了?", + "pub_time": "2024-07-15 19:00:00", + "duration": 179000, + "day_of_week": 1 + }, + "styles": [ + "少儿", + "历史", + "原创", + "古风" + ], + "comic": null, + "producer": [], + "source": "", + "av_feature": null, + "is_rec": 0, + "is_finish": 0, + "is_started": 1, + "is_play": 1, + "horizontal_cover_16_9": "https://i0.hdslb.com/bfs/bangumi/image/f19013ddd7f87b0e03df10feccc4a61a3a43774a.png", + "horizontal_cover_16_10": "https://i0.hdslb.com/bfs/bangumi/image/966553b199829aae7e47882edbe053463ee85276.png", + "enable_vt": 0, + "vt_display": "" + } + ], + "business_card": null, + "floor_info": null, + "user_feature": null, + "preload_expose_pct": 0.5, + "preload_floor_expose_pct": 0.5, + "mid": 645769214 + } } ``` @@ -1348,95 +1354,324 @@ print(json.dumps(response.json(), indent=4)) 认证方式:Cookie(SESSDATA) -**url参数:** +**url参数:** 有大量不明意义的参数 备注仅供参考 -| 参数名 | 类型 | 内容 | 必要性 | 备注 | -|--------------|-----|---------------------------|-----|------------------------------| -| fnval | num | 视频流格式标识 | 非必要 | 默认为272 | -| fnver | num | 视频流版本标识 | 非必要 | 恒为1 | -| force_host | num | 源url类型 | 非必要 | 0:无限制 1:使用http 2:使用https | -| fourk | num | 是否允许 4K 视频 | 非必要 | 画质最高 1080P:0(默认)
画质最高 4K:1 | -| guidance | num | 0 | 非必要 | | -| https_url_req | num | 0 | 非必要 | | -| inline_danmu | num | 2 | 非必要 | | -| inline_sound | num | 1 | 非必要 | | -| interest_id | num | 0 | 非必要 | | -| login_event | num | 登录状态 | 非必要 | 0为登录 1为未登录 | -| mobi_app | num | android | 非必要 | 设备类型 | -| network | num | wifi | 非必要 | 网络类型 | -| open_event | num | | 非必要 | | -| platform | num | android | 非必要 | 设备类型 | -| pull | boll | false | 非必要 | | -| qn | num | 32 | 非必要 | 似乎是画质 | -| recsys_mode | num | 0 | 非必要 | | -| s_locale | str | zh_CN | 非必要 | 语言 | -| video_mode | num | 1 | 非必要 | | -| voice_balance | num | 音量均衡? | 非必要 | 默认为1 | - +| 参数名 | 类型 | 内容 | 必要性 | 备注 | +|---------------|------|------------|-----|--------------------------------------| +| fnval | num | 视频流格式标识 | 非必要 | 默认为272 | +| fnver | num | 视频流版本标识 | 非必要 | 恒为1 | +| force_host | num | 源url类型 | 非必要 | 0:无限制 1:使用http 2:使用https | +| fourk | num | 是否允许 4K 视频 | 非必要 | 画质最高 1080P:0(默认)
画质最高 4K:1 | +| guidance | num | 0 | 非必要 | | +| https_url_req | num | 0 | 非必要 | | +| inline_danmu | num | 2 | 非必要 | | +| inline_sound | num | 1 | 非必要 | | +| interest_id | num | 0 | 非必要 | | +| login_event | num | 登录状态 | 非必要 | 0为登录 1为未登录 | +| mobi_app | num | android | 非必要 | 设备类型 | +| network | num | wifi | 非必要 | 网络类型 | +| open_event | num | | 非必要 | | +| platform | num | android | 非必要 | 设备类型 | +| pull | boll | false | 非必要 | | +| qn | num | 32 | 非必要 | 似乎是画质 | +| recsys_mode | num | 0 | 非必要 | | +| s_locale | str | zh_CN | 非必要 | 语言 | +| video_mode | num | 1 | 非必要 | | +| accessKey | str | | 非必要 | 登录成功后返回的accessToken,添加此参数会返回个性化内容和横幅 | +| voice_balance | num | 音量均衡? | 非必要 | 默认为1 | **json回复:** 根对象: -| 字段 | 类型 | 内容 | 备注 | -|-------------|-------|------|----------------------| -| code | num | 返回值 | 0:成功 | -| message | str | 错误信息 | 默认为0 | -| ttl | num | 1 | | -| data | obj | | | - +| 字段 | 类型 | 内容 | 备注 | +|---------|-----|------|------| +| code | num | 返回值 | 0:成功 | +| message | str | 错误信息 | 默认为0 | +| ttl | num | 1 | | +| data | obj | | | `data`对象: -| 字段 | 类型 | 内容 | 备注 | -|-------------|-------|------|----------------------| -| config | obj | 一些界面相关的内容 | 此处省略 | -| items | array | 视频列表 | | +| 字段 | 类型 | 内容 | 备注 | +|--------|-------|-----------|------| +| config | obj | 一些界面相关的内容 | 此处省略 | +| items | array | 视频列表 | | `data`中的`items`数组的对象: 以下为视频类型 -| 字段 | 类型 | 内容 | 备注 | -|-------------|-------|------|----------------------| -| can_play | num | 1 | 字面意思 | -| card_goto | str | av | | -| card_type | str | 卡片类型 | 视频为small_cover_v2 | -| cover | str | 封面url | | -| cover_left_1_content_description | str | 播放量 | 8.9万观看 | -| cover_left_2_content_description | str | 弹幕数 | 250弹幕 | -| cover_left_text_1 | str | 播放量 | 8.9万 | -| cover_left_text_2 | str | 弹幕数 | 250 | -| cover_right_content_description | str | 视频长度 | 1分钟20秒 | -| cover_right_text | str | 视频长度 | 1:20 | -| desc_button | obj | up主信息 | | -| param | str | 视频aid | | -| player_args | obj | 视频信息 | | -| talk_back | str | | | -| title | str | 标题 | | -| uri | str | 跳转链接 | | +| 字段 | 类型 | 内容 | 备注 | +|----------------------------------|------|------------------|--------------------------------| +| can_play | num | 1 | 字面意思 | +| card_goto | str | av | 横幅时为banner | +| card_type | str | 卡片类型 | 视频为small_cover_v2,横幅为banner_v8 | +| cover | str | 封面url | | +| cover_left_1_content_description | str | 播放量 | 8.9万观看 | +| cover_left_2_content_description | str | 弹幕数 | 250弹幕 | +| cover_left_text_1 | str | 播放量 | 8.9万 | +| cover_left_text_2 | str | 弹幕数 | 250 | +| cover_right_content_description | str | 视频长度 | 1分钟20秒 | +| cover_right_text | str | 视频长度 | 1:20 | +| desc_button | obj | up主信息 | | +| param | str | 视频aid | | +| player_args | obj | 视频信息 | | +| talk_back | str | | | +| title | str | 标题 | | +| uri | str | 跳转链接 | | +| goto_icon | obj | 视频卡片左下角图标 | 视频为普通视频时出现 | +| rcmd_reason_style | obj | 左下角的'竖屏'or'2千点赞' | 视频为热门时出现 | +| banner_item | list | 横幅列表 | 登录后使用accessKey出现 包含横幅信息列表 | `desc_button`对象: -| 字段 | 类型 | 内容 | 备注 | -|-------------|-------|------|----------------------| -| event | str | | | -| text | str | up名称 | | -| type | num | 1 | | -| uri | str | 跳转链接 | | - +| 字段 | 类型 | 内容 | 备注 | +|-------|-----|------|----| +| event | str | | | +| text | str | up名称 | | +| type | num | 1 | | +| uri | str | 跳转链接 | | `player_args`对象: -| 字段 | 类型 | 内容 | 备注 | -|-------------|-------|------|----------------------| -| aid | num | 视频aid | | -| cid | num | 视频cid | | -| duration | num | 视频长度 | 秒数 | -| type | str | | | +| 字段 | 类型 | 内容 | 备注 | +|----------|-----|-------|----| +| aid | num | 视频aid | | +| cid | num | 视频cid | | +| duration | num | 视频长度 | 秒数 | +| type | str | | | +`goto_icon`对象 : + +| 字段 | 类型 | 内容 | 备注 | +|----------------|-----|-----------|----| +| icon_url | str | 图标链接 | | +| icon_night_url | str | 应该跟上面那个一样 | | +| icon_width | num | 16 | 宽度 | +| icon_height | num | 16 | 高度 | + +`rcmd_reason_style`对象 : + +| 字段 | 类型 | 内容 | 备注 | +|--------------------|-----|------------|---------| +| text | str | 1万点赞 \| 竖屏 | 文字信息 | +| text_color | str | #FF6633 | 字体颜色 | +| bg_color | str | #FFF1ED | 文本的背景颜色 | +| border_color | str | #FFF1ED | | +| text_color_night | str | #BF5330 | | +| bg_color_night | str | #3D2D29 | | +| border_color_night | str | #3D2D29 | | + +`banner_item`横幅列表内对象(内容尚未完全解读): + +为动态时 (列表索引通常为1) + +```json + { + "type": "static", + "resource_id": 4336, + "id": 1674508, + "index": 1, + "static_banner": { + "id": 1674508, + "title": "火凤燎原第二季完结!新的战神,来了!", + "image": "http://i0.hdslb.com/bfs/banner/b1fc0b68f727c2d4ea57bee154f531c3b7f13fca.png", + "hash": "a6cee3b5b1c05227159f734f68289ba5", + "uri": "https://www.bilibili.com/bangumi/play/ep1365959?goto=static_banner", + "request_id": "1745482994326q172a27a87a21q3087", + "src_id": 4337, + "is_ad_loc": true, + "client_ip": "182.89.224.34", + "server_type": 0, + "resource_id": 4336, + "index": 1, + "cm_mark": 0 + } +} +``` + +为广告时 index(列表索引通常为2) + +```json +{ + "type": "ad", + "resource_id": 4336, + "id": 0, + "index": 2, + "ad_banner": { + "id": 0, + "title": "今日全球首发,千件外观福利免费领", + "image": "https://i0.hdslb.com/bfs/sycp/creative_img/202504/bbd7cc4e6a74508e9ccee467541cc06a.jpg", + "hash": "46cbecfe04e047692acfd4a149e81ebd", + "uri": "https://qrsj.biligame.com/gcxz/h5/?sourceFrom=777&sourceType=adPut", + "request_id": "1745482994326q172a27a87a21q3087", + "creative_id": 1017846649959747584, + "src_id": 4338, + "is_ad": true, + "is_ad_loc": true, + "ad_cb": "CAAQABiAoLC1qsSHkA4gACgAMKm4TDjyIUIfMTc0NTQ4Mjk5NDMyNnExNzJhMjdhODdhMjFxMzA4N0iWpZO35jJSBuafs+W3nloG5bm/6KW/YgbkuK3lm71oAXAAeICAgICAGoABAIgBpYgEkgENMTgyLjg5LjIyNC4zNJoBj0BjcGNfcXVvdGE6Y29uc3RhbnQsZWNvbV9mb3JjZV9yZWNhbGw6YmFzZV8wNjI4XzIwLGJyYW5kX3NwbGFzaF9saXN0X2J5X3RpbWU6YnJhbmRfc3BsYXNoX2xpc3RfYnlfdGltZV80MF90dW5uZWwsdWVzX2VycWk6MTcsamtfY2FydDpqazEsZmVlZHNQcmltYXJ5TW9kZWxDb25mOmJzbDIsY29tbWVudENvbXBvbmVudEFudG91UmF0aW86YmFzZSxTbWFsbEJ1ZGdldFJhdGlvOmRlZmF1bHQsc2VhcmNoX2Fkc19jcmVhdGl2ZTpsbG1fZXhwMSxkYWlodW9fYm9vc3RfZXhwOmJvb3N0X2V4cCxzZWFyY2hfYWRzX3JlbGV2YW5jZTp0b3BfYmxhY2tsaXN0X2NhbGksc3BsYXNoX2lubmVyX291dGVyX2V4cDpiYXNlLGNjZF9leHBfZGVtbzpjY2RfYmFzZSxmcmVxUm91dGluZzpiYXNlLHZpZGVvX3RlbXBsYXRlX3N1cHBvcnQ6ZXhwMyxpYWFfb25seV9lY3BtOjAwLHRlc3RfbW9kZWxfbmFtZTpiYXNlXzExLGZseV9qdW1wX2NvbW1lbnQ6ZXhwMyxsb2dnaW5nX2FkaW5mb19saXN0OmJhc2UsdXNlTmV3WWVsbG93Q2FydFBhbm5lbDpleHAyLGhpZ2hfcXVhbGl0eV9hdmlkX3R1cm5fYmFjazpiYXNlLG5ld19kaXJlY3RfYWRtaXNzaW9uX3YyOm9wZW5fc2hvdXRhb193dWR1YW4sdHJhZGVfcmVjYWxsOmRlZmF1bHQsb3R0X2VjcG1fdGhyZDpiYXNlLGVuYWJsZV9hbHRfZGF2aW5jaTpkZWZhdWx0LGlubmVyX291dGVyX2JpZF9leHA6bmV3X3JhbmtmcmFtZV8wNDAyLG9mZmxpbmVfbWlkX2ZlYV92MjpleHAzLGRjdnJfd29ybGRfMjAyNVEyOmJhc2UxLHVuZGVyZnJhbWVfcHVsbF91cDpleHAxLGVuYWJsZV9pbmR1c3RyeV92Ml9maWx0ZXI6YmFzZSxuRmVkQmFjazE6bG9vc2UsRHBhMlJ0YVBpY2tQcm9kdWN0OnNoYXJlZF8zMCxmaWx0ZXJfY2xlYW46YmFzZSxhY2NvdW50RnJlcUNvbmY6YmFzZSxtaW5pZ2FtZV9iaWRfZXhwOmV4cF8wMzA3LHN0b3J5X2RhaWh1b19zdHlsZTpleHAsbm9fYWdlX2dlbmRlcl9leHA6YWdlMCxvdHRjb25maWc6ZXhwXzE1LE1peGVyRUNvbW1lcmNlOmVuYWJsZSxzc3BEaXJlY3REaXNwYXRjaEFkVm9FeHA6ZXhwXzIscmlza3lfYWRfb3B0OmhpZGRlbl9jb3N0XzAsc0ZCcnU6MyxCaXpNaXhlclJvdXRlcjpiaXpfbWl4ZXJfcGcsMjUzOTkxOmJhc2UsdHNtdjJfdHJhZGU6YmFzZSxmbHlfZGVxOm9yZGVyX2xpdmUsdHNtXzE6ZWR1dGFnX3JlY2FsbF8wMjA2LHJldHJpZXZlX2xvZzpvcGVuLGdkX21vZGVsOmV4cDEsY3BhX3NlYXJjaDpjcGFfdjIsdHNtdjJfc3dpbmdmbHlfb3RoZXJzY2VuZTpiYXNlLGFkeF9yZXF1ZXN0X29wdGltaXphdGlvbl90ZXN0OmRlZmF1bHQsc3RfdnZfbW9kZWw6YmFzZSxicnVzaF9kdXA6ZGVmYXVsdCxzdG9yeV9saXZlX3Z2OmRlZixpbmxpbmVfemVyb19jYXJkX2luZGV4OmV4cCxyZXFfbG9nX3JhdGlvOmJhc2UsZHBhVW5kZXJmcmFtZU5ld1N0eWxlOmV4cDIsZHluYW1pY1RpbWVvdXRNaW5zOjI0MCxtb2RlbF9jYWxpOmV4cDEsZmx5X2NwY19jYWxpX25ldzpvcmRlcl9hY2NfZXhwLGVuYWJsZVNtYXJ0Q292ZXJVcmw6YmFzZV9hYV8wMTE1LG1pbmlfZ2FtZV9sb25nX3RpbWVfZmxpcF9leHA6ZXhwX2dyb3VwLHV2X2FhOmRlZmF1bHQsYWNjb3VudF9ibGFjazpiYXNlLGFzQ29tbWVudENoZWNrRGlmZlJhdGlvRXhwOmV4cDIsY3RyX21vZGVsOmV4cF8wMSxic0R1cEFkOm9wZW4sb3JkZXJfbGF4aW46bGF4aW5fYmFzZV92Ml8xLHByb2dDcmVhRmVlZEN0cjpkaXN0X2x0cix1bmlvbl9mbHlfY3BjOmV4cDAxMjQsQ3VzdG9tQ3JlYXRpdmVTZWxlY3RFeHA6a3Vhbmd4aWFfMDQwMixuZXdCc0ZpbHRlckxvZzpvcGVuLHNlYXJjaF9xdWlja19wbGFjZW1lbnQ6ZXhwMSxib29zdF9leHA6ZXhwMyx0c212Ml9tb2RlbF9yZWNhbGw6YmFzZSxjY2RfdWVzY29yZTpjY2RfYmFzZSxkQWR4MTpvcGVuLGRhbGFvX2NhcmRfb25seV90b3A6ZXhwLGNhc3NpbmlFeHA6c21hbGxfYnVkZ2V0X2Nsb3NlLHNwbGFzaF90d2lzdF9hbmdsZV9leHA6YmFzZSx0c212Ml9vdGhlcnM6YmFzZSxzcGxhc2hNaW5JbnRlcnZhbEV4cDpiYXNlXzFoLGR5bmFtaWNfaW5kZXg6YmFzZSxyZWNhbGxfbGltaXRfcmF0aW86YmFzZSxmbHlfY3BhOmZseV92MyxnYW9uZW5nX2FidGVzdDpiYXNlLHBFTjpQUixzZWFyY2hfY3RyX21vZGVsOmV4cF95LGxpdmVfY2FyZF90YWdfbW92ZTpleHAxXzAzMTgsYmVzdENyZWF0aXZlOmVjcG0yLHN0b3J5X3N0eWxlX3NlbGVjdF9jb25mOmJhc2UyMDI1MDIyNyxjbG9zZV9zcmNfZWZmOmV4cF8wNzI1X25vX3J1bGUsMTA3MjpiYXNlLHNvZnRfYWRfZXhwOjA2LGZseV9saWtlX3RoOmNsb3NlLG1peGVyX3N0b3J5X2FkX3dlaWdodDo2LGFpZ2NfYW50b3U6TFJfYmFzZV8yMDI1MDMxNCxqZzpleHAyLHBkY3ZyX3RocmVzaG9sZDpleHAxLGRjdnJfcmV0ZW50aW9uX25ldzpjb21ib19iYXNlLHBlZ2FzdXNfbWl4ZXI6MDEsZHBhMjpiYXNlLHVuZGVyX2ZyYW1lX2VjcG1fZXhwOmJhc2UsSW5kdXN0cnlFeGNsdWRlSW5mb0NvbmZfdjI6YmFzZSxlbmFibGVfdXNlcl9mZWF0dXJlX2J1Y2tldDpiYXNlbGluZSxlY29tX3JlY2FsbDpMSFVDX0IsZW5hYmxlVGFnTW92ZVVwOmV4cDRfbW92ZV90YWdfZGlzbGlrZWFkaixhZF9icmFuZF9nZF9lbmFibGVfZGlmZjpiYXNlLGZkX3BjdHI6YmFzZV8xLDI1NzM4OmJhc2UscHJvZ0NyZWFEaWN0VmVyOmRlZmF1bHQsc2VhcmNoX3BhcmFsbGVsX3JlcV9yZWRpczpleHAxLHByb2dyYW1DcmVhdGl2ZTpkZWZhdWx0LGRwczpkZWZhdWx0LHBhZF9pbm5lcl9hZGxvYWQ6YmFzZV8yMF8wLHVuZGVyZnJhbWVfcHVsbF91cF9uZXc6YmFzZV9hYWEsY29hcnNlRXhwbG9yZUZhY3RvckNvbmY6ZGVmYXVsdCxmbHlfc3RvcnlfeWVsbG93Y2FyX3N0eWxlOnlvdXh1YW5fYmFzZV9rZmMsZmx5X2NwYV9wYzpleHAxMCxEcGFTdnJQcmVzc3VyZTpiYXNlLGNwYTpiYXNlLGJvb3N0X2JzOmJhc2UsZmx5Q2FyZFF1YWxpdHk6ZXhwNCxhbGw6Y3BjX2Nyb3dkX3RhcmdldCxmbHlfY3BhX2JvdHRvbTpjbG9zZSxSVEFfRElWSURFX0VYUF9UQUdfODkyOnJ0YV9kaXZpZGVfZXhwXzg5Ml81LEluZHVzdHJ5THRyQ29hcnNlQ29uZjpnYW1lbGl2ZSxlZGdlX3JlcmFuazpiYXNlLFJUQV9ESVZJREVfRVhQX1RBR182NTc6cnRhX2RpdmlkZV9leHBfNjU3XzQsaGVhcnRfYm94OmV4cCwyMzUzMTpub3JtYWwscHVwX25hdGl2ZV9hZDpkZWZhdWx0LG90dF9lZHVjYXRpb25fYW50b3U6ZXhwLGg1X3Y6Y29tcGFyZSx1c2VMdWFTY3JpcHQ6YmFzZSxjb2Fyc2VfZGFpaHVvOmJhc2UsZmxvd1J1bGU6b3BlbkZsb3dSdWxlQ2hlY2tTd2l0Y2gsc3Rvcnlfc3R5bGVfc2VsZWN0aW9uX2NvbmY6YmFzZTIwMjQxMTI5LG5ld192aWRlb191cF9taWRfZmlsdGVyOmJhc2UsZmx5X2NvYXJzZTpjb25zdGFudCxkZWxldGVGcmVxQ29kZTpiYXNlMyxob25nZ3VvX25vdF9zaG93X2luX2NoYXJnaW5nX3BhZ2U6YmFzZSxEcGFDcmVhdGl2ZVN0cmF0ZWd5RXhwZXJpbWVudDpzZWFyY2hfbWVyZ2VfaW1hZ2VfZXhwLHNzcF9yZXBsYXlfYXM6YmFzZSxiZnNfc2RwYV9kaXZlcnNpZnk6cmVtYWluLHNlYXJjaF9zdWJjYXJkX3N0eWxlOmZvcm1fYnV0dG9uLGJzLXg6YnMsd2hpdGVfYm94OmNsb3NlLGR1YW5qdV9hcnB1OmFkZF9ub3ZlbF8wMzI3LE1vZGVsRmVhdHVyZXNIaXZlTG9nOmNsb3NlLGZseV9zdXBfZmFjdG9yczpleHAsY2x0cmNvbmY6YnNsMyxkYXZpbmNpX3JlcV9sb2c6ZGVmYXVsdCxmbHdfbGlrZV9lbmdhZ2U6YmFzZSxzdG9yeV9jdXN0b21pemVfZGFubXU6YmFzZSxhZHhQbGF5UGFnZVJhc2lvOmV4cDAsZHBhMlByb21vdGVQcm9kdWN0TWF0ZXJpYWw6YmFzZSxsaXZlX21vZGVsOmxpdmVfYmFzZV8wNDA4LHVzZUFpR2NUaXRsZTpiYXNlLHBlZ2FzdXNfYWRsb2FkXzM6MTQsbGFuY2VyX25hdHVyZTpleHAsc3RvcnlfZGFubXVfY29uZjpkYW5tdV9udW1fMzgsdHNtdjJfdG9rZW5fc2RwYTpiYXNlLDI0aF9yb2lfYXJwdV9uZXc6c3RhbGxfYmFzZV92MyxzcGxhc2hfaGFyZF9maWx0ZXJzOmV4cCxnYW1lX2VjcG1fcm9pX2ZhY3Rvcl9zd2l0Y2g6ZXhwX291dGVyLGJ1cGNwY19nc3A6ZGVmYXVsdCxuRmVkQmFjazpsb29zZSxVbml0RGV0YWlsSW5mbzpjbG9zZSzogIHkuInov57lub/lkYrlsY/olL06YmFzZSxnZF9mb3JjZV9zZWxlY3Q6ZXhwMixjb2xkX2Jvb3RfY2xlYXJfZnJlcTpiYXNlLGdhbWVfb3Blbl9pbnRlcmVzdF9vcmllbnRhdGlvbjpleHBfb3Blbl9ib3RoLGNsb3NlX3BlcnNvbmFsX3JlY29tbWVuZF8yMDI1OmV4cF9vcGVuX2FsbF8wMjI4LFJUQV9ESVZJREVfRVhQX1RBR183MzE6cnRhX2RpdmlkZV9leHBfNzMxXzMsbm9fYWRfc2V0OmJhc2UsUlRBX0RJVklERV9FWFBfVEFHXzg1NTpydGFfZGl2aWRlX2V4cF84NTVfNyxhY2NvdW50X2V4cGxvcmVfc2hvd19saW1pdDpkZWZhdWx0LGZseV9nb29kc19jb21tZW50X3VybDpibHVlbGlua19yZXBsYWNlXzA1LG9yZGVyX2xhcmdlOmRlbGF5MSxlY3BtX3RocmVzaG9sZF9sYXllcjowOCxyZWNhbGxfdW5pdF9saW1pdDpiYXNlLFJUQV9ESVZJREVfRVhQX1RBR182NDA6cnRhX2RpdmlkZV9leHBfNjQwXzE2LGRhaWh1b1doaXRlQ29uZjp3aGl0ZV8yNDEyMDJfNSxSVEFfRElWSURFX0VYUF9UQUdfODgzOnJ0YV9kaXZpZGVfZXhwXzg4M181LGVuYWJsZUlubGluZUV4cDpiYXNlLFJUQV9ESVZJREVfRVhQX1RBR184ODg6cnRhX2RpdmlkZV9leHBfODg4XzIsaWFhX3VuaXRfZWE6ZXhwMSxTbWFsbEJ1ZGdldFRvbGVyYXRlOmV4cF83MixhdXRvX2FkX2Fzc2lzdDpiYXNlLG1peGVyX2JyYW5kX29wdDpiYXNlLGxheWVyZWRfYmlkZGluZzpiYXNlMDkyMixzdG9yeVllbGxvd0NhcnROZXc6ZXhwX2Jhc2UyXzAyMTMseHN0X2NodWRpYW46YmFzZSxkdWFuanVfbW9kZWw6ZGVmYXVsdCxnZF9waWQ6ZXhwX3JlYWQsY3BjMV9leHRlbmRlZDpxdW90YV8xMCxicnVzaF9pbm5lcjpiYXNlLHN0b3J5X3N0eWxlX3NlbGVjdDpyYW5kLGVuYWJsZV9wbGF5cGFnZV9pbmxpbmVfd3hfanVtcDpleHBfMDQwOSxkY3ZyZl8yMDI1UTE6cmV2ZXJzZSxmcmVTOmJhc2UsYWR2dl9waWRfZml4OmJhc2UsQ3JlYXRpdmVRdWFsaXR5OmF1dG8sSW5kdXN0cnlCb29zdDpnYW1lbGl2ZSxmbHlfbTppY2ViZXJnX2Jhc2UsZWNwbV9jcm93ZHNfZmlsdGVyOnRlc3QsZ2Rfc2NoZV9yYXRpbzpiYXNlLHRlc3RfbWl4ZXJfY2NkOmJhc2Usa3Vha2VfbW9iaWxlX2FudG91X3BjOmFudG91X3BjLG5ld192aWRlb19ib29zdDpkZWZhdWx0LHVuZGVyZnJhbWVfdWVzY29yZTpiYXNlLEVBX2V4cDpjbG9zZV9lYV8xMjExLGFuY2hvckFwcERvd25sb2FkU3R5bGVFeHA6YmFzZSwyMzI0NDpiYXNlLFJUQV9ESVZJREVfRVhQX1RBR183MDM6cnRhX2RpdmlkZV9leHBfNzAzXzMsZHVhbmp1X21vZGVsX2N0cjpkZWZhdWx0LGNvbG9yX21hc2s6YmFzZSxwdl9hYTpleHBfMSxwY19jbGllbnRfbm9fYWQ6bm9fYWRfYmFzZSxwcm9nQ3JlYVQ6djEuMCxuZWdhdGl2ZV9zdHJhdGVneV90ZXN0OmJhc2UsZW5hYmxlTmF0aXZlRmVlZHNUb1N0b3J5OmV4cF9oYXJkLGx0dl9pbnNfbG9nOmJhc2UxMCxmbHlfYnVfdW5kZXJmcmFtZTpiYXNlLHNwcmluZ2Zlc3RpdmFsX3N0YWJpbGl0eV9pbmR1c3RyeTpiYXNlLGdpZl9leHA6YmFzZSxjYXNlX2ludmVyc3RpZ2F0ZTpiYXNlLHByZXJhbmtfc2RwYTp4c2RqXzAxMTcscmVzZXJ2ZV9wcmljZTpnc3BfYWxsLHBheV83ZF9udW06ZXhwX2dhbWVfMSx0aW1lRnJlcTpkZWZhdWx0LGZyZXFDaGVja0R1cGxpY2F0ZTpiYXNlLFJUQV9ESVZJREVfRVhQX1RBR183MjQ6cnRhX2RpdmlkZV9leHBfNzI0XzMsc3RvcnlGbHlNb2RlbENvbmY6YWRkX2VhX2V4cCxBcHBDb2V4aXN0RmlsdGVyOmNsb3NlLHVzdWFsX2FyZWFzOmJhc2UsYXBwU3RvcmVQcmlvcml0eVhpYW9ndW9BY2NvdW50SWRzOmJhc2UsbWFiaWRfZW5hYmxlOmJhc2VfMDEwOCxSVEFfRElWSURFX0VYUF9UQUdfODM2OnJ0YV9kaXZpZGVfZXhwXzgzNl8xMCxzb2Z0X2FkOjEyLHN0b3J5X3BsYXkzc190b3VjaF9yYXRpbzpyYXRpb18xMDAsZHVhbmp1X3JldGFyZ2V0OmJhc2UsUlRBX0RJVklERV9FWFBfVEFHXzEwMzc6cnRhX2RpdmlkZV9leHBfMTAzN181LGNhdGVnb3J5X3YzOmJhc2UsaWFhM19vdXRfdXBfYWRzOmV4cF9pYWFfb3V0X3VwLHByb2dDcmVhUmFuZG9tXzE6YmFzZV9tb2RlbDAzMTksZmx5X3lzYW50b3U6YmFzZV8wODIxLGZseV9jdHJfaW5saW5lX3RhcmdldDpjbG9zZSx0ZW1wbGF0ZV9maXg6YmFzZSxicmFuZER5bmFtaWNDYXJkSW5kZXhFeHA6ZXhwLGlubGluZUVjcG06ZGVmYXVsdCxmb3JjZUV4cG9zdXJlLWNhc3Npbmk6ZGFpaHVvX29wZW5fMjMxMTAxLHNwbGFzaF9uZXdfc3R5bGVfZmlsdGVyOmRlZmF1bHQsc2VhcmNoX3RyaXRvbjpiYXNlLGN2cl9mOmluZHVzdHJ5X29wdF9leHAsaW5uZXJfb3ZlcmxvYWRfY3RybDpkZWZhdWx0LHVnX3VuaXRfbGltaXQ6ZXhwLGNsZWFuX3Nsb3Q1MHA6ZXhwLG1lcmdlX2ZpbHRlcjplbmFibGVfc3luY19wcmltYXJ5X2ZpbHRlcixoeV9hcnB1X3JvdXRlX3NwbGl0OnN0YWxsX29yX3VuZGVsZXRlZF9mZWFzX2V4cCwxNTA2OmJhc2UsZ2RGZWVkc0VuYWJsZUJydXNoOmJhc2UsaW5saW5lX2Zsb3dfbm9fYWQ6YmFzZSxlbmFibGVfbGFuY2VyX3JlY29yZF9kbXNfZmVhdHVyZTowNDE0X3Rlc3QsdW5kZXJmcmFtZV9tYXJrX3N3dGljaDpleHAxXzA0MDksQWlFeHBQbGF5UGFnZTpiYXNlXzAsMjRoX3JvaV9hcnB1OmJhc2UzLG9wZW5QcmV2aWV3OmV4cDIsZ3NwX2V4cDpzZWFyY2hfZGVmYXVsdCxydW5uaW5nX29jcGM6YmFzZSxmbHlfcmFua19jb25mX21lcmdlOmJhc2UsbHRyQXBwTG9nOmNscyxzZWFyY2hfYWRzX3F1ZXJ5X3Jld3JpdGU6Y29tYmluZV9leHAxLHJhbmtfZGl2XzE6ZGVmYXVsdCx1bmRlcmZyYW1lX2Rvd25sb2FkX2FkYnV0dG9uOmJhc2UsQnNPZmZsaW5lTG9jYWxDcGFDb25maWdOZXc6ZGVmYXVsdCx1cFNwYWNlQ2hlY2tEaWZmUmF0aW9FeHA6ZXhwX21icyxzcGxhc2hfaW50ZXJmYWNlX2Rvd25ncmFkZTpiYXNlLGZvcmJpZGRlbl9kaXJlY3RfanVtcDpiYXNlLG1pbmlnYW1lX2JvbnVzX2V4cDpyZW1haW4sZW5hYmxlQXBwc3RvcmVEaXJlY3Q6ZXhwXzEsZnJlcV9pbmZvX3JvdXRpbmc6c2hqZF9zeWNwYl9mcmVxX3Rhc2tfY2x1c3Rlcl8xLHNlYXJjaF9hZHNfbWluX2JpZDpkZWZhdWx0LG9wZW5OZXdHZFByZXZpZXc6ZXhwLGRpc2FibGVfaWxsZWdhbF9vbmVfanVtcDpiYXNlLGNvYXJzZV9xdW90YV9jb250cm9sOmJhc2VfMDMyNCxmbHlfZHluYW1pY0FudG91OmJhc2UsQWlFeHBTdG9yeTpiYXNlLGRwYTJSZWNhbGw6Y2hvb3NlX3Byb2R1Y3RzX2Jhc2VfNTAsc2VhcmNoX25ld190YXJnZXRpbmc6YmFzZSxlbmFibGVfbW9kZWxfZGV0YWlsX3RyYWNrZXI6YmFzZSxEcGEyQ1ZSVGhyZXNob2xkOmpkX2N2cl8yMDAsY3RyX3RfZXhwOnQxLjAscGNTZWFyY2g6ZXhwLGVjb21fbWFpbl9zZWFyY2g65a+554Wn57uELGNvYXJzZTpjb2Fyc2VfY3ZyX25ld2NvbnYsZnJlcV9taWdyYXRlOmV4cF9lbmdpbmVfd2l0aF9zdHJpY3RfYnJ1c2g1LHN3aXRjaEJzUGdSZXFSYXRpbzpjbG9zZSxzZWFyY2hfcmVhbHRpbWVfdHJpZ2dlcjpjb25zdGFudCxBaUV4cEZlZWRzOmJhc2UsbWJzX3JlZmFjdG9yOmV4cDIsdWVzX3NlYXJjaDpkZWZhdWx0LHVuZGVyZnJhbWVfbXVsdGlfYWRzOmJhc2UsYWlnY19hbnRvdV9pbWFnZTpiYXNlXzAzMjYsbWl4ZXJfZnVzaW9uX2RpbWVuc2lvbjpnMixyb2xsb3V0X2xpc3R3aXNlX2Jpem1peGVyX2J1Z19maXg6YmFzZSx1c2VCc0ZpbmRhOmZpbmRhX3gsZmx5X3B1cF9lY3BtOmNvbnN0YW50LGZseV9jdHJfaW5saW5lOm1vZGVsLHRlc3RfcGVnYXN1c19wb3M6YmFzZSx0ZXN0X3N0b3J5X3BhY2s6ZXhwIDIsc3RvcnlfYWRsb2FkXzM6MTQsc2RwYV9kaXZlcnNpZnk6Y29uc3RhbnQyLG1pbmlfZ2FtZV9zY2VuZTpiYXNlLGN0cl9kaWx1Y19lbWJfbGF5ZXI6ZXhwcl9lbWJfZGlsdWMscm9pX2J4aWFveW91X25ldzpkZWZhdWx0LEluZHVzdHJ5Tm9UYXJnZXRGaWx0ZXJMYXllcjpleHAsY3JlYXRpdmVfYXZpZF90YWIzOmV4cF8wNTI3LHN0eWxlX2FiaWxpdHlfb2ZmbGluZTpiYXNlLHVuZGVyZnJhbWVfYnJhbmRfaGlnaDpiYXNlLGNyb3dkX2VjcGM6b3Blbl92Mix0c21fdjJfbGF5ZXI6YmFzZSxtaXhlcl9saXN0d2lzZV9wZWdhc3VzOmc1LHVzZUFzUGc6bWFpbl8yNDEyMjcsc3BsaXRfYnVja2V0OmJ1Y2tldF8zLGdsb2JhbF9yZXZlcnNlOmJhc2UscGxhdGZvcm06ZGVmYXVsdKABALIBICjf18utGMJMWQj0kF8utyJl8gRyHD1TIq1K6aKZR3vRugFCaHR0cHM6Ly9xcnNqLmJpbGlnYW1lLmNvbS9nY3h6L2g1Lz9zb3VyY2VGcm9tPTc3NyZzb3VyY2VUeXBlPWFkUHV0wgEA0gEA2AHQAeABAOgBAPABAIACAogCALgCAMACANACANgCAOoCAPACrIYl+AIAiAMGkgMAqAMAsAMAuAMAwgMAyAMX0gOWAXsiMTYiOiIxMjE1NDYwXzAiLCIxNyI6IjQzMzYiLCIxIjoiMTAxNzg0NjY0OTk1OTc0NzU4NCIsIjIiOiIxMjUyMzkzIiwiMyI6IjEyNTIzOTMiLCI2IjoiMTI1MjM5M18wIiwiMTIiOiI0MzM4IiwiMTMiOiIxMjE1NDYwIiwiMTQiOiI4ODciLCIxNSI6IjEzNjkifeADAOgDAPADAPoDBW90aGVyggQJbnVsbDpudWxsmAQAoAQAqgQECAAQBLAEAOIEwwE1Ni57InBzSWQiOjUyMTE4LCJ2MiI6IkFXVXMyZTBidEhmWTVCSzJ0LUQ0U3lNRGJtN2Z1SGIyYmlIREhsTnBjQlB1U2dVRzdLaW80dUkyNXlSdFJXQU5WUnRMbll1OVpxOElrdkVYZURfUmlER25BeTE0UV9CMlAtSzJmQ3pzMWZLQmY5WjZPUSJ9OzYzLnsicHNJZCI6NTIwNjYsInYyIjoiUWcifTs3MC57InBzSWQiOjUwMDQxLCJ2MiI6IktBIn2gBQDIBQPSBQA=", + "client_ip": "182.89.224.34", + "server_type": 1, + "resource_id": 4336, + "index": 2, + "cm_mark": 1, + "extra": { + "use_ad_web_v2": false, + "show_urls": [ + "" + ], + "click_urls": [], + "download_whitelist": [], + "card": { + "card_type": 0, + "title": "今日全球首发,千件外观福利免费领", + "covers": [ + { + "url": "https://i0.hdslb.com/bfs/sycp/creative_img/202504/bbd7cc4e6a74508e9ccee467541cc06a.jpg", + "loop": 0, + "image_height": 0, + "image_width": 0, + "gif_tag_show": false, + "jump_url": "", + "title": "", + "desc": "" + } + ], + "jump_url": "https://qrsj.biligame.com/gcxz/h5/?sourceFrom=777&sourceType=adPut", + "desc": "", + "callup_url": "", + "long_desc": "", + "ad_tag": "", + "extra_desc": "", + "universal_app": "", + "duration": "", + "adver": { + "adver_id": 1252393, + "adver_type": 3 + }, + "extreme_team_status": false, + "support_transition": false, + "under_player_interaction_style": 0, + "referral_pop_active_time": 10000, + "grade_denominator": 0, + "star_level": 0, + "live_booking_population_threshold": 0, + "ori_mark_hidden": 0, + "use_multi_cover": false, + "custom_feedback_panels": [], + "yellow_cart_pannel_pullup": 0, + "yellow_cart_pannel_version": 0, + "goods_item_id": 0, + "story_interaction_style": 0, + "videos": [], + "download_area": 0, + "goods_pannel_show": 0, + "goods_panel_show": 0, + "show_pop_window": 0, + "search_show_adbutton": 0, + "jump_interaction_style": 0, + "live_page_type": 0, + "ad_tag_style": { + "type": 4, + "text": "", + "text_color": "", + "bg_border_color": "", + "bg_color": "", + "border_color": "", + "img_url": "https://i0.hdslb.com/bfs/sycp/mng/202408/34463051f8d45a6d3c20f8aff31aad9b.png", + "img_height": 48, + "img_width": 72 + }, + "feedback_panel": { + "panel_type_text": "广告", + "feedback_panel_detail": [], + "toast": "将减少相似广告推荐", + "close_rec_tips": "操作成功", + "open_rec_tips": "将减少展示此类广告" + }, + "fold_time": 0, + "live_room_popularity": 0, + "live_tag_show": false, + "quality_infos": [], + "dynamic_text": "今日全球首发,千件外观福利免费领", + "choose_button_list": [], + "grade_level": 0, + "anim_in_enable": 0, + "underframe_card_style": 0, + "playpage_card_style": 0, + "live_auto_play": false, + "original_style_level": 0, + "live_card_show": false, + "enable_tag_move_up": 0, + "item_source": 0, + "closed_loop_item": 0, + "desc_type": 0, + "comment_use_game_page": 0, + "story_takeoff_interaction_style": 0 + }, + "report_time": 2000, + "sales_type": 31, + "special_industry": false, + "preload_landingpage": 0, + "enable_share": true, + "share_info": { + "title": "今日全球首发,千件外观福利免费领", + "subtitle": "", + "image_url": "https://i0.hdslb.com/bfs/sycp/creative_img/202504/3eba2979cb9525f14633a39c9f2ec2ab.jpg" + }, + "upzone_entrance_type": 0, + "upzone_entrance_report_id": 0, + "click_area": 0, + "shop_id": 0, + "up_mid": 0, + "track_id": "pbaes.DXUvRhr8IAhiFZ60KoOBStL0Na80m-kKS6CwFKDBtlzOwGJZu7il0VbEU3j2A_dZ96EXDGonAHs9Qx-5X2XbovyGP-xL4lyr_c_3rDZs4q3frmVjEGhu2VPOE5MRHF3AdryKsZiIGCl_f6ZD0y-cNQ==", + "enable_store_direct_launch": 0, + "enable_double_jump": false, + "from_track_id": "all_49.router-pegasus-2021478-7d7955f987-td5kj.1745482993998.1007", + "store_callup_card": false, + "enable_h5_alert": false, + "special_industry_style": 0, + "macro_replace_priority": 1, + "feedback_panel_style": 0, + "ad_content_type": 0, + "enable_h5_pre_load": 0, + "hot_activity_id": 0, + "middle_show_urls": [], + "middle_click_urls": [], + "product_id": 0, + "landingpage_download_style": 2, + "download_url_type": 0, + "enable_auto_callup": 0, + "top_live_stay_time_seconds": 0, + "vipshop_fast_framework": 0, + "lottery_id": 0, + "enable_openapk_dialog": false, + "user_cancel_jump_type": 0, + "comment_toast_open": 0, + "comment_biz_type": 0, + "app_exp_params": "{\"pegasus_live_inline_background_fill\":0,\"story_live_goods_card_style\":{\"first_type\":1,\"second_type\":2,\"delay_time\":3000}}" + } + } +} +``` + +为普通视频时 则对应最开始的视频类型 也就是 + +```json +{ + "card_type": "small_cover_v2", + "card_goto": "av", + "goto": "av", + "param": "114375012651120", + "cover": "http://i1.hdslb.com/bfs/archive/05ec862caac777f9d7d06175becf0413b9c653ee.jpg", + "title": "「小白」红米Turbo 4 Pro 性能体验:首台8sGen4量产机表现如何?", + "uri": "bilibili://video/114375012651120?cid=29550644277&player_height=1890&player_preload=%7B%22expire_time%22%3A1745486594%2C%22cid%22%3A29550644277%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A2121663%2C%22timelength%22%3A230900%7D%5D%7D%2C%2232%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A3606019%2C%22timelength%22%3A230900%7D%5D%7D%2C%2264%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A6733527%2C%22timelength%22%3A230900%7D%5D%7D%2C%2280%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A10362311%2C%22timelength%22%3A230900%7D%5D%7D%7D%2C%22video_codecid%22%3A7%2C%22video_project%22%3Atrue%2C%22dash%22%3A%7B%22video%22%3A%5B%7B%22id%22%3A32%2C%22base_url%22%3A%22http%3A%2F%2F123.184.35.33%3A8000%2Fv1%2Fresource%2F29550644277-1-100047.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D125426%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50007224%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3D158098%5Cu0026tag%3D%5Cu0026traceid%3DtrANPsmzTXNczh_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Ctag%252Cnbs%252Coi%252Cplatform%252Ctrid%252Cmid%252Cdeadline%252Cuipk%252Cgen%252Cos%252Cog%5Cu0026upsig%3Df6ea272dedd17383c1a7c43a39471036%22%2C%22bandwidth%22%3A124895%2C%22codecid%22%3A7%2C%22size%22%3A3606019%2C%22frame_rate%22%3A%2224.991%22%2C%22backup_url%22%3A%5B%22http%3A%2F%2F211.141.224.92%3A4480%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-100047.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026tag%3D%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026platform%3Dandroid%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026uipk%3D5%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dmcdn%5Cu0026og%3Dcos%5Cu0026upsig%3Df6ea272dedd17383c1a7c43a39471036%5Cu0026uparams%3De%2Ctag%2Cnbs%2Coi%2Cplatform%2Ctrid%2Cmid%2Cdeadline%2Cuipk%2Cgen%2Cos%2Cog%5Cu0026mcdnid%3D50007224%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D125426%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026orderid%3D0%2C3%22%2C%22http%3A%2F%2Fupos-sz-estgoss.bilivideo.com%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-100047.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026tag%3D%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dupos%5Cu0026og%3Dcos%5Cu0026trid%3D56fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026platform%3Dandroid%5Cu0026upsig%3D464e03491d78d3249012e6c9affbb768%5Cu0026uparams%3De%2Ctag%2Cgen%2Cos%2Cog%2Ctrid%2Cmid%2Cdeadline%2Cnbs%2Coi%2Cuipk%2Cplatform%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D125426%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026orderid%3D1%2C3%22%5D%2C%22audio_id%22%3A30216%7D%2C%7B%22id%22%3A32%2C%22base_url%22%3A%22http%3A%2F%2F59.47.230.23%3A8000%2Fv1%2Fresource%2F29550644277-1-30033.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D131973%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50007224%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3D2d5ae2%5Cu0026tag%3D%5Cu0026traceid%3DtrQICyqgrXBqnY_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cnbs%252Coi%252Cuipk%252Cmid%252Cdeadline%252Cog%252Cplatform%252Ctrid%252Ctag%252Cgen%252Cos%5Cu0026upsig%3D855d6f99090897394e531af9d9cc6dc8%22%2C%22bandwidth%22%3A131411%2C%22codecid%22%3A12%2C%22size%22%3A3794237%2C%22frame_rate%22%3A%2224.991%22%2C%22backup_url%22%3A%5B%22http%3A%2F%2F122.191.18.170%3A8000%2Fv1%2Fresource%2F29550644277-1-30033.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D131973%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3Dcoso1bv%5Cu0026platform%3Dandroid%5Cu0026sign%3D2d5ae2%5Cu0026tag%3D%5Cu0026traceid%3DtrxqpZsZboLcyN_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cuipk%252Cplatform%252Ctag%252Cos%252Cog%252Cnbs%252Coi%252Ctrid%252Cmid%252Cdeadline%252Cgen%5Cu0026upsig%3D42f974aacd3f2a9a6ba659f11e469614%22%2C%22http%3A%2F%2F211.141.224.92%3A4480%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-30033.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026og%3Dcos%5Cu0026platform%3Dandroid%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026tag%3D%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dmcdn%5Cu0026upsig%3D855d6f99090897394e531af9d9cc6dc8%5Cu0026uparams%3De%2Cnbs%2Coi%2Cuipk%2Cmid%2Cdeadline%2Cog%2Cplatform%2Ctrid%2Ctag%2Cgen%2Cos%5Cu0026mcdnid%3D50007224%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D131973%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026orderid%3D0%2C3%22%5D%2C%22audio_id%22%3A30216%7D%5D%2C%22audio%22%3A%5B%7B%22id%22%3A30216%2C%22base_url%22%3A%22http%3A%2F%2F121.31.234.218%3A8000%2Fv1%2Fresource%2F29550644277-1-30216.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43505%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50007224%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3Db0263a%5Cu0026tag%3D%5Cu0026traceid%3DtrDHNJjmfaaueG_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cplatform%252Ctrid%252Cmid%252Cdeadline%252Cnbs%252Cgen%252Coi%252Cuipk%252Ctag%252Cos%252Cog%5Cu0026upsig%3De92887e43514a81bad4594c670c509d1%22%2C%22bandwidth%22%3A43292%2C%22size%22%3A1250775%2C%22backup_url%22%3A%5B%22http%3A%2F%2F211.141.225.131%3A8000%2Fv1%2Fresource%2F29550644277-1-30216.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43505%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3D08hbv%5Cu0026platform%3Dandroid%5Cu0026sign%3Db0263a%5Cu0026tag%3D%5Cu0026traceid%3DtrnTeKCShifUBc_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cgen%252Cog%252Cdeadline%252Ctag%252Cnbs%252Cplatform%252Ctrid%252Cos%252Cmid%252Coi%252Cuipk%5Cu0026upsig%3D313f602e2d41ebe9637a95fc20bceb93%22%2C%22http%3A%2F%2F211.141.224.92%3A4480%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-30216.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026platform%3Dandroid%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026nbs%3D1%5Cu0026gen%3Dplayurlv3%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026tag%3D%5Cu0026os%3Dmcdn%5Cu0026og%3Dhw%5Cu0026upsig%3De92887e43514a81bad4594c670c509d1%5Cu0026uparams%3De%2Cplatform%2Ctrid%2Cmid%2Cdeadline%2Cnbs%2Cgen%2Coi%2Cuipk%2Ctag%2Cos%2Cog%5Cu0026mcdnid%3D50007224%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D43505%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026orderid%3D0%2C3%22%5D%7D%2C%7B%22id%22%3A30280%2C%22base_url%22%3A%22http%3A%2F%2F211.97.94.165%3A8000%2Fv1%2Fresource%2F29550644277-1-30280.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43504%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50007224%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3D3f3ed4%5Cu0026tag%3D%5Cu0026traceid%3DtrQHmKzoFdDeCw_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cuipk%252Ctag%252Cnbs%252Cgen%252Cos%252Cog%252Coi%252Cplatform%252Ctrid%252Cmid%252Cdeadline%5Cu0026upsig%3D808cd1429841f75b1ccd7ccdc5de7bc3%22%2C%22bandwidth%22%3A43292%2C%22size%22%3A1250767%2C%22backup_url%22%3A%5B%22http%3A%2F%2F123.184.35.19%3A8000%2Fv1%2Fresource%2F29550644277-1-30280.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43504%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3Dupos%5Cu0026platform%3Dandroid%5Cu0026sign%3D3f3ed4%5Cu0026tag%3D%5Cu0026traceid%3DtrtSntUkmmkWVz_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cplatform%252Ctag%252Cnbs%252Cog%252Ctrid%252Cmid%252Cdeadline%252Coi%252Cuipk%252Cgen%252Cos%5Cu0026upsig%3D070e2e2176dd7e2d87777b20161c8d1f%22%2C%22http%3A%2F%2F211.141.224.92%3A4480%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-30280.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026uipk%3D5%5Cu0026tag%3D%5Cu0026nbs%3D1%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dmcdn%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026platform%3Dandroid%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026upsig%3D808cd1429841f75b1ccd7ccdc5de7bc3%5Cu0026uparams%3De%2Cuipk%2Ctag%2Cnbs%2Cgen%2Cos%2Cog%2Coi%2Cplatform%2Ctrid%2Cmid%2Cdeadline%5Cu0026mcdnid%3D50007224%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D43504%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026orderid%3D0%2C3%22%5D%7D%2C%7B%22id%22%3A30232%2C%22base_url%22%3A%22http%3A%2F%2F125.106.124.64%3A8000%2Fv1%2Fresource%2F29550644277-1-30232.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43504%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50007224%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3D3ad163%5Cu0026tag%3D%5Cu0026traceid%3DtrsSvqSMaoCcOa_1_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Ctag%252Cuipk%252Cgen%252Cos%252Cog%252Ctrid%252Cmid%252Cdeadline%252Cnbs%252Coi%252Cplatform%5Cu0026upsig%3D219bdbd1641753ddc8555f788bc21711%22%2C%22bandwidth%22%3A43292%2C%22size%22%3A1250767%2C%22backup_url%22%3A%5B%22http%3A%2F%2F220.200.12.159%3A5889%2Fv1%2Fresource%2F29550644277-1-30232.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43504%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3D08hbv%5Cu0026platform%3Dandroid%5Cu0026sign%3D3ad163%5Cu0026tag%3D%5Cu0026traceid%3DtrQVqwCtxAuTKK_2_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Ctag%252Coi%252Ctrid%252Cdeadline%252Cgen%252Cos%252Cnbs%252Cuipk%252Cplatform%252Cmid%252Cog%5Cu0026upsig%3Dc45e0be8a46a1b1456b066fc447dcf4a%22%2C%22http%3A%2F%2F211.141.224.92%3A4480%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-30232.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026tag%3D%5Cu0026uipk%3D5%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dmcdn%5Cu0026og%3Dhw%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026platform%3Dandroid%5Cu0026upsig%3D219bdbd1641753ddc8555f788bc21711%5Cu0026uparams%3De%2Ctag%2Cuipk%2Cgen%2Cos%2Cog%2Ctrid%2Cmid%2Cdeadline%2Cnbs%2Coi%2Cplatform%5Cu0026mcdnid%3D50007224%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D43504%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026orderid%3D0%2C3%22%5D%7D%5D%7D%2C%22fnval%22%3A272%2C%22accept_formats%22%3A%5B%7B%22quality%22%3A116%2C%22format%22%3A%22flv_p60%22%2C%22description%22%3A%22%E9%AB%98%E6%B8%85%201080P60%22%2C%22new_description%22%3A%221080P%2060%E5%B8%A7%22%2C%22display_desc%22%3A%221080P%22%2C%22superscript%22%3A%2260%E5%B8%A7%22%2C%22need_vip%22%3Atrue%2C%22need_login%22%3Atrue%7D%2C%7B%22quality%22%3A80%2C%22format%22%3A%22flv%22%2C%22description%22%3A%22%E9%AB%98%E6%B8%85%201080P%22%2C%22new_description%22%3A%221080P%20%E9%AB%98%E6%B8%85%22%2C%22display_desc%22%3A%221080P%22%2C%22need_login%22%3Atrue%7D%2C%7B%22quality%22%3A64%2C%22format%22%3A%22flv720%22%2C%22description%22%3A%22%E9%AB%98%E6%B8%85%20720P%22%2C%22new_description%22%3A%22720P%20%E5%87%86%E9%AB%98%E6%B8%85%22%2C%22display_desc%22%3A%22720P%22%2C%22need_login%22%3Atrue%7D%2C%7B%22quality%22%3A32%2C%22format%22%3A%22flv480%22%2C%22description%22%3A%22%E6%B8%85%E6%99%B0%20480P%22%2C%22new_description%22%3A%22480P%20%E6%A0%87%E6%B8%85%22%2C%22display_desc%22%3A%22480P%22%7D%2C%7B%22quality%22%3A16%2C%22format%22%3A%22mp4%22%2C%22description%22%3A%22%E6%B5%81%E7%95%85%20360P%22%2C%22new_description%22%3A%22360P%20%E6%B5%81%E7%95%85%22%2C%22display_desc%22%3A%22360P%22%7D%5D%2C%22volume%22%3A%7B%22measured_i%22%3A-18.2%2C%22measured_lra%22%3A5.9%2C%22measured_tp%22%3A-1.3%2C%22measured_threshold%22%3A-28.3%2C%22target_offset%22%3A0.5%2C%22target_i%22%3A-14%2C%22target_tp%22%3A-1%2C%22multi_scene_args%22%3A%7B%22high_dynamic_target_i%22%3A%22-24%22%2C%22normal_target_i%22%3A%22-14%22%2C%22undersized_target_i%22%3A%22-28%22%7D%7D%2C%22union_player%22%3A%7B%22biz_type%22%3A1%2C%22dimension%22%3A%7B%22width%22%3A4096%2C%22height%22%3A1890%7D%2C%22aid%22%3A114375012651120%7D%2C%22auto_qn_ctl%22%3A%7B%22login_half%22%3A32%2C%22nologin_half%22%3A32%2C%22login_full%22%3A80%2C%22nologin_full%22%3A32%2C%22mobile_login_full%22%3A80%2C%22mobile_nologin_full%22%3A32%7D%2C%22qn_exp%22%3A%7B%22qn_exp_1%22%3Atrue%7D%7D&player_rotate=0&player_width=4096&report_flow_data=%7B%22flow_card_type%22%3A%22av%22%2C%22flow_source%22%3A%22click_u2i%24ann_dssm_u2i_28d%24dssm_u2u%22%7D&trackid=all_49.router-pegasus-2021478-7d7955f987-td5kj.1745482993998.1007" + ... +} +``` **示例:** @@ -1451,385 +1686,995 @@ curl -G 'https://app.bilibili.com/x/v2/feed/index' ```json { - "code": 0, - "message": "0", - "ttl": 1, - "data": { - "items": [ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "items": [ + { + "card_type": "small_cover_v2", + "card_goto": "av", + "goto": "av", + "param": "411978753", + "cover": "http://i2.hdslb.com/bfs/archive/a1bda1e57e6812ca8822a8839fc4a1d3539255a8.jpg", + "title": "帕 鲁 现 状", + "uri": "bilibili://video/411978753?cid=1423365216\u0026player_height=1920\u0026player_preload=%7B%22cid%22%3A1423365216%2C%22expire_time%22%3A1706633200%2C%22file_info%22%3A%7B%2216%22%3A%5B%7B%22timelength%22%3A79970%2C%22filesize%22%3A3782665%7D%5D%2C%2264%22%3A%5B%7B%22timelength%22%3A79900%2C%22filesize%22%3A9552030%7D%5D%7D%2C%22support_quality%22%3Anull%2C%22support_formats%22%3Anull%2C%22support_description%22%3Anull%2C%22quality%22%3A16%2C%22url%22%3A%22http%3A%2F%2Fcn-gdst-cm-01-12.bilivideo.com%2Fupgcxcode%2F16%2F52%2F1423365216%2F1423365216-1-16.mp4%3Fe%3Dig8euxZM2rNcNbRVhwdVhwdlhWdVhwdVhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8gNEVE5XREto8z5JZC2X2gkX5L5F1eTX1jkXlsTXHeux_f2o859IB_%5Cu0026uipk%3D5%5Cu0026nbs%3D1%5Cu0026deadline%3D1706636800%5Cu0026gen%3Dplayurlv2%5Cu0026os%3Dbcache%5Cu0026oi%3D0%5Cu0026trid%3D00000ccc07d4b7a34140a25493d51003bd95U%5Cu0026mid%3D0%5Cu0026platform%3D%5Cu0026upsig%3D2bf8e99202a181300981ab6ba9d2305d%5Cu0026uparams%3De%2Cuipk%2Cnbs%2Cdeadline%2Cgen%2Cos%2Coi%2Ctrid%2Cmid%2Cplatform%5Cu0026cdnid%3D6876%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026orderid%3D0%2C3%5Cu0026buvid%3D%5Cu0026build%3D0%5Cu0026f%3DU_0_0%5Cu0026bw%3D47881%5Cu0026logo%3D80000000%22%2C%22video_codecid%22%3A7%2C%22video_project%22%3Atrue%2C%22fnver%22%3A0%2C%22fnval%22%3A0%7D\u0026player_rotate=0\u0026player_width=1080\u0026report_flow_data=%7B%22flow_card_type%22%3A%22av%22%7D", + "three_point": { + "dislike_reasons": [ { - "card_type": "small_cover_v2", - "card_goto": "av", - "goto": "av", - "param": "411978753", - "cover": "http://i2.hdslb.com/bfs/archive/a1bda1e57e6812ca8822a8839fc4a1d3539255a8.jpg", - "title": "帕 鲁 现 状", - "uri": "bilibili://video/411978753?cid=1423365216\u0026player_height=1920\u0026player_preload=%7B%22cid%22%3A1423365216%2C%22expire_time%22%3A1706633200%2C%22file_info%22%3A%7B%2216%22%3A%5B%7B%22timelength%22%3A79970%2C%22filesize%22%3A3782665%7D%5D%2C%2264%22%3A%5B%7B%22timelength%22%3A79900%2C%22filesize%22%3A9552030%7D%5D%7D%2C%22support_quality%22%3Anull%2C%22support_formats%22%3Anull%2C%22support_description%22%3Anull%2C%22quality%22%3A16%2C%22url%22%3A%22http%3A%2F%2Fcn-gdst-cm-01-12.bilivideo.com%2Fupgcxcode%2F16%2F52%2F1423365216%2F1423365216-1-16.mp4%3Fe%3Dig8euxZM2rNcNbRVhwdVhwdlhWdVhwdVhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8gNEVE5XREto8z5JZC2X2gkX5L5F1eTX1jkXlsTXHeux_f2o859IB_%5Cu0026uipk%3D5%5Cu0026nbs%3D1%5Cu0026deadline%3D1706636800%5Cu0026gen%3Dplayurlv2%5Cu0026os%3Dbcache%5Cu0026oi%3D0%5Cu0026trid%3D00000ccc07d4b7a34140a25493d51003bd95U%5Cu0026mid%3D0%5Cu0026platform%3D%5Cu0026upsig%3D2bf8e99202a181300981ab6ba9d2305d%5Cu0026uparams%3De%2Cuipk%2Cnbs%2Cdeadline%2Cgen%2Cos%2Coi%2Ctrid%2Cmid%2Cplatform%5Cu0026cdnid%3D6876%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026orderid%3D0%2C3%5Cu0026buvid%3D%5Cu0026build%3D0%5Cu0026f%3DU_0_0%5Cu0026bw%3D47881%5Cu0026logo%3D80000000%22%2C%22video_codecid%22%3A7%2C%22video_project%22%3Atrue%2C%22fnver%22%3A0%2C%22fnval%22%3A0%7D\u0026player_rotate=0\u0026player_width=1080\u0026report_flow_data=%7B%22flow_card_type%22%3A%22av%22%7D", - "three_point": { - "dislike_reasons": [ - { - "id": 4, - "name": "UP主:锤子game", - "toast": "将减少相似内容推荐" - }, - { - "id": 2, - "name": "分区:网络游戏", - "toast": "将减少相似内容推荐" - }, - { - "id": 3, - "name": "频道:搞笑", - "toast": "将减少相似内容推荐" - }, - { - "id": 12, - "name": "此类内容过多", - "toast": "将减少相似内容推荐" - }, - { - "id": 13, - "name": "推荐过", - "toast": "将减少相似内容推荐" - }, - { - "id": 1, - "name": "不感兴趣", - "toast": "将减少相似内容推荐" - } - ], - "feedbacks": [ - { - "id": 1, - "name": "恐怖血腥", - "toast": "将优化首页此类内容" - }, - { - "id": 2, - "name": "色情低俗", - "toast": "将优化首页此类内容" - }, - { - "id": 3, - "name": "封面恶心", - "toast": "将优化首页此类内容" - }, - { - "id": 4, - "name": "标题党/封面党", - "toast": "将优化首页此类内容" - } - ], - "watch_later": 1 - }, - "args": { - "up_id": 495695169, - "up_name": "锤子game", - "rid": 65, - "rname": "网络游戏", - "tid": 1833, - "tname": "搞笑", - "aid": 411978753 - }, - "player_args": { - "aid": 411978753, - "cid": 1423365216, - "type": "av", - "duration": 80 - }, - "idx": 1706629610, - "three_point_v2": [ - { - "title": "添加至稍后再看", - "type": "watch_later", - "icon": "https://i0.hdslb.com/bfs/activity-plat/static/ce06d65bc0a8d8aa2a463747ce2a4752/NyPAqcn0QF.png" - }, - { - "title": "反馈", - "subtitle": "(选择后将优化首页此类内容)", - "reasons": [ - { - "id": 1, - "name": "恐怖血腥", - "toast": "将优化首页此类内容" - }, - { - "id": 2, - "name": "色情低俗", - "toast": "将优化首页此类内容" - }, - { - "id": 3, - "name": "封面恶心", - "toast": "将优化首页此类内容" - }, - { - "id": 4, - "name": "标题党/封面党", - "toast": "将优化首页此类内容" - } - ], - "type": "feedback" - }, - { - "title": "不感兴趣", - "subtitle": "(选择后将减少相似内容推荐)", - "reasons": [ - { - "id": 4, - "name": "UP主:锤子game", - "toast": "将减少相似内容推荐" - }, - { - "id": 2, - "name": "分区:网络游戏", - "toast": "将减少相似内容推荐" - }, - { - "id": 3, - "name": "频道:搞笑", - "toast": "将减少相似内容推荐" - }, - { - "id": 12, - "name": "此类内容过多", - "toast": "将减少相似内容推荐" - }, - { - "id": 13, - "name": "推荐过", - "toast": "将减少相似内容推荐" - }, - { - "id": 1, - "name": "不感兴趣", - "toast": "将减少相似内容推荐" - } - ], - "type": "dislike" - } - ], - "talk_back": "视频,帕 鲁 现 状,32.5万观看,257弹幕,时长1分钟20秒,UP主锤子game,", - "report_flow_data": "{\"flow_card_type\":\"av\"}", - "cover_left_text_1": "32.5万", - "cover_left_icon_1": 1, - "cover_left_1_content_description": "32.5万观看", - "cover_left_text_2": "257", - "cover_left_icon_2": 3, - "cover_left_2_content_description": "257弹幕", - "cover_right_text": "1:20", - "cover_right_content_description": "1分钟20秒", - "desc_button": { - "text": "锤子game", - "uri": "bilibili://space/495695169", - "event": "nickname", - "type": 1 - }, - "official_icon": 16, - "can_play": 1, - "goto_icon": { - "icon_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/077GOeHOfO.png", - "icon_night_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/ldbCXtkoK2.png", - "icon_width": 16, - "icon_height": 16 - } + "id": 4, + "name": "UP主:锤子game", + "toast": "将减少相似内容推荐" }, { - "card_type": "small_cover_v2", - "card_goto": "av", - "goto": "av", - "param": "836990443", - "cover": "http://i1.hdslb.com/bfs/archive/d16a125d6ec1c68cc9e0815bc28dcb62a1df9932.jpg", - "title": "【Phigros自制/崩坏:星穹铁道】欢迎来到匹诺康尼! 不眠之夜 IN Lv.13", - "uri": "bilibili://video/836990443?cid=1422516399\u0026player_height=1080\u0026player_preload=%7B%22cid%22%3A1422516399%2C%22expire_time%22%3A1706633200%2C%22file_info%22%3A%7B%2216%22%3A%5B%7B%22timelength%22%3A102818%2C%22filesize%22%3A4441802%7D%5D%2C%2264%22%3A%5B%7B%22timelength%22%3A102748%2C%22filesize%22%3A12468618%7D%5D%7D%2C%22support_quality%22%3Anull%2C%22support_formats%22%3Anull%2C%22support_description%22%3Anull%2C%22quality%22%3A16%2C%22url%22%3A%22http%3A%2F%2Fupos-sz-mirrorali.bilivideo.com%2Fupgcxcode%2F99%2F63%2F1422516399%2F1422516399-1-16.mp4%3Fe%3Dig8euxZM2rNcNbRVhwdVhwdlhWdVhwdVhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8gNEVE5XREto8z5JZC2X2gkX5L5F1eTX1jkXlsTXHeux_f2o859IB_%5Cu0026uipk%3D5%5Cu0026nbs%3D1%5Cu0026deadline%3D1706636800%5Cu0026gen%3Dplayurlv2%5Cu0026os%3Dalibv%5Cu0026oi%3D0%5Cu0026trid%3D0ccc07d4b7a34140a25493d51003bd95U%5Cu0026mid%3D0%5Cu0026platform%3D%5Cu0026upsig%3D06ea793aa573018646c0096adf0dcb9e%5Cu0026uparams%3De%2Cuipk%2Cnbs%2Cdeadline%2Cgen%2Cos%2Coi%2Ctrid%2Cmid%2Cplatform%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026orderid%3D0%2C3%5Cu0026buvid%3D%5Cu0026build%3D0%5Cu0026f%3DU_0_0%5Cu0026bw%3D43547%5Cu0026logo%3D80000000%22%2C%22video_codecid%22%3A7%2C%22video_project%22%3Atrue%2C%22fnver%22%3A0%2C%22fnval%22%3A0%7D\u0026player_rotate=0\u0026player_width=1920\u0026report_flow_data=%7B%22flow_card_type%22%3A%22av%22%7D", - "three_point": { - "dislike_reasons": [ - { - "id": 4, - "name": "UP主:早期陈总", - "toast": "将减少相似内容推荐" - }, - { - "id": 2, - "name": "分区:音游", - "toast": "将减少相似内容推荐" - }, - { - "id": 3, - "name": "频道:音乐游戏", - "toast": "将减少相似内容推荐" - }, - { - "id": 12, - "name": "此类内容过多", - "toast": "将减少相似内容推荐" - }, - { - "id": 13, - "name": "推荐过", - "toast": "将减少相似内容推荐" - }, - { - "id": 1, - "name": "不感兴趣", - "toast": "将减少相似内容推荐" - } - ], - "feedbacks": [ - { - "id": 1, - "name": "恐怖血腥", - "toast": "将优化首页此类内容" - }, - { - "id": 2, - "name": "色情低俗", - "toast": "将优化首页此类内容" - }, - { - "id": 3, - "name": "封面恶心", - "toast": "将优化首页此类内容" - }, - { - "id": 4, - "name": "标题党/封面党", - "toast": "将优化首页此类内容" - } - ], - "watch_later": 1 - }, - "args": { - "up_id": 1515475415, - "up_name": "早期陈总", - "rid": 136, - "rname": "音游", - "tid": 10174, - "tname": "音乐游戏", - "aid": 836990443 - }, - "player_args": { - "aid": 836990443, - "cid": 1422516399, - "type": "av", - "duration": 103 - }, - "idx": 1706629609, - "three_point_v2": [ - { - "title": "添加至稍后再看", - "type": "watch_later", - "icon": "https://i0.hdslb.com/bfs/activity-plat/static/ce06d65bc0a8d8aa2a463747ce2a4752/NyPAqcn0QF.png" - }, - { - "title": "反馈", - "subtitle": "(选择后将优化首页此类内容)", - "reasons": [ - { - "id": 1, - "name": "恐怖血腥", - "toast": "将优化首页此类内容" - }, - { - "id": 2, - "name": "色情低俗", - "toast": "将优化首页此类内容" - }, - { - "id": 3, - "name": "封面恶心", - "toast": "将优化首页此类内容" - }, - { - "id": 4, - "name": "标题党/封面党", - "toast": "将优化首页此类内容" - } - ], - "type": "feedback" - }, - { - "title": "不感兴趣", - "subtitle": "(选择后将减少相似内容推荐)", - "reasons": [ - { - "id": 4, - "name": "UP主:早期陈总", - "toast": "将减少相似内容推荐" - }, - { - "id": 2, - "name": "分区:音游", - "toast": "将减少相似内容推荐" - }, - { - "id": 3, - "name": "频道:音乐游戏", - "toast": "将减少相似内容推荐" - }, - { - "id": 12, - "name": "此类内容过多", - "toast": "将减少相似内容推荐" - }, - { - "id": 13, - "name": "推荐过", - "toast": "将减少相似内容推荐" - }, - { - "id": 1, - "name": "不感兴趣", - "toast": "将减少相似内容推荐" - } - ], - "type": "dislike" - } - ], - "talk_back": "视频,【Phigros自制/崩坏:星穹铁道】欢迎来到匹诺康尼! 不眠之夜 IN Lv.13,22.8万观看,797弹幕,时长1分钟43秒,UP主早期陈总,", - "report_flow_data": "{\"flow_card_type\":\"av\"}", - "cover_left_text_1": "22.8万", - "cover_left_icon_1": 1, - "cover_left_1_content_description": "22.8万观看", - "cover_left_text_2": "797", - "cover_left_icon_2": 3, - "cover_left_2_content_description": "797弹幕", - "cover_right_text": "1:43", - "cover_right_content_description": "1分钟43秒", - "desc_button": { - "text": "早期陈总", - "uri": "bilibili://space/1515475415", - "event": "nickname", - "type": 1 - }, - "can_play": 1, - "goto_icon": { - "icon_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/077GOeHOfO.png", - "icon_night_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/ldbCXtkoK2.png", - "icon_width": 16, - "icon_height": 16 - } + "id": 2, + "name": "分区:网络游戏", + "toast": "将减少相似内容推荐" + }, + { + "id": 3, + "name": "频道:搞笑", + "toast": "将减少相似内容推荐" + }, + { + "id": 12, + "name": "此类内容过多", + "toast": "将减少相似内容推荐" + }, + { + "id": 13, + "name": "推荐过", + "toast": "将减少相似内容推荐" + }, + { + "id": 1, + "name": "不感兴趣", + "toast": "将减少相似内容推荐" } - ], - "config": { - "column": 2, - "autoplay_card": 2, - "feed_clean_abtest": 0, - "home_transfer_test": 0, - "auto_refresh_time": 1200, - "show_inline_danmaku": 1, - "toast": {}, - "is_back_to_homepage": true, - "enable_rcmd_guide": true, - "inline_sound": 2, - "auto_refresh_time_by_appear": 1200, - "auto_refresh_time_by_active": 1200, - "visible_area": 80, - "card_density_exp": 1, - "story_mode_v2_guide_exp": 6 + ], + "feedbacks": [ + { + "id": 1, + "name": "恐怖血腥", + "toast": "将优化首页此类内容" + }, + { + "id": 2, + "name": "色情低俗", + "toast": "将优化首页此类内容" + }, + { + "id": 3, + "name": "封面恶心", + "toast": "将优化首页此类内容" + }, + { + "id": 4, + "name": "标题党/封面党", + "toast": "将优化首页此类内容" + } + ], + "watch_later": 1 }, - "interest_choose": null - } + "args": { + "up_id": 495695169, + "up_name": "锤子game", + "rid": 65, + "rname": "网络游戏", + "tid": 1833, + "tname": "搞笑", + "aid": 411978753 + }, + "player_args": { + "aid": 411978753, + "cid": 1423365216, + "type": "av", + "duration": 80 + }, + "idx": 1706629610, + "three_point_v2": [ + { + "title": "添加至稍后再看", + "type": "watch_later", + "icon": "https://i0.hdslb.com/bfs/activity-plat/static/ce06d65bc0a8d8aa2a463747ce2a4752/NyPAqcn0QF.png" + }, + { + "title": "反馈", + "subtitle": "(选择后将优化首页此类内容)", + "reasons": [ + { + "id": 1, + "name": "恐怖血腥", + "toast": "将优化首页此类内容" + }, + { + "id": 2, + "name": "色情低俗", + "toast": "将优化首页此类内容" + }, + { + "id": 3, + "name": "封面恶心", + "toast": "将优化首页此类内容" + }, + { + "id": 4, + "name": "标题党/封面党", + "toast": "将优化首页此类内容" + } + ], + "type": "feedback" + }, + { + "title": "不感兴趣", + "subtitle": "(选择后将减少相似内容推荐)", + "reasons": [ + { + "id": 4, + "name": "UP主:锤子game", + "toast": "将减少相似内容推荐" + }, + { + "id": 2, + "name": "分区:网络游戏", + "toast": "将减少相似内容推荐" + }, + { + "id": 3, + "name": "频道:搞笑", + "toast": "将减少相似内容推荐" + }, + { + "id": 12, + "name": "此类内容过多", + "toast": "将减少相似内容推荐" + }, + { + "id": 13, + "name": "推荐过", + "toast": "将减少相似内容推荐" + }, + { + "id": 1, + "name": "不感兴趣", + "toast": "将减少相似内容推荐" + } + ], + "type": "dislike" + } + ], + "talk_back": "视频,帕 鲁 现 状,32.5万观看,257弹幕,时长1分钟20秒,UP主锤子game,", + "report_flow_data": "{\"flow_card_type\":\"av\"}", + "cover_left_text_1": "32.5万", + "cover_left_icon_1": 1, + "cover_left_1_content_description": "32.5万观看", + "cover_left_text_2": "257", + "cover_left_icon_2": 3, + "cover_left_2_content_description": "257弹幕", + "cover_right_text": "1:20", + "cover_right_content_description": "1分钟20秒", + "desc_button": { + "text": "锤子game", + "uri": "bilibili://space/495695169", + "event": "nickname", + "type": 1 + }, + "official_icon": 16, + "can_play": 1, + "goto_icon": { + "icon_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/077GOeHOfO.png", + "icon_night_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/ldbCXtkoK2.png", + "icon_width": 16, + "icon_height": 16 + } + }, + { + "card_type": "small_cover_v2", + "card_goto": "av", + "goto": "av", + "param": "836990443", + "cover": "http://i1.hdslb.com/bfs/archive/d16a125d6ec1c68cc9e0815bc28dcb62a1df9932.jpg", + "title": "【Phigros自制/崩坏:星穹铁道】欢迎来到匹诺康尼! 不眠之夜 IN Lv.13", + "uri": "bilibili://video/836990443?cid=1422516399\u0026player_height=1080\u0026player_preload=%7B%22cid%22%3A1422516399%2C%22expire_time%22%3A1706633200%2C%22file_info%22%3A%7B%2216%22%3A%5B%7B%22timelength%22%3A102818%2C%22filesize%22%3A4441802%7D%5D%2C%2264%22%3A%5B%7B%22timelength%22%3A102748%2C%22filesize%22%3A12468618%7D%5D%7D%2C%22support_quality%22%3Anull%2C%22support_formats%22%3Anull%2C%22support_description%22%3Anull%2C%22quality%22%3A16%2C%22url%22%3A%22http%3A%2F%2Fupos-sz-mirrorali.bilivideo.com%2Fupgcxcode%2F99%2F63%2F1422516399%2F1422516399-1-16.mp4%3Fe%3Dig8euxZM2rNcNbRVhwdVhwdlhWdVhwdVhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8gNEVE5XREto8z5JZC2X2gkX5L5F1eTX1jkXlsTXHeux_f2o859IB_%5Cu0026uipk%3D5%5Cu0026nbs%3D1%5Cu0026deadline%3D1706636800%5Cu0026gen%3Dplayurlv2%5Cu0026os%3Dalibv%5Cu0026oi%3D0%5Cu0026trid%3D0ccc07d4b7a34140a25493d51003bd95U%5Cu0026mid%3D0%5Cu0026platform%3D%5Cu0026upsig%3D06ea793aa573018646c0096adf0dcb9e%5Cu0026uparams%3De%2Cuipk%2Cnbs%2Cdeadline%2Cgen%2Cos%2Coi%2Ctrid%2Cmid%2Cplatform%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026orderid%3D0%2C3%5Cu0026buvid%3D%5Cu0026build%3D0%5Cu0026f%3DU_0_0%5Cu0026bw%3D43547%5Cu0026logo%3D80000000%22%2C%22video_codecid%22%3A7%2C%22video_project%22%3Atrue%2C%22fnver%22%3A0%2C%22fnval%22%3A0%7D\u0026player_rotate=0\u0026player_width=1920\u0026report_flow_data=%7B%22flow_card_type%22%3A%22av%22%7D", + "three_point": { + "dislike_reasons": [ + { + "id": 4, + "name": "UP主:早期陈总", + "toast": "将减少相似内容推荐" + }, + { + "id": 2, + "name": "分区:音游", + "toast": "将减少相似内容推荐" + }, + { + "id": 3, + "name": "频道:音乐游戏", + "toast": "将减少相似内容推荐" + }, + { + "id": 12, + "name": "此类内容过多", + "toast": "将减少相似内容推荐" + }, + { + "id": 13, + "name": "推荐过", + "toast": "将减少相似内容推荐" + }, + { + "id": 1, + "name": "不感兴趣", + "toast": "将减少相似内容推荐" + } + ], + "feedbacks": [ + { + "id": 1, + "name": "恐怖血腥", + "toast": "将优化首页此类内容" + }, + { + "id": 2, + "name": "色情低俗", + "toast": "将优化首页此类内容" + }, + { + "id": 3, + "name": "封面恶心", + "toast": "将优化首页此类内容" + }, + { + "id": 4, + "name": "标题党/封面党", + "toast": "将优化首页此类内容" + } + ], + "watch_later": 1 + }, + "args": { + "up_id": 1515475415, + "up_name": "早期陈总", + "rid": 136, + "rname": "音游", + "tid": 10174, + "tname": "音乐游戏", + "aid": 836990443 + }, + "player_args": { + "aid": 836990443, + "cid": 1422516399, + "type": "av", + "duration": 103 + }, + "idx": 1706629609, + "three_point_v2": [ + { + "title": "添加至稍后再看", + "type": "watch_later", + "icon": "https://i0.hdslb.com/bfs/activity-plat/static/ce06d65bc0a8d8aa2a463747ce2a4752/NyPAqcn0QF.png" + }, + { + "title": "反馈", + "subtitle": "(选择后将优化首页此类内容)", + "reasons": [ + { + "id": 1, + "name": "恐怖血腥", + "toast": "将优化首页此类内容" + }, + { + "id": 2, + "name": "色情低俗", + "toast": "将优化首页此类内容" + }, + { + "id": 3, + "name": "封面恶心", + "toast": "将优化首页此类内容" + }, + { + "id": 4, + "name": "标题党/封面党", + "toast": "将优化首页此类内容" + } + ], + "type": "feedback" + }, + { + "title": "不感兴趣", + "subtitle": "(选择后将减少相似内容推荐)", + "reasons": [ + { + "id": 4, + "name": "UP主:早期陈总", + "toast": "将减少相似内容推荐" + }, + { + "id": 2, + "name": "分区:音游", + "toast": "将减少相似内容推荐" + }, + { + "id": 3, + "name": "频道:音乐游戏", + "toast": "将减少相似内容推荐" + }, + { + "id": 12, + "name": "此类内容过多", + "toast": "将减少相似内容推荐" + }, + { + "id": 13, + "name": "推荐过", + "toast": "将减少相似内容推荐" + }, + { + "id": 1, + "name": "不感兴趣", + "toast": "将减少相似内容推荐" + } + ], + "type": "dislike" + } + ], + "talk_back": "视频,【Phigros自制/崩坏:星穹铁道】欢迎来到匹诺康尼! 不眠之夜 IN Lv.13,22.8万观看,797弹幕,时长1分钟43秒,UP主早期陈总,", + "report_flow_data": "{\"flow_card_type\":\"av\"}", + "cover_left_text_1": "22.8万", + "cover_left_icon_1": 1, + "cover_left_1_content_description": "22.8万观看", + "cover_left_text_2": "797", + "cover_left_icon_2": 3, + "cover_left_2_content_description": "797弹幕", + "cover_right_text": "1:43", + "cover_right_content_description": "1分钟43秒", + "desc_button": { + "text": "早期陈总", + "uri": "bilibili://space/1515475415", + "event": "nickname", + "type": 1 + }, + "can_play": 1, + "goto_icon": { + "icon_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/077GOeHOfO.png", + "icon_night_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/ldbCXtkoK2.png", + "icon_width": 16, + "icon_height": 16 + } + } + ], + "config": { + "column": 2, + "autoplay_card": 2, + "feed_clean_abtest": 0, + "home_transfer_test": 0, + "auto_refresh_time": 1200, + "show_inline_danmaku": 1, + "toast": {}, + "is_back_to_homepage": true, + "enable_rcmd_guide": true, + "inline_sound": 2, + "auto_refresh_time_by_appear": 1200, + "auto_refresh_time_by_active": 1200, + "visible_area": 80, + "card_density_exp": 1, + "story_mode_v2_guide_exp": 6 + }, + "interest_choose": null + } } ```
+ +
+查看登录后的响应示例(精简 包含横幅 热门视频 普通视频): + +```json +{ + "code": 0, + "message": "0", + "ttl": 1, + "data": { + "items": [ + { + "card_type": "banner_v8", + "card_goto": "banner", + "args": {}, + "idx": 1745482992, + "track_id": "all_49.router-pegasus-2021478-7d7955f987-td5kj.1745482993998.1007", + "hash": "4708571670781279769", + "banner_item": [ + { + "type": "static", + "resource_id": 4336, + "id": 1674508, + "index": 1, + "static_banner": { + "id": 1674508, + "title": "火凤燎原第二季完结!新的战神,来了!", + "image": "http://i0.hdslb.com/bfs/banner/b1fc0b68f727c2d4ea57bee154f531c3b7f13fca.png", + "hash": "a6cee3b5b1c05227159f734f68289ba5", + "uri": "https://www.bilibili.com/bangumi/play/ep1365959?goto=static_banner", + "request_id": "1745482994326q172a27a87a21q3087", + "src_id": 4337, + "is_ad_loc": true, + "client_ip": "182.89.224.34", + "server_type": 0, + "resource_id": 4336, + "index": 1, + "cm_mark": 0 + } + }, + { + "type": "ad", + "resource_id": 4336, + "id": 0, + "index": 2, + "ad_banner": { + "id": 0, + "title": "今日全球首发,千件外观福利免费领", + "image": "https://i0.hdslb.com/bfs/sycp/creative_img/202504/bbd7cc4e6a74508e9ccee467541cc06a.jpg", + "hash": "46cbecfe04e047692acfd4a149e81ebd", + "uri": "https://qrsj.biligame.com/gcxz/h5/?sourceFrom=777&sourceType=adPut", + "request_id": "1745482994326q172a27a87a21q3087", + "creative_id": 1017846649959747584, + "src_id": 4338, + "is_ad": true, + "is_ad_loc": true, + "ad_cb": "CAAQABiAoLC1qsSHkA4gACgAMKm4TDjyIUIfMTc0NTQ4Mjk5NDMyNnExNzJhMjdhODdhMjFxMzA4N0iWpZO35jJSBuafs+W3nloG5bm/6KW/YgbkuK3lm71oAXAAeICAgICAGoABAIgBpYgEkgENMTgyLjg5LjIyNC4zNJoBj0BjcGNfcXVvdGE6Y29uc3RhbnQsZWNvbV9mb3JjZV9yZWNhbGw6YmFzZV8wNjI4XzIwLGJyYW5kX3NwbGFzaF9saXN0X2J5X3RpbWU6YnJhbmRfc3BsYXNoX2xpc3RfYnlfdGltZV80MF90dW5uZWwsdWVzX2VycWk6MTcsamtfY2FydDpqazEsZmVlZHNQcmltYXJ5TW9kZWxDb25mOmJzbDIsY29tbWVudENvbXBvbmVudEFudG91UmF0aW86YmFzZSxTbWFsbEJ1ZGdldFJhdGlvOmRlZmF1bHQsc2VhcmNoX2Fkc19jcmVhdGl2ZTpsbG1fZXhwMSxkYWlodW9fYm9vc3RfZXhwOmJvb3N0X2V4cCxzZWFyY2hfYWRzX3JlbGV2YW5jZTp0b3BfYmxhY2tsaXN0X2NhbGksc3BsYXNoX2lubmVyX291dGVyX2V4cDpiYXNlLGNjZF9leHBfZGVtbzpjY2RfYmFzZSxmcmVxUm91dGluZzpiYXNlLHZpZGVvX3RlbXBsYXRlX3N1cHBvcnQ6ZXhwMyxpYWFfb25seV9lY3BtOjAwLHRlc3RfbW9kZWxfbmFtZTpiYXNlXzExLGZseV9qdW1wX2NvbW1lbnQ6ZXhwMyxsb2dnaW5nX2FkaW5mb19saXN0OmJhc2UsdXNlTmV3WWVsbG93Q2FydFBhbm5lbDpleHAyLGhpZ2hfcXVhbGl0eV9hdmlkX3R1cm5fYmFjazpiYXNlLG5ld19kaXJlY3RfYWRtaXNzaW9uX3YyOm9wZW5fc2hvdXRhb193dWR1YW4sdHJhZGVfcmVjYWxsOmRlZmF1bHQsb3R0X2VjcG1fdGhyZDpiYXNlLGVuYWJsZV9hbHRfZGF2aW5jaTpkZWZhdWx0LGlubmVyX291dGVyX2JpZF9leHA6bmV3X3JhbmtmcmFtZV8wNDAyLG9mZmxpbmVfbWlkX2ZlYV92MjpleHAzLGRjdnJfd29ybGRfMjAyNVEyOmJhc2UxLHVuZGVyZnJhbWVfcHVsbF91cDpleHAxLGVuYWJsZV9pbmR1c3RyeV92Ml9maWx0ZXI6YmFzZSxuRmVkQmFjazE6bG9vc2UsRHBhMlJ0YVBpY2tQcm9kdWN0OnNoYXJlZF8zMCxmaWx0ZXJfY2xlYW46YmFzZSxhY2NvdW50RnJlcUNvbmY6YmFzZSxtaW5pZ2FtZV9iaWRfZXhwOmV4cF8wMzA3LHN0b3J5X2RhaWh1b19zdHlsZTpleHAsbm9fYWdlX2dlbmRlcl9leHA6YWdlMCxvdHRjb25maWc6ZXhwXzE1LE1peGVyRUNvbW1lcmNlOmVuYWJsZSxzc3BEaXJlY3REaXNwYXRjaEFkVm9FeHA6ZXhwXzIscmlza3lfYWRfb3B0OmhpZGRlbl9jb3N0XzAsc0ZCcnU6MyxCaXpNaXhlclJvdXRlcjpiaXpfbWl4ZXJfcGcsMjUzOTkxOmJhc2UsdHNtdjJfdHJhZGU6YmFzZSxmbHlfZGVxOm9yZGVyX2xpdmUsdHNtXzE6ZWR1dGFnX3JlY2FsbF8wMjA2LHJldHJpZXZlX2xvZzpvcGVuLGdkX21vZGVsOmV4cDEsY3BhX3NlYXJjaDpjcGFfdjIsdHNtdjJfc3dpbmdmbHlfb3RoZXJzY2VuZTpiYXNlLGFkeF9yZXF1ZXN0X29wdGltaXphdGlvbl90ZXN0OmRlZmF1bHQsc3RfdnZfbW9kZWw6YmFzZSxicnVzaF9kdXA6ZGVmYXVsdCxzdG9yeV9saXZlX3Z2OmRlZixpbmxpbmVfemVyb19jYXJkX2luZGV4OmV4cCxyZXFfbG9nX3JhdGlvOmJhc2UsZHBhVW5kZXJmcmFtZU5ld1N0eWxlOmV4cDIsZHluYW1pY1RpbWVvdXRNaW5zOjI0MCxtb2RlbF9jYWxpOmV4cDEsZmx5X2NwY19jYWxpX25ldzpvcmRlcl9hY2NfZXhwLGVuYWJsZVNtYXJ0Q292ZXJVcmw6YmFzZV9hYV8wMTE1LG1pbmlfZ2FtZV9sb25nX3RpbWVfZmxpcF9leHA6ZXhwX2dyb3VwLHV2X2FhOmRlZmF1bHQsYWNjb3VudF9ibGFjazpiYXNlLGFzQ29tbWVudENoZWNrRGlmZlJhdGlvRXhwOmV4cDIsY3RyX21vZGVsOmV4cF8wMSxic0R1cEFkOm9wZW4sb3JkZXJfbGF4aW46bGF4aW5fYmFzZV92Ml8xLHByb2dDcmVhRmVlZEN0cjpkaXN0X2x0cix1bmlvbl9mbHlfY3BjOmV4cDAxMjQsQ3VzdG9tQ3JlYXRpdmVTZWxlY3RFeHA6a3Vhbmd4aWFfMDQwMixuZXdCc0ZpbHRlckxvZzpvcGVuLHNlYXJjaF9xdWlja19wbGFjZW1lbnQ6ZXhwMSxib29zdF9leHA6ZXhwMyx0c212Ml9tb2RlbF9yZWNhbGw6YmFzZSxjY2RfdWVzY29yZTpjY2RfYmFzZSxkQWR4MTpvcGVuLGRhbGFvX2NhcmRfb25seV90b3A6ZXhwLGNhc3NpbmlFeHA6c21hbGxfYnVkZ2V0X2Nsb3NlLHNwbGFzaF90d2lzdF9hbmdsZV9leHA6YmFzZSx0c212Ml9vdGhlcnM6YmFzZSxzcGxhc2hNaW5JbnRlcnZhbEV4cDpiYXNlXzFoLGR5bmFtaWNfaW5kZXg6YmFzZSxyZWNhbGxfbGltaXRfcmF0aW86YmFzZSxmbHlfY3BhOmZseV92MyxnYW9uZW5nX2FidGVzdDpiYXNlLHBFTjpQUixzZWFyY2hfY3RyX21vZGVsOmV4cF95LGxpdmVfY2FyZF90YWdfbW92ZTpleHAxXzAzMTgsYmVzdENyZWF0aXZlOmVjcG0yLHN0b3J5X3N0eWxlX3NlbGVjdF9jb25mOmJhc2UyMDI1MDIyNyxjbG9zZV9zcmNfZWZmOmV4cF8wNzI1X25vX3J1bGUsMTA3MjpiYXNlLHNvZnRfYWRfZXhwOjA2LGZseV9saWtlX3RoOmNsb3NlLG1peGVyX3N0b3J5X2FkX3dlaWdodDo2LGFpZ2NfYW50b3U6TFJfYmFzZV8yMDI1MDMxNCxqZzpleHAyLHBkY3ZyX3RocmVzaG9sZDpleHAxLGRjdnJfcmV0ZW50aW9uX25ldzpjb21ib19iYXNlLHBlZ2FzdXNfbWl4ZXI6MDEsZHBhMjpiYXNlLHVuZGVyX2ZyYW1lX2VjcG1fZXhwOmJhc2UsSW5kdXN0cnlFeGNsdWRlSW5mb0NvbmZfdjI6YmFzZSxlbmFibGVfdXNlcl9mZWF0dXJlX2J1Y2tldDpiYXNlbGluZSxlY29tX3JlY2FsbDpMSFVDX0IsZW5hYmxlVGFnTW92ZVVwOmV4cDRfbW92ZV90YWdfZGlzbGlrZWFkaixhZF9icmFuZF9nZF9lbmFibGVfZGlmZjpiYXNlLGZkX3BjdHI6YmFzZV8xLDI1NzM4OmJhc2UscHJvZ0NyZWFEaWN0VmVyOmRlZmF1bHQsc2VhcmNoX3BhcmFsbGVsX3JlcV9yZWRpczpleHAxLHByb2dyYW1DcmVhdGl2ZTpkZWZhdWx0LGRwczpkZWZhdWx0LHBhZF9pbm5lcl9hZGxvYWQ6YmFzZV8yMF8wLHVuZGVyZnJhbWVfcHVsbF91cF9uZXc6YmFzZV9hYWEsY29hcnNlRXhwbG9yZUZhY3RvckNvbmY6ZGVmYXVsdCxmbHlfc3RvcnlfeWVsbG93Y2FyX3N0eWxlOnlvdXh1YW5fYmFzZV9rZmMsZmx5X2NwYV9wYzpleHAxMCxEcGFTdnJQcmVzc3VyZTpiYXNlLGNwYTpiYXNlLGJvb3N0X2JzOmJhc2UsZmx5Q2FyZFF1YWxpdHk6ZXhwNCxhbGw6Y3BjX2Nyb3dkX3RhcmdldCxmbHlfY3BhX2JvdHRvbTpjbG9zZSxSVEFfRElWSURFX0VYUF9UQUdfODkyOnJ0YV9kaXZpZGVfZXhwXzg5Ml81LEluZHVzdHJ5THRyQ29hcnNlQ29uZjpnYW1lbGl2ZSxlZGdlX3JlcmFuazpiYXNlLFJUQV9ESVZJREVfRVhQX1RBR182NTc6cnRhX2RpdmlkZV9leHBfNjU3XzQsaGVhcnRfYm94OmV4cCwyMzUzMTpub3JtYWwscHVwX25hdGl2ZV9hZDpkZWZhdWx0LG90dF9lZHVjYXRpb25fYW50b3U6ZXhwLGg1X3Y6Y29tcGFyZSx1c2VMdWFTY3JpcHQ6YmFzZSxjb2Fyc2VfZGFpaHVvOmJhc2UsZmxvd1J1bGU6b3BlbkZsb3dSdWxlQ2hlY2tTd2l0Y2gsc3Rvcnlfc3R5bGVfc2VsZWN0aW9uX2NvbmY6YmFzZTIwMjQxMTI5LG5ld192aWRlb191cF9taWRfZmlsdGVyOmJhc2UsZmx5X2NvYXJzZTpjb25zdGFudCxkZWxldGVGcmVxQ29kZTpiYXNlMyxob25nZ3VvX25vdF9zaG93X2luX2NoYXJnaW5nX3BhZ2U6YmFzZSxEcGFDcmVhdGl2ZVN0cmF0ZWd5RXhwZXJpbWVudDpzZWFyY2hfbWVyZ2VfaW1hZ2VfZXhwLHNzcF9yZXBsYXlfYXM6YmFzZSxiZnNfc2RwYV9kaXZlcnNpZnk6cmVtYWluLHNlYXJjaF9zdWJjYXJkX3N0eWxlOmZvcm1fYnV0dG9uLGJzLXg6YnMsd2hpdGVfYm94OmNsb3NlLGR1YW5qdV9hcnB1OmFkZF9ub3ZlbF8wMzI3LE1vZGVsRmVhdHVyZXNIaXZlTG9nOmNsb3NlLGZseV9zdXBfZmFjdG9yczpleHAsY2x0cmNvbmY6YnNsMyxkYXZpbmNpX3JlcV9sb2c6ZGVmYXVsdCxmbHdfbGlrZV9lbmdhZ2U6YmFzZSxzdG9yeV9jdXN0b21pemVfZGFubXU6YmFzZSxhZHhQbGF5UGFnZVJhc2lvOmV4cDAsZHBhMlByb21vdGVQcm9kdWN0TWF0ZXJpYWw6YmFzZSxsaXZlX21vZGVsOmxpdmVfYmFzZV8wNDA4LHVzZUFpR2NUaXRsZTpiYXNlLHBlZ2FzdXNfYWRsb2FkXzM6MTQsbGFuY2VyX25hdHVyZTpleHAsc3RvcnlfZGFubXVfY29uZjpkYW5tdV9udW1fMzgsdHNtdjJfdG9rZW5fc2RwYTpiYXNlLDI0aF9yb2lfYXJwdV9uZXc6c3RhbGxfYmFzZV92MyxzcGxhc2hfaGFyZF9maWx0ZXJzOmV4cCxnYW1lX2VjcG1fcm9pX2ZhY3Rvcl9zd2l0Y2g6ZXhwX291dGVyLGJ1cGNwY19nc3A6ZGVmYXVsdCxuRmVkQmFjazpsb29zZSxVbml0RGV0YWlsSW5mbzpjbG9zZSzogIHkuInov57lub/lkYrlsY/olL06YmFzZSxnZF9mb3JjZV9zZWxlY3Q6ZXhwMixjb2xkX2Jvb3RfY2xlYXJfZnJlcTpiYXNlLGdhbWVfb3Blbl9pbnRlcmVzdF9vcmllbnRhdGlvbjpleHBfb3Blbl9ib3RoLGNsb3NlX3BlcnNvbmFsX3JlY29tbWVuZF8yMDI1OmV4cF9vcGVuX2FsbF8wMjI4LFJUQV9ESVZJREVfRVhQX1RBR183MzE6cnRhX2RpdmlkZV9leHBfNzMxXzMsbm9fYWRfc2V0OmJhc2UsUlRBX0RJVklERV9FWFBfVEFHXzg1NTpydGFfZGl2aWRlX2V4cF84NTVfNyxhY2NvdW50X2V4cGxvcmVfc2hvd19saW1pdDpkZWZhdWx0LGZseV9nb29kc19jb21tZW50X3VybDpibHVlbGlua19yZXBsYWNlXzA1LG9yZGVyX2xhcmdlOmRlbGF5MSxlY3BtX3RocmVzaG9sZF9sYXllcjowOCxyZWNhbGxfdW5pdF9saW1pdDpiYXNlLFJUQV9ESVZJREVfRVhQX1RBR182NDA6cnRhX2RpdmlkZV9leHBfNjQwXzE2LGRhaWh1b1doaXRlQ29uZjp3aGl0ZV8yNDEyMDJfNSxSVEFfRElWSURFX0VYUF9UQUdfODgzOnJ0YV9kaXZpZGVfZXhwXzg4M181LGVuYWJsZUlubGluZUV4cDpiYXNlLFJUQV9ESVZJREVfRVhQX1RBR184ODg6cnRhX2RpdmlkZV9leHBfODg4XzIsaWFhX3VuaXRfZWE6ZXhwMSxTbWFsbEJ1ZGdldFRvbGVyYXRlOmV4cF83MixhdXRvX2FkX2Fzc2lzdDpiYXNlLG1peGVyX2JyYW5kX29wdDpiYXNlLGxheWVyZWRfYmlkZGluZzpiYXNlMDkyMixzdG9yeVllbGxvd0NhcnROZXc6ZXhwX2Jhc2UyXzAyMTMseHN0X2NodWRpYW46YmFzZSxkdWFuanVfbW9kZWw6ZGVmYXVsdCxnZF9waWQ6ZXhwX3JlYWQsY3BjMV9leHRlbmRlZDpxdW90YV8xMCxicnVzaF9pbm5lcjpiYXNlLHN0b3J5X3N0eWxlX3NlbGVjdDpyYW5kLGVuYWJsZV9wbGF5cGFnZV9pbmxpbmVfd3hfanVtcDpleHBfMDQwOSxkY3ZyZl8yMDI1UTE6cmV2ZXJzZSxmcmVTOmJhc2UsYWR2dl9waWRfZml4OmJhc2UsQ3JlYXRpdmVRdWFsaXR5OmF1dG8sSW5kdXN0cnlCb29zdDpnYW1lbGl2ZSxmbHlfbTppY2ViZXJnX2Jhc2UsZWNwbV9jcm93ZHNfZmlsdGVyOnRlc3QsZ2Rfc2NoZV9yYXRpbzpiYXNlLHRlc3RfbWl4ZXJfY2NkOmJhc2Usa3Vha2VfbW9iaWxlX2FudG91X3BjOmFudG91X3BjLG5ld192aWRlb19ib29zdDpkZWZhdWx0LHVuZGVyZnJhbWVfdWVzY29yZTpiYXNlLEVBX2V4cDpjbG9zZV9lYV8xMjExLGFuY2hvckFwcERvd25sb2FkU3R5bGVFeHA6YmFzZSwyMzI0NDpiYXNlLFJUQV9ESVZJREVfRVhQX1RBR183MDM6cnRhX2RpdmlkZV9leHBfNzAzXzMsZHVhbmp1X21vZGVsX2N0cjpkZWZhdWx0LGNvbG9yX21hc2s6YmFzZSxwdl9hYTpleHBfMSxwY19jbGllbnRfbm9fYWQ6bm9fYWRfYmFzZSxwcm9nQ3JlYVQ6djEuMCxuZWdhdGl2ZV9zdHJhdGVneV90ZXN0OmJhc2UsZW5hYmxlTmF0aXZlRmVlZHNUb1N0b3J5OmV4cF9oYXJkLGx0dl9pbnNfbG9nOmJhc2UxMCxmbHlfYnVfdW5kZXJmcmFtZTpiYXNlLHNwcmluZ2Zlc3RpdmFsX3N0YWJpbGl0eV9pbmR1c3RyeTpiYXNlLGdpZl9leHA6YmFzZSxjYXNlX2ludmVyc3RpZ2F0ZTpiYXNlLHByZXJhbmtfc2RwYTp4c2RqXzAxMTcscmVzZXJ2ZV9wcmljZTpnc3BfYWxsLHBheV83ZF9udW06ZXhwX2dhbWVfMSx0aW1lRnJlcTpkZWZhdWx0LGZyZXFDaGVja0R1cGxpY2F0ZTpiYXNlLFJUQV9ESVZJREVfRVhQX1RBR183MjQ6cnRhX2RpdmlkZV9leHBfNzI0XzMsc3RvcnlGbHlNb2RlbENvbmY6YWRkX2VhX2V4cCxBcHBDb2V4aXN0RmlsdGVyOmNsb3NlLHVzdWFsX2FyZWFzOmJhc2UsYXBwU3RvcmVQcmlvcml0eVhpYW9ndW9BY2NvdW50SWRzOmJhc2UsbWFiaWRfZW5hYmxlOmJhc2VfMDEwOCxSVEFfRElWSURFX0VYUF9UQUdfODM2OnJ0YV9kaXZpZGVfZXhwXzgzNl8xMCxzb2Z0X2FkOjEyLHN0b3J5X3BsYXkzc190b3VjaF9yYXRpbzpyYXRpb18xMDAsZHVhbmp1X3JldGFyZ2V0OmJhc2UsUlRBX0RJVklERV9FWFBfVEFHXzEwMzc6cnRhX2RpdmlkZV9leHBfMTAzN181LGNhdGVnb3J5X3YzOmJhc2UsaWFhM19vdXRfdXBfYWRzOmV4cF9pYWFfb3V0X3VwLHByb2dDcmVhUmFuZG9tXzE6YmFzZV9tb2RlbDAzMTksZmx5X3lzYW50b3U6YmFzZV8wODIxLGZseV9jdHJfaW5saW5lX3RhcmdldDpjbG9zZSx0ZW1wbGF0ZV9maXg6YmFzZSxicmFuZER5bmFtaWNDYXJkSW5kZXhFeHA6ZXhwLGlubGluZUVjcG06ZGVmYXVsdCxmb3JjZUV4cG9zdXJlLWNhc3Npbmk6ZGFpaHVvX29wZW5fMjMxMTAxLHNwbGFzaF9uZXdfc3R5bGVfZmlsdGVyOmRlZmF1bHQsc2VhcmNoX3RyaXRvbjpiYXNlLGN2cl9mOmluZHVzdHJ5X29wdF9leHAsaW5uZXJfb3ZlcmxvYWRfY3RybDpkZWZhdWx0LHVnX3VuaXRfbGltaXQ6ZXhwLGNsZWFuX3Nsb3Q1MHA6ZXhwLG1lcmdlX2ZpbHRlcjplbmFibGVfc3luY19wcmltYXJ5X2ZpbHRlcixoeV9hcnB1X3JvdXRlX3NwbGl0OnN0YWxsX29yX3VuZGVsZXRlZF9mZWFzX2V4cCwxNTA2OmJhc2UsZ2RGZWVkc0VuYWJsZUJydXNoOmJhc2UsaW5saW5lX2Zsb3dfbm9fYWQ6YmFzZSxlbmFibGVfbGFuY2VyX3JlY29yZF9kbXNfZmVhdHVyZTowNDE0X3Rlc3QsdW5kZXJmcmFtZV9tYXJrX3N3dGljaDpleHAxXzA0MDksQWlFeHBQbGF5UGFnZTpiYXNlXzAsMjRoX3JvaV9hcnB1OmJhc2UzLG9wZW5QcmV2aWV3OmV4cDIsZ3NwX2V4cDpzZWFyY2hfZGVmYXVsdCxydW5uaW5nX29jcGM6YmFzZSxmbHlfcmFua19jb25mX21lcmdlOmJhc2UsbHRyQXBwTG9nOmNscyxzZWFyY2hfYWRzX3F1ZXJ5X3Jld3JpdGU6Y29tYmluZV9leHAxLHJhbmtfZGl2XzE6ZGVmYXVsdCx1bmRlcmZyYW1lX2Rvd25sb2FkX2FkYnV0dG9uOmJhc2UsQnNPZmZsaW5lTG9jYWxDcGFDb25maWdOZXc6ZGVmYXVsdCx1cFNwYWNlQ2hlY2tEaWZmUmF0aW9FeHA6ZXhwX21icyxzcGxhc2hfaW50ZXJmYWNlX2Rvd25ncmFkZTpiYXNlLGZvcmJpZGRlbl9kaXJlY3RfanVtcDpiYXNlLG1pbmlnYW1lX2JvbnVzX2V4cDpyZW1haW4sZW5hYmxlQXBwc3RvcmVEaXJlY3Q6ZXhwXzEsZnJlcV9pbmZvX3JvdXRpbmc6c2hqZF9zeWNwYl9mcmVxX3Rhc2tfY2x1c3Rlcl8xLHNlYXJjaF9hZHNfbWluX2JpZDpkZWZhdWx0LG9wZW5OZXdHZFByZXZpZXc6ZXhwLGRpc2FibGVfaWxsZWdhbF9vbmVfanVtcDpiYXNlLGNvYXJzZV9xdW90YV9jb250cm9sOmJhc2VfMDMyNCxmbHlfZHluYW1pY0FudG91OmJhc2UsQWlFeHBTdG9yeTpiYXNlLGRwYTJSZWNhbGw6Y2hvb3NlX3Byb2R1Y3RzX2Jhc2VfNTAsc2VhcmNoX25ld190YXJnZXRpbmc6YmFzZSxlbmFibGVfbW9kZWxfZGV0YWlsX3RyYWNrZXI6YmFzZSxEcGEyQ1ZSVGhyZXNob2xkOmpkX2N2cl8yMDAsY3RyX3RfZXhwOnQxLjAscGNTZWFyY2g6ZXhwLGVjb21fbWFpbl9zZWFyY2g65a+554Wn57uELGNvYXJzZTpjb2Fyc2VfY3ZyX25ld2NvbnYsZnJlcV9taWdyYXRlOmV4cF9lbmdpbmVfd2l0aF9zdHJpY3RfYnJ1c2g1LHN3aXRjaEJzUGdSZXFSYXRpbzpjbG9zZSxzZWFyY2hfcmVhbHRpbWVfdHJpZ2dlcjpjb25zdGFudCxBaUV4cEZlZWRzOmJhc2UsbWJzX3JlZmFjdG9yOmV4cDIsdWVzX3NlYXJjaDpkZWZhdWx0LHVuZGVyZnJhbWVfbXVsdGlfYWRzOmJhc2UsYWlnY19hbnRvdV9pbWFnZTpiYXNlXzAzMjYsbWl4ZXJfZnVzaW9uX2RpbWVuc2lvbjpnMixyb2xsb3V0X2xpc3R3aXNlX2Jpem1peGVyX2J1Z19maXg6YmFzZSx1c2VCc0ZpbmRhOmZpbmRhX3gsZmx5X3B1cF9lY3BtOmNvbnN0YW50LGZseV9jdHJfaW5saW5lOm1vZGVsLHRlc3RfcGVnYXN1c19wb3M6YmFzZSx0ZXN0X3N0b3J5X3BhY2s6ZXhwIDIsc3RvcnlfYWRsb2FkXzM6MTQsc2RwYV9kaXZlcnNpZnk6Y29uc3RhbnQyLG1pbmlfZ2FtZV9zY2VuZTpiYXNlLGN0cl9kaWx1Y19lbWJfbGF5ZXI6ZXhwcl9lbWJfZGlsdWMscm9pX2J4aWFveW91X25ldzpkZWZhdWx0LEluZHVzdHJ5Tm9UYXJnZXRGaWx0ZXJMYXllcjpleHAsY3JlYXRpdmVfYXZpZF90YWIzOmV4cF8wNTI3LHN0eWxlX2FiaWxpdHlfb2ZmbGluZTpiYXNlLHVuZGVyZnJhbWVfYnJhbmRfaGlnaDpiYXNlLGNyb3dkX2VjcGM6b3Blbl92Mix0c21fdjJfbGF5ZXI6YmFzZSxtaXhlcl9saXN0d2lzZV9wZWdhc3VzOmc1LHVzZUFzUGc6bWFpbl8yNDEyMjcsc3BsaXRfYnVja2V0OmJ1Y2tldF8zLGdsb2JhbF9yZXZlcnNlOmJhc2UscGxhdGZvcm06ZGVmYXVsdKABALIBICjf18utGMJMWQj0kF8utyJl8gRyHD1TIq1K6aKZR3vRugFCaHR0cHM6Ly9xcnNqLmJpbGlnYW1lLmNvbS9nY3h6L2g1Lz9zb3VyY2VGcm9tPTc3NyZzb3VyY2VUeXBlPWFkUHV0wgEA0gEA2AHQAeABAOgBAPABAIACAogCALgCAMACANACANgCAOoCAPACrIYl+AIAiAMGkgMAqAMAsAMAuAMAwgMAyAMX0gOWAXsiMTYiOiIxMjE1NDYwXzAiLCIxNyI6IjQzMzYiLCIxIjoiMTAxNzg0NjY0OTk1OTc0NzU4NCIsIjIiOiIxMjUyMzkzIiwiMyI6IjEyNTIzOTMiLCI2IjoiMTI1MjM5M18wIiwiMTIiOiI0MzM4IiwiMTMiOiIxMjE1NDYwIiwiMTQiOiI4ODciLCIxNSI6IjEzNjkifeADAOgDAPADAPoDBW90aGVyggQJbnVsbDpudWxsmAQAoAQAqgQECAAQBLAEAOIEwwE1Ni57InBzSWQiOjUyMTE4LCJ2MiI6IkFXVXMyZTBidEhmWTVCSzJ0LUQ0U3lNRGJtN2Z1SGIyYmlIREhsTnBjQlB1U2dVRzdLaW80dUkyNXlSdFJXQU5WUnRMbll1OVpxOElrdkVYZURfUmlER25BeTE0UV9CMlAtSzJmQ3pzMWZLQmY5WjZPUSJ9OzYzLnsicHNJZCI6NTIwNjYsInYyIjoiUWcifTs3MC57InBzSWQiOjUwMDQxLCJ2MiI6IktBIn2gBQDIBQPSBQA=", + "client_ip": "182.89.224.34", + "server_type": 1, + "resource_id": 4336, + "index": 2, + "cm_mark": 1, + "extra": { + "use_ad_web_v2": false, + "show_urls": [ + "" + ], + "click_urls": [], + "download_whitelist": [], + "card": { + "card_type": 0, + "title": "今日全球首发,千件外观福利免费领", + "covers": [ + { + "url": "https://i0.hdslb.com/bfs/sycp/creative_img/202504/bbd7cc4e6a74508e9ccee467541cc06a.jpg", + "loop": 0, + "image_height": 0, + "image_width": 0, + "gif_tag_show": false, + "jump_url": "", + "title": "", + "desc": "" + } + ], + "jump_url": "https://qrsj.biligame.com/gcxz/h5/?sourceFrom=777&sourceType=adPut", + "desc": "", + "callup_url": "", + "long_desc": "", + "ad_tag": "", + "extra_desc": "", + "universal_app": "", + "duration": "", + "adver": { + "adver_id": 1252393, + "adver_type": 3 + }, + "extreme_team_status": false, + "support_transition": false, + "under_player_interaction_style": 0, + "referral_pop_active_time": 10000, + "grade_denominator": 0, + "star_level": 0, + "live_booking_population_threshold": 0, + "ori_mark_hidden": 0, + "use_multi_cover": false, + "custom_feedback_panels": [], + "yellow_cart_pannel_pullup": 0, + "yellow_cart_pannel_version": 0, + "goods_item_id": 0, + "story_interaction_style": 0, + "videos": [], + "download_area": 0, + "goods_pannel_show": 0, + "goods_panel_show": 0, + "show_pop_window": 0, + "search_show_adbutton": 0, + "jump_interaction_style": 0, + "live_page_type": 0, + "ad_tag_style": { + "type": 4, + "text": "", + "text_color": "", + "bg_border_color": "", + "bg_color": "", + "border_color": "", + "img_url": "https://i0.hdslb.com/bfs/sycp/mng/202408/34463051f8d45a6d3c20f8aff31aad9b.png", + "img_height": 48, + "img_width": 72 + }, + "feedback_panel": { + "panel_type_text": "广告", + "feedback_panel_detail": [], + "toast": "将减少相似广告推荐", + "close_rec_tips": "操作成功", + "open_rec_tips": "将减少展示此类广告" + }, + "fold_time": 0, + "live_room_popularity": 0, + "live_tag_show": false, + "quality_infos": [], + "dynamic_text": "今日全球首发,千件外观福利免费领", + "choose_button_list": [], + "grade_level": 0, + "anim_in_enable": 0, + "underframe_card_style": 0, + "playpage_card_style": 0, + "live_auto_play": false, + "original_style_level": 0, + "live_card_show": false, + "enable_tag_move_up": 0, + "item_source": 0, + "closed_loop_item": 0, + "desc_type": 0, + "comment_use_game_page": 0, + "story_takeoff_interaction_style": 0 + }, + "report_time": 2000, + "sales_type": 31, + "special_industry": false, + "preload_landingpage": 0, + "enable_share": true, + "share_info": { + "title": "今日全球首发,千件外观福利免费领", + "subtitle": "", + "image_url": "https://i0.hdslb.com/bfs/sycp/creative_img/202504/3eba2979cb9525f14633a39c9f2ec2ab.jpg" + }, + "upzone_entrance_type": 0, + "upzone_entrance_report_id": 0, + "click_area": 0, + "shop_id": 0, + "up_mid": 0, + "track_id": "pbaes.DXUvRhr8IAhiFZ60KoOBStL0Na80m-kKS6CwFKDBtlzOwGJZu7il0VbEU3j2A_dZ96EXDGonAHs9Qx-5X2XbovyGP-xL4lyr_c_3rDZs4q3frmVjEGhu2VPOE5MRHF3AdryKsZiIGCl_f6ZD0y-cNQ==", + "enable_store_direct_launch": 0, + "enable_double_jump": false, + "from_track_id": "all_49.router-pegasus-2021478-7d7955f987-td5kj.1745482993998.1007", + "store_callup_card": false, + "enable_h5_alert": false, + "special_industry_style": 0, + "macro_replace_priority": 1, + "feedback_panel_style": 0, + "ad_content_type": 0, + "enable_h5_pre_load": 0, + "hot_activity_id": 0, + "middle_show_urls": [], + "middle_click_urls": [], + "product_id": 0, + "landingpage_download_style": 2, + "download_url_type": 0, + "enable_auto_callup": 0, + "top_live_stay_time_seconds": 0, + "vipshop_fast_framework": 0, + "lottery_id": 0, + "enable_openapk_dialog": false, + "user_cancel_jump_type": 0, + "comment_toast_open": 0, + "comment_biz_type": 0, + "app_exp_params": "{\"pegasus_live_inline_background_fill\":0,\"story_live_goods_card_style\":{\"first_type\":1,\"second_type\":2,\"delay_time\":3000}}" + } + } + }, + { + "card_type": "small_cover_v2", + "card_goto": "av", + "goto": "av", + "param": "114375012651120", + "cover": "http://i1.hdslb.com/bfs/archive/05ec862caac777f9d7d06175becf0413b9c653ee.jpg", + "title": "「小白」红米Turbo 4 Pro 性能体验:首台8sGen4量产机表现如何?", + "uri": "bilibili://video/114375012651120?cid=29550644277&player_height=1890&player_preload=%7B%22expire_time%22%3A1745486594%2C%22cid%22%3A29550644277%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A2121663%2C%22timelength%22%3A230900%7D%5D%7D%2C%2232%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A3606019%2C%22timelength%22%3A230900%7D%5D%7D%2C%2264%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A6733527%2C%22timelength%22%3A230900%7D%5D%7D%2C%2280%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A10362311%2C%22timelength%22%3A230900%7D%5D%7D%7D%2C%22video_codecid%22%3A7%2C%22video_project%22%3Atrue%2C%22dash%22%3A%7B%22video%22%3A%5B%7B%22id%22%3A32%2C%22base_url%22%3A%22http%3A%2F%2F123.184.35.33%3A8000%2Fv1%2Fresource%2F29550644277-1-100047.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D125426%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50007224%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3D158098%5Cu0026tag%3D%5Cu0026traceid%3DtrANPsmzTXNczh_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Ctag%252Cnbs%252Coi%252Cplatform%252Ctrid%252Cmid%252Cdeadline%252Cuipk%252Cgen%252Cos%252Cog%5Cu0026upsig%3Df6ea272dedd17383c1a7c43a39471036%22%2C%22bandwidth%22%3A124895%2C%22codecid%22%3A7%2C%22size%22%3A3606019%2C%22frame_rate%22%3A%2224.991%22%2C%22backup_url%22%3A%5B%22http%3A%2F%2F211.141.224.92%3A4480%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-100047.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026tag%3D%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026platform%3Dandroid%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026uipk%3D5%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dmcdn%5Cu0026og%3Dcos%5Cu0026upsig%3Df6ea272dedd17383c1a7c43a39471036%5Cu0026uparams%3De%2Ctag%2Cnbs%2Coi%2Cplatform%2Ctrid%2Cmid%2Cdeadline%2Cuipk%2Cgen%2Cos%2Cog%5Cu0026mcdnid%3D50007224%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D125426%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026orderid%3D0%2C3%22%2C%22http%3A%2F%2Fupos-sz-estgoss.bilivideo.com%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-100047.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026tag%3D%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dupos%5Cu0026og%3Dcos%5Cu0026trid%3D56fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026platform%3Dandroid%5Cu0026upsig%3D464e03491d78d3249012e6c9affbb768%5Cu0026uparams%3De%2Ctag%2Cgen%2Cos%2Cog%2Ctrid%2Cmid%2Cdeadline%2Cnbs%2Coi%2Cuipk%2Cplatform%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D125426%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026orderid%3D1%2C3%22%5D%2C%22audio_id%22%3A30216%7D%2C%7B%22id%22%3A32%2C%22base_url%22%3A%22http%3A%2F%2F59.47.230.23%3A8000%2Fv1%2Fresource%2F29550644277-1-30033.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D131973%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50007224%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3D2d5ae2%5Cu0026tag%3D%5Cu0026traceid%3DtrQICyqgrXBqnY_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cnbs%252Coi%252Cuipk%252Cmid%252Cdeadline%252Cog%252Cplatform%252Ctrid%252Ctag%252Cgen%252Cos%5Cu0026upsig%3D855d6f99090897394e531af9d9cc6dc8%22%2C%22bandwidth%22%3A131411%2C%22codecid%22%3A12%2C%22size%22%3A3794237%2C%22frame_rate%22%3A%2224.991%22%2C%22backup_url%22%3A%5B%22http%3A%2F%2F122.191.18.170%3A8000%2Fv1%2Fresource%2F29550644277-1-30033.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D131973%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3Dcoso1bv%5Cu0026platform%3Dandroid%5Cu0026sign%3D2d5ae2%5Cu0026tag%3D%5Cu0026traceid%3DtrxqpZsZboLcyN_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cuipk%252Cplatform%252Ctag%252Cos%252Cog%252Cnbs%252Coi%252Ctrid%252Cmid%252Cdeadline%252Cgen%5Cu0026upsig%3D42f974aacd3f2a9a6ba659f11e469614%22%2C%22http%3A%2F%2F211.141.224.92%3A4480%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-30033.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026og%3Dcos%5Cu0026platform%3Dandroid%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026tag%3D%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dmcdn%5Cu0026upsig%3D855d6f99090897394e531af9d9cc6dc8%5Cu0026uparams%3De%2Cnbs%2Coi%2Cuipk%2Cmid%2Cdeadline%2Cog%2Cplatform%2Ctrid%2Ctag%2Cgen%2Cos%5Cu0026mcdnid%3D50007224%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D131973%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026orderid%3D0%2C3%22%5D%2C%22audio_id%22%3A30216%7D%5D%2C%22audio%22%3A%5B%7B%22id%22%3A30216%2C%22base_url%22%3A%22http%3A%2F%2F121.31.234.218%3A8000%2Fv1%2Fresource%2F29550644277-1-30216.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43505%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50007224%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3Db0263a%5Cu0026tag%3D%5Cu0026traceid%3DtrDHNJjmfaaueG_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cplatform%252Ctrid%252Cmid%252Cdeadline%252Cnbs%252Cgen%252Coi%252Cuipk%252Ctag%252Cos%252Cog%5Cu0026upsig%3De92887e43514a81bad4594c670c509d1%22%2C%22bandwidth%22%3A43292%2C%22size%22%3A1250775%2C%22backup_url%22%3A%5B%22http%3A%2F%2F211.141.225.131%3A8000%2Fv1%2Fresource%2F29550644277-1-30216.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43505%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3D08hbv%5Cu0026platform%3Dandroid%5Cu0026sign%3Db0263a%5Cu0026tag%3D%5Cu0026traceid%3DtrnTeKCShifUBc_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cgen%252Cog%252Cdeadline%252Ctag%252Cnbs%252Cplatform%252Ctrid%252Cos%252Cmid%252Coi%252Cuipk%5Cu0026upsig%3D313f602e2d41ebe9637a95fc20bceb93%22%2C%22http%3A%2F%2F211.141.224.92%3A4480%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-30216.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026platform%3Dandroid%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026nbs%3D1%5Cu0026gen%3Dplayurlv3%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026tag%3D%5Cu0026os%3Dmcdn%5Cu0026og%3Dhw%5Cu0026upsig%3De92887e43514a81bad4594c670c509d1%5Cu0026uparams%3De%2Cplatform%2Ctrid%2Cmid%2Cdeadline%2Cnbs%2Cgen%2Coi%2Cuipk%2Ctag%2Cos%2Cog%5Cu0026mcdnid%3D50007224%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D43505%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026orderid%3D0%2C3%22%5D%7D%2C%7B%22id%22%3A30280%2C%22base_url%22%3A%22http%3A%2F%2F211.97.94.165%3A8000%2Fv1%2Fresource%2F29550644277-1-30280.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43504%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50007224%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3D3f3ed4%5Cu0026tag%3D%5Cu0026traceid%3DtrQHmKzoFdDeCw_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cuipk%252Ctag%252Cnbs%252Cgen%252Cos%252Cog%252Coi%252Cplatform%252Ctrid%252Cmid%252Cdeadline%5Cu0026upsig%3D808cd1429841f75b1ccd7ccdc5de7bc3%22%2C%22bandwidth%22%3A43292%2C%22size%22%3A1250767%2C%22backup_url%22%3A%5B%22http%3A%2F%2F123.184.35.19%3A8000%2Fv1%2Fresource%2F29550644277-1-30280.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43504%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3Dupos%5Cu0026platform%3Dandroid%5Cu0026sign%3D3f3ed4%5Cu0026tag%3D%5Cu0026traceid%3DtrtSntUkmmkWVz_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cplatform%252Ctag%252Cnbs%252Cog%252Ctrid%252Cmid%252Cdeadline%252Coi%252Cuipk%252Cgen%252Cos%5Cu0026upsig%3D070e2e2176dd7e2d87777b20161c8d1f%22%2C%22http%3A%2F%2F211.141.224.92%3A4480%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-30280.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026uipk%3D5%5Cu0026tag%3D%5Cu0026nbs%3D1%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dmcdn%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026platform%3Dandroid%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026upsig%3D808cd1429841f75b1ccd7ccdc5de7bc3%5Cu0026uparams%3De%2Cuipk%2Ctag%2Cnbs%2Cgen%2Cos%2Cog%2Coi%2Cplatform%2Ctrid%2Cmid%2Cdeadline%5Cu0026mcdnid%3D50007224%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D43504%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026orderid%3D0%2C3%22%5D%7D%2C%7B%22id%22%3A30232%2C%22base_url%22%3A%22http%3A%2F%2F125.106.124.64%3A8000%2Fv1%2Fresource%2F29550644277-1-30232.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43504%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50007224%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3D3ad163%5Cu0026tag%3D%5Cu0026traceid%3DtrsSvqSMaoCcOa_1_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Ctag%252Cuipk%252Cgen%252Cos%252Cog%252Ctrid%252Cmid%252Cdeadline%252Cnbs%252Coi%252Cplatform%5Cu0026upsig%3D219bdbd1641753ddc8555f788bc21711%22%2C%22bandwidth%22%3A43292%2C%22size%22%3A1250767%2C%22backup_url%22%3A%5B%22http%3A%2F%2F220.200.12.159%3A5889%2Fv1%2Fresource%2F29550644277-1-30232.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D43504%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3D08hbv%5Cu0026platform%3Dandroid%5Cu0026sign%3D3ad163%5Cu0026tag%3D%5Cu0026traceid%3DtrQVqwCtxAuTKK_2_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Ctag%252Coi%252Ctrid%252Cdeadline%252Cgen%252Cos%252Cnbs%252Cuipk%252Cplatform%252Cmid%252Cog%5Cu0026upsig%3Dc45e0be8a46a1b1456b066fc447dcf4a%22%2C%22http%3A%2F%2F211.141.224.92%3A4480%2Fupgcxcode%2F77%2F42%2F29550644277%2F29550644277-1-30232.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026tag%3D%5Cu0026uipk%3D5%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dmcdn%5Cu0026og%3Dhw%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026platform%3Dandroid%5Cu0026upsig%3D219bdbd1641753ddc8555f788bc21711%5Cu0026uparams%3De%2Ctag%2Cuipk%2Cgen%2Cos%2Cog%2Ctrid%2Cmid%2Cdeadline%2Cnbs%2Coi%2Cplatform%5Cu0026mcdnid%3D50007224%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D43504%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026orderid%3D0%2C3%22%5D%7D%5D%7D%2C%22fnval%22%3A272%2C%22accept_formats%22%3A%5B%7B%22quality%22%3A116%2C%22format%22%3A%22flv_p60%22%2C%22description%22%3A%22%E9%AB%98%E6%B8%85%201080P60%22%2C%22new_description%22%3A%221080P%2060%E5%B8%A7%22%2C%22display_desc%22%3A%221080P%22%2C%22superscript%22%3A%2260%E5%B8%A7%22%2C%22need_vip%22%3Atrue%2C%22need_login%22%3Atrue%7D%2C%7B%22quality%22%3A80%2C%22format%22%3A%22flv%22%2C%22description%22%3A%22%E9%AB%98%E6%B8%85%201080P%22%2C%22new_description%22%3A%221080P%20%E9%AB%98%E6%B8%85%22%2C%22display_desc%22%3A%221080P%22%2C%22need_login%22%3Atrue%7D%2C%7B%22quality%22%3A64%2C%22format%22%3A%22flv720%22%2C%22description%22%3A%22%E9%AB%98%E6%B8%85%20720P%22%2C%22new_description%22%3A%22720P%20%E5%87%86%E9%AB%98%E6%B8%85%22%2C%22display_desc%22%3A%22720P%22%2C%22need_login%22%3Atrue%7D%2C%7B%22quality%22%3A32%2C%22format%22%3A%22flv480%22%2C%22description%22%3A%22%E6%B8%85%E6%99%B0%20480P%22%2C%22new_description%22%3A%22480P%20%E6%A0%87%E6%B8%85%22%2C%22display_desc%22%3A%22480P%22%7D%2C%7B%22quality%22%3A16%2C%22format%22%3A%22mp4%22%2C%22description%22%3A%22%E6%B5%81%E7%95%85%20360P%22%2C%22new_description%22%3A%22360P%20%E6%B5%81%E7%95%85%22%2C%22display_desc%22%3A%22360P%22%7D%5D%2C%22volume%22%3A%7B%22measured_i%22%3A-18.2%2C%22measured_lra%22%3A5.9%2C%22measured_tp%22%3A-1.3%2C%22measured_threshold%22%3A-28.3%2C%22target_offset%22%3A0.5%2C%22target_i%22%3A-14%2C%22target_tp%22%3A-1%2C%22multi_scene_args%22%3A%7B%22high_dynamic_target_i%22%3A%22-24%22%2C%22normal_target_i%22%3A%22-14%22%2C%22undersized_target_i%22%3A%22-28%22%7D%7D%2C%22union_player%22%3A%7B%22biz_type%22%3A1%2C%22dimension%22%3A%7B%22width%22%3A4096%2C%22height%22%3A1890%7D%2C%22aid%22%3A114375012651120%7D%2C%22auto_qn_ctl%22%3A%7B%22login_half%22%3A32%2C%22nologin_half%22%3A32%2C%22login_full%22%3A80%2C%22nologin_full%22%3A32%2C%22mobile_login_full%22%3A80%2C%22mobile_nologin_full%22%3A32%7D%2C%22qn_exp%22%3A%7B%22qn_exp_1%22%3Atrue%7D%7D&player_rotate=0&player_width=4096&report_flow_data=%7B%22flow_card_type%22%3A%22av%22%2C%22flow_source%22%3A%22click_u2i%24ann_dssm_u2i_28d%24dssm_u2u%22%7D&trackid=all_49.router-pegasus-2021478-7d7955f987-td5kj.1745482993998.1007", + "three_point": { + "dislike_reasons": [ + { + "id": 4, + "name": "UP主:小白测评", + "toast": "将减少相似内容推荐" + }, + { + "id": 3, + "name": "频道:骁龙8s Gen4", + "toast": "将减少相似内容推荐" + }, + { + "id": 12, + "name": "此类内容过多", + "toast": "将减少相似内容推荐" + }, + { + "id": 13, + "name": "推荐过", + "toast": "将减少相似内容推荐" + }, + { + "id": 1, + "name": "这个内容", + "toast": "将减少相似内容推荐" + } + ], + "feedbacks": [ + { + "id": 1, + "name": "恐怖血腥", + "toast": "将优化首页此类内容" + }, + { + "id": 2, + "name": "色情低俗", + "toast": "将优化首页此类内容" + }, + { + "id": 3, + "name": "封面恶心", + "toast": "将优化首页此类内容" + }, + { + "id": 4, + "name": "标题党/封面党", + "toast": "将优化首页此类内容" + } + ], + "watch_later": 1 + }, + "args": { + "up_id": 8969156, + "up_name": "小白测评", + "tid": 74460002, + "tname": "骁龙8s Gen4", + "aid": 114375012651120 + }, + "player_args": { + "aid": 114375012651120, + "cid": 29550644277, + "type": "av", + "duration": 231 + }, + "idx": 1745482990, + "three_point_v2": [ + { + "title": "添加至稍后再看", + "type": "watch_later", + "icon": "https://i0.hdslb.com/bfs/activity-plat/static/20240103/0977767b2e79d8ad0a36a731068a83d7/8VhmmUeWnO.png", + "icon_night": "https://i0.hdslb.com/bfs/activity-plat/static/20240103/0977767b2e79d8ad0a36a731068a83d7/eIyDu5U7GA.png" + }, + { + "title": "反馈", + "subtitle": "(选择后将优化首页此类内容)", + "reasons": [ + { + "id": 1, + "name": "恐怖血腥", + "toast": "将优化首页此类内容" + }, + { + "id": 2, + "name": "色情低俗", + "toast": "将优化首页此类内容" + }, + { + "id": 3, + "name": "封面恶心", + "toast": "将优化首页此类内容" + }, + { + "id": 4, + "name": "标题党/封面党", + "toast": "将优化首页此类内容" + } + ], + "type": "feedback" + }, + { + "title": "我不想看", + "subtitle": "(选择后将减少相似内容推荐)", + "reasons": [ + { + "id": 4, + "name": "UP主:小白测评", + "toast": "将减少相似内容推荐" + }, + { + "id": 3, + "name": "频道:骁龙8s Gen4", + "toast": "将减少相似内容推荐", + "extend": "{\"tid\":\"74460002\"}" + }, + { + "id": 3, + "name": "频道:科技猎手2025·1.0计划", + "toast": "将减少相似内容推荐", + "extend": "{\"tid\":\"74338017\"}" + }, + { + "id": 12, + "name": "此类内容过多", + "toast": "将减少相似内容推荐" + }, + { + "id": 13, + "name": "推荐过", + "toast": "将减少相似内容推荐" + }, + { + "id": 1, + "name": "这个内容", + "toast": "将减少相似内容推荐" + } + ], + "type": "dislike" + } + ], + "track_id": "all_49.router-pegasus-2021478-7d7955f987-td5kj.1745482993998.1007", + "talk_back": "视频,「小白」红米Turbo 4 Pro 性能体验:首台8sGen4量产机表现如何?,39.5万观看,1654弹幕,时长3分钟51秒,UP主小白测评,", + "report_flow_data": "{\"flow_card_type\":\"av\",\"flow_source\":\"click_u2i$ann_dssm_u2i_28d$dssm_u2u\"}", + "three_point_v": "v2", + "cover_left_text_1": "39.5万", + "cover_left_icon_1": 1, + "cover_left_1_content_description": "39.5万观看", + "cover_left_text_2": "1654", + "cover_left_icon_2": 3, + "cover_left_2_content_description": "1654弹幕", + "cover_right_text": "3:51", + "cover_right_content_description": "3分钟51秒", + "desc_button": { + "text": "小白测评", + "uri": "bilibili://space/8969156", + "event": "nickname", + "type": 1 + }, + "official_icon": 16, + "can_play": 1, + "goto_icon": { + "icon_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/077GOeHOfO.png", + "icon_night_url": "https://i0.hdslb.com/bfs/activity-plat/static/20230227/0977767b2e79d8ad0a36a731068a83d7/ldbCXtkoK2.png", + "icon_width": 16, + "icon_height": 16 + }, + "cover_info_priority": 123 + }, + { + "type": "static", + "resource_id": 4336, + "id": 1674583, + "index": 3, + "static_banner": { + "id": 1674583, + "title": "神舟二十号载人飞船今日发射", + "image": "http://i0.hdslb.com/bfs/banner/3d3f17726926194173a2db2a68ff51fbe1081458.jpg", + "hash": "e39cbd594c34ac3a0ec12a45dd6db0b5", + "uri": "https://live.bilibili.com/21686237", + "request_id": "1745482994326q172a27a87a21q3087", + "src_id": 4339, + "is_ad_loc": true, + "client_ip": "182.89.224.34", + "server_type": 0, + "resource_id": 4336, + "index": 3, + "cm_mark": 0 + } + } + ] + }, + { + "card_type": "small_cover_v2", + "card_goto": "av", + "goto": "av", + "param": "114369442680801", + "cover": "http://i1.hdslb.com/bfs/archive/13d3bace40c362db92d5752aef3ebce24bbcbea3.jpg", + "title": "【仿】《明日方舟》六周年庆典活动宣传PV", + "uri": "bilibili://video/114369442680801?cid=29516958739&player_height=1080&player_preload=%7B%22expire_time%22%3A1745486594%2C%22cid%22%3A29516958739%2C%22quality%22%3A32%2C%22file_info%22%3A%7B%2216%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A8427938%2C%22timelength%22%3A239258%7D%5D%7D%2C%2232%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A14979728%2C%22timelength%22%3A239238%7D%5D%7D%2C%2264%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A28834092%2C%22timelength%22%3A239238%7D%5D%7D%2C%2280%22%3A%7B%22infos%22%3A%5B%7B%22filesize%22%3A48620682%2C%22timelength%22%3A239238%7D%5D%7D%7D%2C%22video_codecid%22%3A7%2C%22video_project%22%3Atrue%2C%22dash%22%3A%7B%22video%22%3A%5B%7B%22id%22%3A32%2C%22base_url%22%3A%22http%3A%2F%2F118.184.254.3%3A4480%2Fupgcxcode%2F39%2F87%2F29516958739%2F29516958739-1-100047.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026platform%3Dandroid%5Cu0026gen%3Dplayurlv3%5Cu0026tag%3D%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026os%3Dmcdn%5Cu0026og%3Dcos%5Cu0026upsig%3D83d78984e6c66cf9fb8f44e16af524dc%5Cu0026uparams%3De%2Cnbs%2Coi%2Cuipk%2Cplatform%2Cgen%2Ctag%2Ctrid%2Cmid%2Cdeadline%2Cos%2Cog%5Cu0026mcdnid%3D50021694%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D501413%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026orderid%3D0%2C3%22%2C%22bandwidth%22%3A500862%2C%22codecid%22%3A7%2C%22size%22%3A14979728%2C%22frame_rate%22%3A%2229.966%22%2C%22backup_url%22%3A%5B%22http%3A%2F%2Fupos-sz-estgoss.bilivideo.com%2Fupgcxcode%2F39%2F87%2F29516958739%2F29516958739-1-100047.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026trid%3D56fb961696ed4d6bb208acb9ce431b1U%5Cu0026os%3Dupos%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026platform%3Dandroid%5Cu0026mid%3D479396940%5Cu0026deadline%3D1745490194%5Cu0026tag%3D%5Cu0026gen%3Dplayurlv3%5Cu0026nbs%3D1%5Cu0026upsig%3D4a9372dc47ff187acaddd4b1bb7ff762%5Cu0026uparams%3De%2Ctrid%2Cos%2Cog%2Coi%2Cuipk%2Cplatform%2Cmid%2Cdeadline%2Ctag%2Cgen%2Cnbs%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D501413%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026orderid%3D1%2C3%22%2C%22http%3A%2F%2Fupos-sz-estgoss.bilivideo.com%2Fupgcxcode%2F39%2F87%2F29516958739%2F29516958739-1-100047.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026deadline%3D1745490194%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dupos%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026platform%3Dandroid%5Cu0026trid%3D56fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026tag%3D%5Cu0026nbs%3D1%5Cu0026og%3Dcos%5Cu0026upsig%3Df4d94d26f589bd25736ae575f46117cb%5Cu0026uparams%3De%2Cdeadline%2Cgen%2Cos%2Coi%2Cuipk%2Cplatform%2Ctrid%2Cmid%2Ctag%2Cnbs%2Cog%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D501413%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026orderid%3D2%2C3%22%5D%2C%22audio_id%22%3A30216%7D%2C%7B%22id%22%3A32%2C%22base_url%22%3A%22http%3A%2F%2F123.184.30.75%3A8000%2Fv1%2Fresource%2F29516958739-1-30033.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D261105%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50021694%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3D6c5944%5Cu0026tag%3D%5Cu0026traceid%3DtrrIoIfTKBmhJG_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cnbs%252Cgen%252Cos%252Cog%252Cplatform%252Ctrid%252Cmid%252Ctag%252Coi%252Cuipk%252Cdeadline%5Cu0026upsig%3D20c184de73caf9072d6615826d43a023%22%2C%22bandwidth%22%3A260788%2C%22codecid%22%3A12%2C%22size%22%3A7800527%2C%22frame_rate%22%3A%2229.966%22%2C%22backup_url%22%3A%5B%22http%3A%2F%2F123.184.30.71%3A8000%2Fv1%2Fresource%2F29516958739-1-30033.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D261105%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3Dcoso1bv%5Cu0026platform%3Dandroid%5Cu0026sign%3D6c5944%5Cu0026tag%3D%5Cu0026traceid%3DtrKFqEZMFxtfGx_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cplatform%252Cnbs%252Ctrid%252Cmid%252Cdeadline%252Ctag%252Coi%252Cuipk%252Cgen%252Cos%252Cog%5Cu0026upsig%3D026e2862050e3c63ac42d8c153b140bd%22%2C%22http%3A%2F%2F118.184.254.3%3A4480%2Fupgcxcode%2F39%2F87%2F29516958739%2F29516958739-1-30033.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026nbs%3D1%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dmcdn%5Cu0026og%3Dcos%5Cu0026platform%3Dandroid%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026tag%3D%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026deadline%3D1745490194%5Cu0026upsig%3D20c184de73caf9072d6615826d43a023%5Cu0026uparams%3De%2Cnbs%2Cgen%2Cos%2Cog%2Cplatform%2Ctrid%2Cmid%2Ctag%2Coi%2Cuipk%2Cdeadline%5Cu0026mcdnid%3D50021694%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D261105%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026orderid%3D0%2C3%22%5D%2C%22audio_id%22%3A30216%7D%5D%2C%22audio%22%3A%5B%7B%22id%22%3A30216%2C%22base_url%22%3A%22http%3A%2F%2F183.229.247.224%3A6809%2Fv1%2Fresource%2F29516958739-1-30216.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D57268%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50021694%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3Dc6f08b%5Cu0026tag%3D%5Cu0026traceid%3DtrOVFXiUwisFJo_1_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Ctrid%252Cdeadline%252Ctag%252Cos%252Cog%252Cnbs%252Coi%252Cuipk%252Cplatform%252Cmid%252Cgen%5Cu0026upsig%3D65fa2495f72b1652c93ae3e8ed18f2f6%22%2C%22bandwidth%22%3A57154%2C%22size%22%3A1710889%2C%22backup_url%22%3A%5B%22http%3A%2F%2F123.138.84.79%3A8000%2Fv1%2Fresource%2F29516958739-1-30216.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D57268%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3D08hbv%5Cu0026platform%3Dandroid%5Cu0026sign%3Dc6f08b%5Cu0026tag%3D%5Cu0026traceid%3DtrZvPCHsGisbaS_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cnbs%252Coi%252Cplatform%252Cmid%252Cgen%252Cos%252Cog%252Cdeadline%252Ctag%252Cuipk%252Ctrid%5Cu0026upsig%3Dc6eeb5169558ca73c36ff87b7925515c%22%2C%22http%3A%2F%2F118.184.254.3%3A4480%2Fupgcxcode%2F39%2F87%2F29516958739%2F29516958739-1-30216.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026deadline%3D1745490194%5Cu0026tag%3D%5Cu0026os%3Dmcdn%5Cu0026og%3Dhw%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026uipk%3D5%5Cu0026platform%3Dandroid%5Cu0026mid%3D479396940%5Cu0026gen%3Dplayurlv3%5Cu0026upsig%3D65fa2495f72b1652c93ae3e8ed18f2f6%5Cu0026uparams%3De%2Ctrid%2Cdeadline%2Ctag%2Cos%2Cog%2Cnbs%2Coi%2Cuipk%2Cplatform%2Cmid%2Cgen%5Cu0026mcdnid%3D50021694%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D57268%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026orderid%3D0%2C3%22%5D%7D%2C%7B%22id%22%3A30280%2C%22base_url%22%3A%22http%3A%2F%2F125.74.62.233%3A8000%2Fv1%2Fresource%2F29516958739-1-30280.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D201462%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50021694%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3Db1164b%5Cu0026tag%3D%5Cu0026traceid%3DtrkxYWIjABzQnP_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cuipk%252Ctrid%252Cmid%252Cnbs%252Cog%252Coi%252Cdeadline%252Ctag%252Cgen%252Cos%252Cplatform%5Cu0026upsig%3D5f5a3ee9562beef98824c40a28a6cf00%22%2C%22bandwidth%22%3A201184%2C%22size%22%3A6018701%2C%22backup_url%22%3A%5B%22http%3A%2F%2F118.182.248.130%3A8000%2Fv1%2Fresource%2F29516958739-1-30280.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D201462%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3Dcoso1bv%5Cu0026platform%3Dandroid%5Cu0026sign%3Db1164b%5Cu0026tag%3D%5Cu0026traceid%3DtrLzIEoLxgCnJA_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Ctrid%252Cog%252Cnbs%252Coi%252Cuipk%252Cdeadline%252Cgen%252Cos%252Ctag%252Cplatform%252Cmid%5Cu0026upsig%3D67dde445db5a37fb52a4bcf508e81318%22%2C%22http%3A%2F%2F118.184.254.3%3A4480%2Fupgcxcode%2F39%2F87%2F29516958739%2F29516958739-1-30280.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026uipk%3D5%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026og%3Dcos%5Cu0026oi%3D3059343394%5Cu0026deadline%3D1745490194%5Cu0026tag%3D%5Cu0026gen%3Dplayurlv3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026upsig%3D5f5a3ee9562beef98824c40a28a6cf00%5Cu0026uparams%3De%2Cuipk%2Ctrid%2Cmid%2Cnbs%2Cog%2Coi%2Cdeadline%2Ctag%2Cgen%2Cos%2Cplatform%5Cu0026mcdnid%3D50021694%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D201462%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026f%3DU_0_0%5Cu0026orderid%3D0%2C3%22%5D%7D%2C%7B%22id%22%3A30232%2C%22base_url%22%3A%22http%3A%2F%2F218.200.4.197%3A6768%2Fv1%2Fresource%2F29516958739-1-30232.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D107268%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mcdnid%3D50021694%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D0%252C3%5Cu0026os%3Dmcdn%5Cu0026platform%3Dandroid%5Cu0026sign%3Df944bf%5Cu0026tag%3D%5Cu0026traceid%3DtrxuDVFEVzmgrz_1_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cuipk%252Cgen%252Cplatform%252Ctrid%252Cmid%252Ctag%252Cnbs%252Coi%252Cog%252Cdeadline%252Cos%5Cu0026upsig%3Db3eef15ee3382742abc7374c9113a398%22%2C%22bandwidth%22%3A107097%2C%22size%22%3A3204643%2C%22backup_url%22%3A%5B%22http%3A%2F%2F123.184.35.27%3A8000%2Fv1%2Fresource%2F29516958739-1-30232.m4s%3Fagrr%3D1%5Cu0026build%3D8410300%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026bvc%3Dvod%5Cu0026bw%3D107268%5Cu0026deadline%3D1745490194%5Cu0026dl%3D0%5Cu0026e%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026f%3DU_0_0%5Cu0026gen%3Dplayurlv3%5Cu0026mid%3D479396940%5Cu0026nbs%3D1%5Cu0026nettype%3D0%5Cu0026og%3Dhw%5Cu0026oi%3D3059343394%5Cu0026orderid%3D1%252C3%5Cu0026os%3Dcoso1bv%5Cu0026platform%3Dandroid%5Cu0026sign%3Df944bf%5Cu0026tag%3D%5Cu0026traceid%3DtrEEpUqSymBxaq_0_U_a%5Cu0026uipk%3D5%5Cu0026uparams%3De%252Cplatform%252Cmid%252Cdeadline%252Ctag%252Coi%252Ctrid%252Cnbs%252Cuipk%252Cgen%252Cos%252Cog%5Cu0026upsig%3D3727194e76cf963df693733c2427f660%22%2C%22http%3A%2F%2F118.184.254.3%3A4480%2Fupgcxcode%2F39%2F87%2F29516958739%2F29516958739-1-30232.m4s%3Fe%3Dig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEuENvNC8aNEVEtEvE9IMvXBvE2ENvNCImNEVEIj0Y2J_aug859r1qXg8xNEVE5XREto8GuFGv2U7SuxI72X6fTr859IB_%5Cu0026uipk%3D5%5Cu0026gen%3Dplayurlv3%5Cu0026platform%3Dandroid%5Cu0026trid%3D000056fb961696ed4d6bb208acb9ce431b1U%5Cu0026mid%3D479396940%5Cu0026tag%3D%5Cu0026nbs%3D1%5Cu0026oi%3D3059343394%5Cu0026og%3Dhw%5Cu0026deadline%3D1745490194%5Cu0026os%3Dmcdn%5Cu0026upsig%3Db3eef15ee3382742abc7374c9113a398%5Cu0026uparams%3De%2Cuipk%2Cgen%2Cplatform%2Ctrid%2Cmid%2Ctag%2Cnbs%2Coi%2Cog%2Cdeadline%2Cos%5Cu0026mcdnid%3D50021694%5Cu0026bvc%3Dvod%5Cu0026nettype%3D0%5Cu0026bw%3D107268%5Cu0026f%3DU_0_0%5Cu0026agrr%3D1%5Cu0026buvid%3DXY6CBD464C1BC5767CE40A77F12B89222B6E7%5Cu0026build%3D8410300%5Cu0026dl%3D0%5Cu0026orderid%3D0%2C3%22%5D%7D%5D%7D%2C%22fnval%22%3A272%2C%22accept_formats%22%3A%5B%7B%22quality%22%3A112%2C%22format%22%3A%22hdflv2%22%2C%22description%22%3A%22%E9%AB%98%E6%B8%85%201080P%2B%22%2C%22new_description%22%3A%221080P%20%E9%AB%98%E7%A0%81%E7%8E%87%22%2C%22display_desc%22%3A%221080P%22%2C%22superscript%22%3A%22%E9%AB%98%E7%A0%81%E7%8E%87%22%2C%22need_vip%22%3Atrue%2C%22need_login%22%3Atrue%7D%2C%7B%22quality%22%3A80%2C%22format%22%3A%22flv%22%2C%22description%22%3A%22%E9%AB%98%E6%B8%85%201080P%22%2C%22new_description%22%3A%221080P%20%E9%AB%98%E6%B8%85%22%2C%22display_desc%22%3A%221080P%22%2C%22need_login%22%3Atrue%7D%2C%7B%22quality%22%3A64%2C%22format%22%3A%22flv720%22%2C%22description%22%3A%22%E9%AB%98%E6%B8%85%20720P%22%2C%22new_description%22%3A%22720P%20%E5%87%86%E9%AB%98%E6%B8%85%22%2C%22display_desc%22%3A%22720P%22%2C%22need_login%22%3Atrue%7D%2C%7B%22quality%22%3A32%2C%22format%22%3A%22flv480%22%2C%22description%22%3A%22%E6%B8%85%E6%99%B0%20480P%22%2C%22new_description%22%3A%22480P%20%E6%A0%87%E6%B8%85%22%2C%22display_desc%22%3A%22480P%22%7D%2C%7B%22quality%22%3A16%2C%22format%22%3A%22mp4%22%2C%22description%22%3A%22%E6%B5%81%E7%95%85%20360P%22%2C%22new_description%22%3A%22360P%20%E6%B5%81%E7%95%85%22%2C%22display_desc%22%3A%22360P%22%7D%5D%2C%22volume%22%3A%7B%22measured_i%22%3A-10.8%2C%22measured_lra%22%3A8.6%2C%22measured_tp%22%3A3.5%2C%22measured_threshold%22%3A-21%2C%22target_offset%22%3A-1.1%2C%22target_i%22%3A-14%2C%22target_tp%22%3A-1%2C%22multi_scene_args%22%3A%7B%22high_dynamic_target_i%22%3A%22-24%22%2C%22normal_target_i%22%3A%22-14%22%2C%22undersized_target_i%22%3A%22-28%22%7D%7D%2C%22union_player%22%3A%7B%22biz_type%22%3A1%2C%22dimension%22%3A%7B%22width%22%3A1920%2C%22height%22%3A1080%7D%2C%22aid%22%3A114369442680801%7D%2C%22auto_qn_ctl%22%3A%7B%22login_half%22%3A32%2C%22nologin_half%22%3A32%2C%22login_full%22%3A80%2C%22nologin_full%22%3A32%2C%22mobile_login_full%22%3A80%2C%22mobile_nologin_full%22%3A32%7D%2C%22qn_exp%22%3A%7B%22qn_exp_1%22%3Atrue%7D%7D&player_rotate=0&player_width=1920&report_flow_data=%7B%22flow_card_type%22%3A%22av%22%2C%22flow_source%22%3A%22dssm_u2u%22%7D&trackid=all_49.router-pegasus-2021478-7d7955f987-td5kj.1745482993998.1007", + "three_point": { + "dislike_reasons": [ + { + "id": 4, + "name": "UP主:罗德岛蜜饼工坊", + "toast": "将减少相似内容推荐" + }, + { + "id": 3, + "name": "频道:明日方舟UP主应援计划 – 离解复合", + "toast": "将减少相似内容推荐" + }, + { + "id": 12, + "name": "此类内容过多", + "toast": "将减少相似内容推荐" + }, + { + "id": 13, + "name": "推荐过", + "toast": "将减少相似内容推荐" + }, + { + "id": 1, + "name": "这个内容", + "toast": "将减少相似内容推荐" + } + ], + "feedbacks": [ + { + "id": 1, + "name": "恐怖血腥", + "toast": "将优化首页此类内容" + }, + { + "id": 2, + "name": "色情低俗", + "toast": "将优化首页此类内容" + }, + { + "id": 3, + "name": "封面恶心", + "toast": "将优化首页此类内容" + }, + { + "id": 4, + "name": "标题党/封面党", + "toast": "将优化首页此类内容" + } + ], + "watch_later": 1 + }, + "args": { + "up_id": 8412516, + "up_name": "罗德岛蜜饼工坊", + "tid": 74654031, + "tname": "明日方舟UP主应援计划 – 离解复合", + "aid": 114369442680801 + }, + "player_args": { + "aid": 114369442680801, + "cid": 29516958739, + "type": "av", + "duration": 240 + }, + "idx": 1745482982, + "three_point_v2": [ + { + "title": "添加至稍后再看", + "type": "watch_later", + "icon": "https://i0.hdslb.com/bfs/activity-plat/static/20240103/0977767b2e79d8ad0a36a731068a83d7/8VhmmUeWnO.png", + "icon_night": "https://i0.hdslb.com/bfs/activity-plat/static/20240103/0977767b2e79d8ad0a36a731068a83d7/eIyDu5U7GA.png" + }, + { + "title": "反馈", + "subtitle": "(选择后将优化首页此类内容)", + "reasons": [ + { + "id": 1, + "name": "恐怖血腥", + "toast": "将优化首页此类内容" + }, + { + "id": 2, + "name": "色情低俗", + "toast": "将优化首页此类内容" + }, + { + "id": 3, + "name": "封面恶心", + "toast": "将优化首页此类内容" + }, + { + "id": 4, + "name": "标题党/封面党", + "toast": "将优化首页此类内容" + } + ], + "type": "feedback" + }, + { + "title": "我不想看", + "subtitle": "(选择后将减少相似内容推荐)", + "reasons": [ + { + "id": 4, + "name": "UP主:罗德岛蜜饼工坊", + "toast": "将减少相似内容推荐" + }, + { + "id": 3, + "name": "频道:明日方舟UP主应援计划 – 离解复合", + "toast": "将减少相似内容推荐", + "extend": "{\"tid\":\"74654031\"}" + }, + { + "id": 3, + "name": "频道:泰拉探索协会", + "toast": "将减少相似内容推荐", + "extend": "{\"tid\":\"22177849\"}" + }, + { + "id": 12, + "name": "此类内容过多", + "toast": "将减少相似内容推荐" + }, + { + "id": 13, + "name": "推荐过", + "toast": "将减少相似内容推荐" + }, + { + "id": 1, + "name": "这个内容", + "toast": "将减少相似内容推荐" + } + ], + "type": "dislike" + } + ], + "track_id": "all_49.router-pegasus-2021478-7d7955f987-td5kj.1745482993998.1007", + "talk_back": "视频,【仿】《明日方舟》六周年庆典活动宣传PV,45.4万观看,1074弹幕,时长4分钟00秒,UP主罗德岛蜜饼工坊,3万点赞,", + "report_flow_data": "{\"flow_card_type\":\"av\",\"flow_source\":\"dssm_u2u\"}", + "three_point_v": "v2", + "cover_left_text_1": "45.4万", + "cover_left_icon_1": 1, + "cover_left_1_content_description": "45.4万观看", + "cover_left_text_2": "1074", + "cover_left_icon_2": 3, + "cover_left_2_content_description": "1074弹幕", + "cover_right_text": "4:00", + "cover_right_content_description": "4分钟00秒", + "rcmd_reason": "3万点赞", + "official_icon": 16, + "can_play": 1, + "rcmd_reason_style": { + "text": "3万点赞", + "text_color": "#FF6633", + "bg_color": "#FFF1ED", + "border_color": "#FFF1ED", + "text_color_night": "#BF5330", + "bg_color_night": "#3D2D29", + "border_color_night": "#3D2D29", + "bg_style": 1 + }, + "cover_info_priority": 123 + } + ], + "config": { + "column": 2, + "autoplay_card": 11, + "feed_clean_abtest": 0, + "home_transfer_test": 0, + "auto_refresh_time": 1200, + "show_inline_danmaku": 1, + "toast": {}, + "single_autoplay_flag": 1, + "is_back_to_homepage": true, + "enable_rcmd_guide": true, + "auto_refresh_time_by_appear": 1800, + "auto_refresh_time_by_active": 1800, + "trigger_loadmore_left_line_num": -1, + "history_cache_size": 10, + "visible_area": 80, + "card_density_exp": 1, + "small_cover_wh_ratio": 1.333333, + "video_mode": 1, + "space_enlarge_exp": 1, + "auto_refresh_time_by_behavior": 5, + "story_mode_v2_guide_exp": 6, + "auto_refresh_by_behavior": 1, + "three_point_style": 1, + "exposure_duration_start_ratio": 0.800000011920929, + "exposure_duration_end_ratio": 0.800000011920929, + "exposure_duration_min_ms": 1, + "rcmd_label_mng_entrance": 1 + }, + "interest_choose": null + } +} +``` + +
\ No newline at end of file