腾讯微视视频API解析接口一枚,无限制免费调用,但需要AppKey
接口更新
2018.05.04 :增加识别用户信息,接口地址不变,后台自动识别,将返回某用户的基本信息以及被关注量,粉丝数,被点赞量,发布的视频总数以及最近9个视频等
请求示例:
https://api-cn.berryapi.net/video/weishi/?AppKey=Your AppKey&url=https://h5.qzone.qq.com/weishi/personal/1520761496626572/wspersonal?_proxy=1&_wv=2&id=1520761496626573&spid=3
部分返回示例:
{
"profile": {
"person": {
"id": "1520761496626572",
"type": 2,
"uid": "7DB25B14E42DC6C1A7DEAE1A0592A76C",
"nick": "小绿绿绿",
"avatar": "http://xp.qpic.cn/oscar_pic/0/bd71c4f50e2440ffa1b96d54a1fepict/480",
"sex": 0,
"rich_flag": 8,
"age": 0,
"address": "北京",
"status": "",
"followStatus": 2,
"desc_from_operator": "",
"grade": 2,
"medal": 2
},
"numeric": {
"feed_num": 45,
"praise_num": 5,
"fans_num": 15920,
"interest_num": 0,
"receivepraise_num": 165224,
"is_followed": 2,
"formattedFansNum": "1.6w",
"formattedReceivepraiseNum": "16.5w"
},
"shareInfo": {
"jump_url": "https://h5.qzone.qq.com/weishi/personal/1520761496626572/wspersonal?_proxy=1&_wv=1&id=1520761496626572&spid=",
"body_map": {
"0": {
"title": "@小绿绿绿的视频都超有趣,根本停不下来!",
"desc": "新鲜有趣,尽在微视!",
"image_url": "http://xp.qpic.cn/oscar_pic/0/bd71c4f50e2440ffa1b96d54a1fepict/480"
},
"1": {
"title": "@小绿绿绿的视频都超有趣,根本停不下来!",
"desc": "新鲜有趣,尽在微视!",
"image_url": "http://xp.qpic.cn/oscar_pic/0/bd71c4f50e2440ffa1b96d54a1fepict/480"
},
"4": {
"title": "@小绿绿绿的视频都超有趣,根本停不下来!",
"desc": "新鲜有趣,尽在微视!",
"image_url": "http://xp.qpic.cn/oscar_pic/0/bd71c4f50e2440ffa1b96d54a1fepict/480"
}
}
}
},
"feeds": [
{
"id": "lfhbRuhVlRAnQf8U",
"wording": "",
"type": 9,
"poster_id": "1520761496626572",
"poster": {
"id": "1520761496626572",
"type": 2,
"uid": "7DB25B14E42DC6C1A7DEAE1A0592A76C",
"nick": "小绿绿绿",
"avatar": "http://xp.qpic.cn/oscar_pic/0/bd71c4f50e2440ffa1b96d54a1fepict/100",
"sex": 0,
"rich_flag": 8,
"age": 0,
"address": "北京",
"status": "",
"followStatus": 2,
"desc_from_operator": "",
"grade": 2,
"medal": 2
},
"video": {
"file_id": "1047_44e14b5fbbcd44ce997aaac40325vide",
"duration": 20513,
"width": 540,
"height": 960
},
"images": [
{
"url": "http://xp.qpic.cn/oscar_pic/0/0a8f7ab8a4304d5e9d8e4be4f10epict/480",
"width": 540,
"height": 960,
"type": 0,
"sprite_width": 0,
"sprite_height": 0,
"sprite_span": 0
}
],
"mask": 0,
"ding_count": 10,
"total_comment_num": 3,
"material_id": "",
"material_desc": "我的身体都会响",
"playNum": 216,
"material_thumburl": "http://res.tu.qq.com/weishi/newMusic/003FgoQw4bJn8v.jpg",
"topic_id": "",
"topic": {
"id": "",
"name": "",
"detail": "",
"createtime": 0,
"mask": 0,
"type": 0,
"view_num": 0,
"start_time": 0,
"end_time": 0,
"workNum": 0,
"likeNum": 0,
"person": {
"id": "",
"type": 0,
"uid": "",
"nick": "",
"avatar": "",
"sex": 0,
"rich_flag": 0,
"age": 0,
"address": "",
"status": "",
"followStatus": 0,
"desc_from_operator": "",
"grade": 0,
"medal": 0
},
"feed_id": ""
},
"feed_desc": "看看我浑身上下哪个最好看",
"desc_mask": 0,
"shieldId": ""
},
2018.05.02 :增加视频播放参数,请参考返回说明
调用示例
https://api-cn.berryapi.net/video/weishi/?AppKey=Your AppKey&url=https://h5.qzone.qq.com/weishi/feed/niBvEKVAYt4IX3Dc/wsfeed?_proxy=1&_wv=1&id=niBvEKVAYt4IX3Dc
接口返回
{
"msg": "ok",
"title": "吴宣仪的视频原声",
"cover": "http://xp.qpic.cn/oscar_pic/0/d4fdf7d6aa0c434faa8a298ec5b1pict/480",
"url": "http://v.shanka.qq.com/v.shanka.qq.com/1047_62319ffefbf6425e968a7c871088vide.f0.mp4?vkey=079C925DBADF7D9D39C6F4B296446781A24BBC54CB83F6815908D62A89E4EF92675CD590567BC30AEDA7DC8D483FFD3B&guid=0508AFC000E081E13F01036CF26192E5&fromtag=0&personid=h5",
"playinfo": {
"ding_count": 17683,
"playNum": 1574082,
"total_comment_num": 1054,
"createtime": "2018-04-26 08:50:00"
}
}
返回说明
ding_count
:点赞次数
playNum
:播放次数
total_comment_num
:评论量
createtime
:发布时间
兄弟这个接口能调用到用户信息之类的吗?
https://api.lylares.com/video/weishi/?AppKey=Your AppKey&url=
如果后面url 是单个视频播放链接 那么肯定会返回视频的发布时间createtime ,如果url是某个人的个人页面那么返回的是综合数据肯定不会有每个视频详细的createtime,这个在原文里也能看出来能允许跨域访问吗
Content-Type能改成text/html吗
视频上传时间在哪,是在topic里的吗?
接口能直接通过视频id查视频信息吗
可以方便留个QQ不!我想联系一下你!
请问有办法让它返回9个以上的视频么?
你好问一下,微视中的打榜页中的粉丝应援榜的信息怎么获取,call棒的信息怎么获取?