bilibili-API-collect
bilibili-API-collect copied to clipboard
TV端的up视频列表, 可以一次拿到分P的所有cid
TV端的up视频列表, 可以一次拿到分P的所有cid, 但仅能获取视频, 不能获取up上传的番剧, 且只有部分up能获取到视频, 部分的不行, 还有的只能获取到部分的视频, 不知道和什么有关
https://api.snm0516.aisee.tv/x/tv/index/space
请求方式:GET
url参数:
参数名 | 类型 | 内容 | 必要性 | 备注 |
---|---|---|---|---|
mid | num | 目标用户mid | 必要 | |
appkey | str | TV端appkey | 可选 | 可为4409e2ce8ffd12b8 |
ts | num | 毫秒时间戳 | 可选 | |
sign | str | app签名 | 可选 | |
pn | num | 页码 | 可选 | |
ps | num | 每页项数 | 可选 | 默认10 |
season_id | num | ? | 可选 | 默认0 , 可能对应$.data.result[].ugc_ext.season_id |
upper_type | num | 排序方式 | 可选 | 默认1 1: 时间降序(与其他接口不同, 分P视频按最后1P算) 2:热度降序(不影响合集排序) |
use_history | bool | true |
可选 | 改为false 无变化 |
use_season_history | bool | false |
可选 | 改为true 无变化 |
brand | str | 品牌 | 可选 | |
build | num | version code | 可选 | |
channel | str | master |
可选 | |
cpu | str | cpu品牌 | 可选 | |
fourk | num | 0 |
可选 | |
memory | num | 内存(MB) | 可选 | |
mobi_app | str | android_tv_yst |
可选 | |
model | str | 型号 | 可选 | |
mpi_id | null | 留空 | 可选 | |
mpi_model | null | 留空 | 可选 | |
mpi_type | null | 留空 | 可选 | |
platform | str | android |
可选 | |
search_trace | null | 留空 | 可选 | |
statistics | str | 可选 | ||
sys_ver | num | sdk version | 可选 | |
teenager_mode | num | 1 |
可选 | |
tv_brand | str | master |
可选 | |
uid | num | access_key对应的uid | 可选 |
查看响应示例:
{
"code": 0,
"message": "0",
"ttl": 1,
"data": {
"page": {
"num": 1,
"size": 1,
"total": 523,
"page_num": 523
},
"result": [
{
"card_type": 1,
"card_from": 0,
"card_id": 470814757,
"title": "你第一次看奥特曼是什么时候?【奥特曼之日】特别企划",
"hover_title": "你第一次 看奥特曼是什么时候?【奥特曼之日】特别企划",
"horizontal_url": "https://i0.hdslb.com/bfs/archive/a30851737f5e2c5587dad09bdc778c213f07937c.jpg",
"desc": "每个人都能变成光,还记得你第一次与奥特曼邂逅的日子吗?愿这份勇气与感动继续伴你同行。",
"catalog": {
"catalog_id": 27,
"catalog_name": "综合",
"catalog_pid": 1,
"catalog_pname": "动画"
},
"labels": [
{
"text": "2022年7月10日更新",
"bold": false,
"label_type": 1,
"link_square": ""
},
{
"text": "10万+播放",
"bold": false,
"label_type": 1,
"link_square": ""
},
{
"text": "2022年7月10日更新",
"text_color": "#EEEEEE",
"bold": false,
"label_type": 2,
"style": 1,
"link_square": ""
},
{
"text": "10万+播放",
"text_color": "#EEEEEE",
"bold": false,
"label_type": 2,
"style": 1,
"link_square": ""
}
],
"uploader": {
"up_name": "哔哩哔哩番剧",
"up_mid": 928123,
"up_face": "https://i1.hdslb.com/bfs/face/040528a1ec634b9907ba3a9ba957819bb07def06.jpg",
"has_follow": false,
"can_follow": false,
"official_info": {
"role": 3,
"title": "哔哩哔哩番剧区官方账号",
"desc": "",
"type": 1
},
"is_valid": true,
"fans_count": 6778251,
"archive_count": 523,
"attribute": 224
},
"auto_play": {
"cid_count": 1,
"cid_list": [
{
"video_id": 768733464,
"from": "vupload",
"title": "你第一次看奥特曼是什么时候?【奥特曼之日】特别企划",
"hidemark": false,
"firsti": "https://i0.hdslb.com/bfs/ottff/_e25ed94a566c49abb8392fcff90234b_firsti.jpg",
"is_portrait": false,
"page": 1,
"need_login": false,
"paid": false,
"playurl_args": {
"playurl_type": 1,
"object_id": 470814757,
"cid": 768733464
},
"copyright": 1,
"allow_demand": false,
"publish_time": 1657418400,
"publish_date": "2022年7月10日",
"duration": 405,
"related": 0,
"tab_type": 0,
"internal_link_id": 0
}
]
},
"ugc_ext": {
"likes": "7649",
"archive_view": "10万+",
"archive_view_int": 275998,
"season_id": 0,
"duration": 405,
"view_close_uploader": false
},
"multiple_page_count": 1,
"schema": "",
"UserProfileInternalTrackID": 0,
"key": "1_470814757",
"search_ext": null,
"high_light": null
}
],
"face": "https://i1.hdslb.com/bfs/face/040528a1ec634b9907ba3a9ba957819bb07def06.jpg",
"name": "哔哩哔哩番剧",
"archive_count": 523,
"archive_count_text": "523个内容",
"follower": 6778251,
"is_following": false,
"can_follow": false,
"official_info": {
"role": 3,
"title": "哔哩哔哩番剧区官方账号",
"desc": "",
"type": 1
},
"upper_type_list": [
{
"id": 1,
"title": "最新发布"
},
{
"id": 2,
"title": "最热发布"
}
],
"title": "全部投稿",
"target_aid": 0,
"default_type_title": "全部内容",
"seasons": {
"total": 7,
"title": "合集",
"list": [
{
"id": 6045742,
"title": "10月",
"season_type": 2,
"origin_id": 1511435
},
{
"id": 3597394,
"title": "7月",
"season_type": 2,
"origin_id": 899348
},
{
"id": 27626294,
"title": "独家正版",
"season_type": 2,
"origin_id": 6906573
},
{
"id": 28849162,
"title": "1月",
"season_type": 2,
"origin_id": 7212290
},
{
"id": 94165910,
"title": "4月",
"season_type": 2,
"origin_id": 23541477
},
{
"id": 3597398,
"title": "千夏",
"season_type": 2,
"origin_id": 899349
},
{
"id": 27712138,
"title": "Speed\u0026hakugetsu",
"season_type": 2,
"origin_id": 6928034
}
]
},
"target_sid": 0
}
}
番剧版权吧, TV 端是这样的()
是不是我打开的方式不对?获取不到视频?
https://api.snm0516.aisee.tv/x/tv/index/space?mid=355371630
vs.
https://api.bilibili.com/x/space/wbi/arc/search?jsonp=jsonp&mid=355371630&pn=1&ps=50&tid=3&wts=1706550433&w_rid=df52530dc11517998ba715a2e17293ba
我这边也全是 null
是不是我打开的方式不对?获取不到视频?
这个api好像有点奇怪, 部分up能获取到视频, 部分的不行, 还有的甚至只能获取到部分的视频, 不知道和什么有关, 可能是上传方式? 还是是否在tv端推荐?
缺陷有点逆天,用不了=-=
TV 的推荐逻辑不一样吧, 有版权的, 涉及推广的, 应该也拿不到