Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[新增/更新请求] <title>视频流URL:添加try_look参数 #1095

Open
1 task done
grqz opened this issue Sep 4, 2024 · 0 comments
Open
1 task done

[新增/更新请求] <title>视频流URL:添加try_look参数 #1095

grqz opened this issue Sep 4, 2024 · 0 comments

Comments

@grqz
Copy link

grqz commented Sep 4, 2024

提交前请确认

  • 我已检索仓库中文档,不包含所提及内容,或所提及内容在本仓库中存在错误,且 Issues、Pull Requests 中无相关提交

API 来源

Web 端(含 h5)

API 类型

REST

API 地址

https://api.bilibili.com/x/player/playurl

详情描述

文档:https://github.com/SocialSisterYi/bilibili-API-collect/blob/master/docs/video/videostream_url.md
更新请求:添加url参数try_look

$ curl -LGSZs 'https://api.bilibili.com/x/player/playurl' --data-urlencode 'bvid=BV1Zx3seHE33' --data-urlencode 'cid=500001598666958' --data-urlencode 'fnval=4048' -b 'SESSDATA=0' | jq -r '.data.dash.video[]|.id'
32
32
32
16
16
16
$ curl -LGSZs 'https://api.bilibili.com/x/player/playurl' --data-urlencode 'bvid=BV1Zx3seHE33' --data-urlencode 'cid=500001598666958' --data-urlencode 'fnval=4048' -b 'SESSDATA=0' --data-urlencode 'try_look=1' | jq -r '.data.dash.video[]|.id'
80
80
80
64
64
64
32
32
32
16
16
16

传try_look=1可以不登录拉到6480
(为了省事用的老接口没签名,两个接口应该一样的)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant