Merge pull request #26 from thefatwhale/patch-1

Update videostream_url.md
This commit is contained in:
社会易姐QwQ 2020-07-19 20:13:40 +08:00 committed by GitHub
commit 33f693dd41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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