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] 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