-
Notifications
You must be signed in to change notification settings - Fork 16
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
合集的api似乎有些问题 #46
合集的api似乎有些问题 #46
Conversation
你这个不是视频合集吧?我测了没有问题。 原接口:(GET) https://api.bilibili.com/x/polymer/web-space/seasons_archives_list?season_id=47217&mid=1415334 点击展开返回结果{
"code": 0,
"message": "0",
"ttl": 1,
"data": {
"aids": [378298808, 463260999, 378495648],
"archives": [
{
"aid": 378298808,
"bvid": "BV1vf4y1F732",
"ctime": 1632850690,
"duration": 296,
"enable_vt": false,
"interactive_video": false,
"pic": "http://i2.hdslb.com/bfs/archive/83343840eb3a071d850c17daa19764453667b05a.png",
"playback_position": 0,
"pubdate": 1632850690,
"stat": {
"view": 70112,
"vt": 0
},
"state": 0,
"title": "你不一定知道的空洞骑士冷知识(一)",
"ugc_pay": 0,
"vt_display": ""
},
{
"aid": 463260999,
"bvid": "BV1dL411W7sG",
"ctime": 1633128246,
"duration": 379,
"enable_vt": false,
"interactive_video": false,
"pic": "http://i2.hdslb.com/bfs/archive/7f5f331194a769e0545c19dea1b42ca52cf936cc.jpg",
"playback_position": 0,
"pubdate": 1633128245,
"stat": {
"view": 44703,
"vt": 0
},
"state": 0,
"title": "你不一定知道的空洞骑士冷知识(二)",
"ugc_pay": 0,
"vt_display": ""
},
{
"aid": 378495648,
"bvid": "BV1vf4y1c7CW",
"ctime": 1633416744,
"duration": 398,
"enable_vt": false,
"interactive_video": false,
"pic": "http://i0.hdslb.com/bfs/archive/457abce034d9645c00dbd9bacfdeb0a161f1e525.jpg",
"playback_position": 0,
"pubdate": 1633416744,
"stat": {
"view": 25088,
"vt": 0
},
"state": 0,
"title": "你不一定知道的空洞骑士冷知识(三)",
"ugc_pay": 0,
"vt_display": ""
}
],
"meta": {
"category": 0,
"cover": "https://archive.biliimg.com/bfs/archive/cc23e27eff4b75252c2b120eabdb033e276ae449.jpg",
"description": "你不一定知道的空洞骑士冷知识",
"mid": 1415334,
"name": "合集·空洞冷知识",
"ptime": 1633416744,
"season_id": 47217,
"total": 3
},
"page": {
"page_num": 1,
"page_size": 10,
"total": 3
}
}
} 你修改后的接口:(GET) https://api.bilibili.com/x/series/archives?series_id=47217&mid=1415334 点击展开返回结果{
"code": 0,
"message": "0",
"ttl": 1,
"data": {
"aids": [],
"page": {
"num": 1,
"size": 20,
"total": 0
},
"archives": null
}
} 新接口反而没有结果。 |
我知道了,好像合集和列表的区别,试下这个链接: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
那你新增一个视频列表的接口吧,原来那个保留。
名字大概叫GetVideoSeries
类似这样的,你自己定吧。
done
|
不知道为什么
https://api.bilibili.com/x/polymer/web-space/seasons_archives_list
抓的数据是错乱的,改用https://api.bilibili.com/x/series/archives