fix: style & make Cookie unnecessary

This commit is contained in:
晨叶梦春 2025-06-01 13:30:54 +08:00
parent bf0ca39c49
commit 516561fdb1
No known key found for this signature in database
GPG Key ID: 224A5FCF0B94A2B7
2 changed files with 5 additions and 6 deletions

View File

@ -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
输入浏览器
<details>

View File

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