mirror of
https://github.com/SocialSisterYi/bilibili-API-collect.git
synced 2024-12-28 13:30:08 +08:00
Update videostream_url.md
测试后发现加了referer后也出现了403 后来加入不为空的 UA之后发现可以正常在线播放/下载视频(感谢up主的api)
This commit is contained in:
parent
b8035da959
commit
d6bbfd6b28
@ -271,6 +271,8 @@ curl -G 'http://api.bilibili.com/x/player/playurl'\
|
||||
|
||||
需要验证请求Header中`referer`为 `.bilibili.com`域名下(防盗链)
|
||||
|
||||
且`user-agent` 不为空 (否则会403)
|
||||
|
||||
**无referer或错误的情况会返回403 Forbidden**故无法获取
|
||||
|
||||
**以上述视频url为例:**
|
||||
@ -281,4 +283,4 @@ wget 'http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/08/62/171776208/171776208-
|
||||
-O 'Download_video.flv'
|
||||
```
|
||||
|
||||
响应正文将返回一个flv文件
|
||||
响应正文将返回一个flv文件
|
||||
|
Loading…
Reference in New Issue
Block a user