2020-03-04 18:55:14 +08:00
|
|
|
|
# 视频状态数
|
|
|
|
|
|
2020-03-21 14:37:55 +08:00
|
|
|
|
## 视频状态数1(备用 不封python)
|
|
|
|
|
http://api.bilibili.com/archive_stat/stat
|
2020-03-04 18:55:14 +08:00
|
|
|
|
|
|
|
|
|
*方式:GET*
|
|
|
|
|
|
|
|
|
|
参数:
|
|
|
|
|
| 参数名 | 内容 | 必要性 | 备注 |
|
|
|
|
|
| -------| -------- | ------ |------|
|
|
|
|
|
| aid | 视频avID | 必要 | |
|
|
|
|
|
|
2020-03-04 19:40:19 +08:00
|
|
|
|
**json回复:**
|
2020-03-16 00:28:23 +08:00
|
|
|
|
|
|
|
|
|
| 字段 | 类型 | 内容 | 备注 |
|
|
|
|
|
| ------- | ---- | -------- | ----------------------------------------- |
|
|
|
|
|
| code | num | 返回值 | 0成功<br />40001请求错误<br />40003无视频 |
|
|
|
|
|
| message | str | 错误信息 | 默认为0 |
|
|
|
|
|
| ttl | num | 1 | 作用尚不明确 |
|
|
|
|
|
| data | obj | 信息本体 | |
|
2020-03-04 18:55:14 +08:00
|
|
|
|
|
2020-03-21 14:37:55 +08:00
|
|
|
|
`data`对象:
|
|
|
|
|
|
2020-03-16 00:28:23 +08:00
|
|
|
|
| 字段 | 类型 | 内容 | 备注 |
|
|
|
|
|
| ---------- | ----------------- | --------------------------- | ---------------- |
|
|
|
|
|
| aid | num | 视频avID | |
|
|
|
|
|
| view | 普通num 屏蔽时str | 普通:观看次数 屏蔽时:"--" | |
|
|
|
|
|
| danmaku | num | 弹幕条数 | |
|
|
|
|
|
| reply | num | 评论条数 | |
|
|
|
|
|
| favorite | num | 收藏人数 | |
|
|
|
|
|
| coin | num | 投币枚数 | |
|
|
|
|
|
| share | num | 分享次数 | |
|
|
|
|
|
| now_rank | num | 0 | 作用尚不明确 |
|
|
|
|
|
| his_rank | num | 历史最高排行 | |
|
|
|
|
|
| like | num | 获赞次数 | |
|
|
|
|
|
| dislike | num | 0 | 作用尚不明确 |
|
|
|
|
|
| no_reprint | num | 禁止转载标志 | 0无<br />1禁止 |
|
|
|
|
|
| copyright | num | 版权标志 | 1自制<br />2转载 |
|
2020-03-04 18:55:14 +08:00
|
|
|
|
|
|
|
|
|
示例:
|
|
|
|
|
|
|
|
|
|
http://api.bilibili.com/archive_stat/stat?aid=91572143
|
2020-03-06 17:23:49 +08:00
|
|
|
|
```json
|
2020-03-04 18:55:14 +08:00
|
|
|
|
{
|
|
|
|
|
"code": 0,
|
|
|
|
|
"message": "0",
|
|
|
|
|
"ttl": 1,
|
|
|
|
|
"data": {
|
|
|
|
|
"aid": 91572143,
|
|
|
|
|
"view": 2236510,
|
|
|
|
|
"danmaku": 37856,
|
|
|
|
|
"reply": 5723,
|
|
|
|
|
"favorite": 131317,
|
|
|
|
|
"coin": 143389,
|
|
|
|
|
"share": 44598,
|
|
|
|
|
"now_rank": 0,
|
|
|
|
|
"his_rank": 4,
|
|
|
|
|
"like": 264314,
|
|
|
|
|
"dislike": 0,
|
|
|
|
|
"no_reprint": 1,
|
|
|
|
|
"copyright": 1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
2020-03-21 14:37:55 +08:00
|
|
|
|
## 视频状态数2(常用 封杀python)
|
|
|
|
|
http://api.bilibili.com/x/web-interface/archive/stat
|
2020-03-04 18:55:14 +08:00
|
|
|
|
|
2020-03-21 14:37:55 +08:00
|
|
|
|
*方式:GET*
|
2020-03-07 16:14:18 +08:00
|
|
|
|
|
2020-03-21 14:37:55 +08:00
|
|
|
|
**此API克python,UA中只要存在\*python\*字眼就无法获取正确内容,如用py请改UA**
|
2020-03-07 16:14:18 +08:00
|
|
|
|
|
2020-03-21 14:37:55 +08:00
|
|
|
|
**此API克python,UA中只要存在\*python\*字眼就无法获取正确内容,如用py请改UA**
|
2020-03-07 16:14:18 +08:00
|
|
|
|
|
2020-03-21 14:37:55 +08:00
|
|
|
|
**此API克python,UA中只要存在\*python\*字眼就无法获取正确内容,如用py请改UA**
|
2020-03-04 18:55:14 +08:00
|
|
|
|
|
|
|
|
|
参数:
|
|
|
|
|
| 参数名 | 内容 | 必要性 | 备注 |
|
|
|
|
|
| -------| -------- | ------ |------|
|
|
|
|
|
| aid | 视频avID | 必要 | |
|
|
|
|
|
|
2020-03-21 14:37:55 +08:00
|
|
|
|
**json回复:**
|
2020-03-16 00:28:23 +08:00
|
|
|
|
|
|
|
|
|
| 字段 | 类型 | 内容 | 备注 |
|
|
|
|
|
| ------- | ---- | -------- | ----------------------------------------- |
|
|
|
|
|
| code | num | 返回值 | 0成功 <br />-400请求错误<br />40003无视频 |
|
|
|
|
|
| message | str | 错误信息 | 默认为0 |
|
|
|
|
|
| ttl | num | 1 | 作用尚不明确 |
|
|
|
|
|
| data | obj | 信息本体 | |
|
2020-03-04 18:55:14 +08:00
|
|
|
|
|
2020-03-21 14:37:55 +08:00
|
|
|
|
`data`对象:
|
|
|
|
|
|
2020-03-16 00:28:23 +08:00
|
|
|
|
| 字段 | 类型 | 内容 | 备注 |
|
|
|
|
|
| ---------- | ---------------------- | -------------------------------- | ---------------- |
|
|
|
|
|
| aid | num | 视频avID | |
|
|
|
|
|
| bvid | str | 空 | 作用尚不明确 |
|
|
|
|
|
| view | 普通num<br />屏蔽时str | 普通:观看次数<br />屏蔽时:"--" | |
|
|
|
|
|
| danmaku | num | 弹幕条数 | |
|
|
|
|
|
| reply | num | 评论条数 | |
|
|
|
|
|
| favorite | num | 收藏人数 | |
|
|
|
|
|
| coin | num | 投币枚数 | |
|
|
|
|
|
| share | num | 分享次数 | |
|
|
|
|
|
| now_rank | num | 0 | 作用尚不明确 |
|
|
|
|
|
| his_rank | num | 历史最高排行 | |
|
|
|
|
|
| like | num | 获赞次数 | |
|
|
|
|
|
| dislike | num | 0 | 作用尚不明确 |
|
|
|
|
|
| no_reprint | num | 禁止转载标志 | 0无<br />1禁止 |
|
|
|
|
|
| copyright | num | 版权标志 | 1自制<br />2转载 |
|
|
|
|
|
| argue_msg | str | 警告信息 | 默认为空 |
|
|
|
|
|
| evaluation | str | 视频评分 | 默认为空 |
|
2020-03-04 18:55:14 +08:00
|
|
|
|
|
|
|
|
|
示例:
|
|
|
|
|
|
|
|
|
|
http://api.bilibili.com/x/web-interface/archive/stat?aid=2271112
|
2020-03-07 16:14:18 +08:00
|
|
|
|
```json
|
2020-03-04 18:55:14 +08:00
|
|
|
|
{
|
|
|
|
|
"code": 0,
|
|
|
|
|
"message": "0",
|
|
|
|
|
"ttl": 1,
|
|
|
|
|
"data": {
|
|
|
|
|
"aid": 2271112,
|
|
|
|
|
"bvid": "",
|
|
|
|
|
"view": 25719725,
|
|
|
|
|
"danmaku": 159249,
|
|
|
|
|
"reply": 52007,
|
|
|
|
|
"favorite": 879004,
|
|
|
|
|
"coin": 586071,
|
|
|
|
|
"share": 235709,
|
|
|
|
|
"like": 594645,
|
|
|
|
|
"now_rank": 0,
|
|
|
|
|
"his_rank": 4,
|
|
|
|
|
"no_reprint": 0,
|
|
|
|
|
"copyright": 1,
|
|
|
|
|
"argue_msg": "",
|
|
|
|
|
"evaluation": ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|