Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
增加获取b站视频信息功能
  • Loading branch information
RWGLQJ authored Sep 24, 2023
1 parent f106c16 commit 53f8ec3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ GET http://localhost:5000/ip_location?ip=192.168.0.1
```


## 获取接口信息接口:/api/up_info
## UP信息获取接口:/api/up_info
* 获取b站up信息的接口
* 此接口使用selenium渲染完整的页面并取出数据,所以响应速度较慢
```
Expand All @@ -104,3 +104,14 @@ GET http://localhost:5000/ip_location?ip=192.168.0.1
请求示例:
GET http://localhost:5000/api/up_info?up_id=457790653
```

## b站视频信息获取接口:/api/vb_info
* 获取b站视频信息的接口
* 此接口使用selenium渲染完整的页面并取出数据,所以响应速度较慢
```
请求方法:GET
请求参数:
vb_id:视频vb号
请求示例:
GET http://127.0.0.1:5000/api/bvideo_info?vb_id=BV1cu4y117zH
```

0 comments on commit 53f8ec3

Please sign in to comment.