Open ben7th opened 10 years ago
{
"info": {
"bimg": "http://v5.pfs.56img.com/images/0/26/kksjb2014i56olo56i56.com_140383347726hd_b.jpg",
"vid": "117874168",
"m_download": "y",
"textid": "MTE3ODc0MTY4",
"img": "http://v5.pfs.56img.com/images/0/26/kksjb2014i56olo56i56.com_140383347726hd.jpg",
"key": "06af3e880f29b53c3157fed3ef48d87f",
"movie": {
"keyword": "侃侃世界杯",
"m_copyright": "",
"class1": "v",
"version": "",
"copyright": "y",
"total_items": 1,
"coop": "madein56",
"last_sub_index": 10,
"coop_vid": "",
"chk_yn": "y",
"finished": "n"
},
"tag": "侃侃世界杯,56出品,搞笑,洗剪吹,内马尔",
"rela_opera": -4,
"v_intro": "http://noflv.56img.com/noflv.flv?v=1&t=FE82T4YOL1Pd70k9JtXKZw&r=24811&e=1404965262",
"opera_id": "23485",
"Subject": "第7期:世界杯洗剪吹军团",
"hd": 2,
"cid2": "2003",
"rfiles": [
{
"filesize": "26140091",
"totaltime": "377375",
"url": "http://f8.r.56.com/f8.c163.56.com/flvdownload/0/26/140383347726hd_clear.flv?v=1&t=zSImZSldLXmTBt5ZWhUmPA&r=24811&e=1404965262&tt=377&sz=26140091&vid=117874168",
"type": "clear"
},
{
"filesize": "14312230",
"totaltime": "377438",
"url": "http://f8.r.56.com/f8.c163.56.com/flvdownload/0/26/140383347726hd.flv?v=1&t=XvIPy6ndDzQvbrm5aztR6g&r=24811&e=1404965262&tt=377&sz=14312230&vid=117874168",
"type": "normal"
},
{
"filesize": "51556102",
"totaltime": "377375",
"url": "http://f8.r.56.com/f8.c163.56.com/flvdownload/0/26/140383347726hd_super.flv?v=1&t=PUK8XGkx3entAXA2qqP4mw&r=24811&e=1404965262&tt=377&sz=51556102&vid=117874168",
"type": "super"
}
],
"duration": "377438",
"cpm": 1,
"tags": "侃侃世界杯,56出品,搞笑,洗剪吹,内马尔",
"cid": "14",
"user_id": "kksjb2014"
},
"msg": "ok",
"segsize": 30,
"status": "1",
"p2p": 1
}
范例视频地址: http://www.56.com/u27/v_MTE3ODc0MTY4.html
其中 MTE3ODc0MTY4 是视频 ID,从视频原始 url 中可以提取出来。
视频信息获取 url:
上述视频对应的 url 是:
会返回一些 JSON 信息,包括视频的标题,封面。 视频信息中的 rfiles 部分包含了视频文件的真实地址(可能有多个) 其中可以获取到 文件地址 文件大小 播放时间 等关键信息。