写在前面

这个只是觉得好玩儿才写的,涉及到他人利益,因此不讲解api实现原理。同时接口可能不稳定,因此不要老是叫维护啥的,个人精力有限!!!

API地址

http://h5.beijixs.cn:8000/parse/api

请求方式

GET

参数列表

参数说明
urlVideo Url必选
tokentoken value使用权限口令
defnfhd、shd、hd、sd腾讯清晰度
bid800、600、500、300爱奇艺清晰度
flag0、1是否使用缓存

建议flag的值为0,也就是使用缓存。这样做的目的使视频解析速度更快,视频地址复用,节省资源等

示例

请求腾讯URL:

http://h5.beijixs.cn:8000/parse/api?url=https://v.qq.com/x/cover/mzc00200wxij182/u00348zwen5.html&defn=fhd

实际返回

{
    "msg": "Parsing succeeded.",
    "code": 1,
    "title": "幸福,触手可及![DVD版]_01",
    "quality": "蓝光",
    "play_url": [
        "https://apd-356c6b1f4090de913c069243e3360abc.v.smtcdns.com/moviets.tc.qq.com/AU9_UwlCBYa3NNdaM6lmaoc7iAsLqjnJ9bROJ4O8nEmc/uwMROfz2r5xgoaQXGdGnC2df64gVTKzl5C_X6A3JOVT0QIb-/EWVDcpq6HDDk_F-UnM_sfuJb5vioJMHJKFICmL6tkcaF2TNK-eVhio550i9wAnNoUyB-4Cyk26HjsKaHytVaGoXOEfpa2w6MBGaWaE7Omvx6vzgGGHqhwGzennxkDojasWrnFw4O_B6l97_wiulBZ04piN_vHY7F2X2WJ_IAEVw/x00347rhag0.321004.ts.m3u8?ver=4",
        "https://apd-851da415d5d24aa18a4505b33b6c5cd3.v.smtcdns.com/moviets.tc.qq.com/AU9_UwlCBYa3NNdaM6lmaoc7iAsLqjnJ9bROJ4O8nEmc/uwMROfz2r5xgoaQXGdGnCmdf64iJEDtkulgeBBJm96hukzXD/EWVDcpq6HDDk_F-UnM_sfuJb5vioJMHJKFICmL6tkcaF2TNK-eVhio550i9wAnNoUyB-4Cyk26HjsKaHytVaGoXOEfpa2w6MBGaWaE7Omvx6vzgGGHqhwGzennxkDojasWrnFw4O_B6l97_wiulBZ04piN_vHY7F2X2WJ_IAEVw/x00347rhag0.321004.ts.m3u8?ver=4",
        "https://apd-cc1270e4de58572c635046016150637a.v.smtcdns.com/moviets.tc.qq.com/AU9_UwlCBYa3NNdaM6lmaoc7iAsLqjnJ9bROJ4O8nEmc/uwMROfz2r5xgoaQXGdGnCWdf64jv9YPnWMBEMDKWpK3B5-CF/EWVDcpq6HDDk_F-UnM_sfuJb5vioJMHJKFICmL6tkcaF2TNK-eVhio550i9wAnNoUyB-4Cyk26HjsKaHytVaGoXOEfpa2w6MBGaWaE7Omvx6vzgGGHqhwGzennxkDojasWrnFw4O_B6l97_wiulBZ04piN_vHY7F2X2WJ_IAEVw/x00347rhag0.321004.ts.m3u8?ver=4",
        "https://ltsws.qq.com/EWVDcpq6HDDk_F-UnM_sfuJb5vioJMHJKFICmL6tkcaF2TNK-eVhio550i9wAnNoUyB-4Cyk26HjsKaHytVaGoXOEfpa2w6MBGaWaE7Omvx6vzgGGHqhwGzennxkDojasWrnFw4O_B6l97_wiulBZ04piN_vHY7F2X2WJ_IAEVw/x00347rhag0.321004.ts.m3u8?ver=4"
    ],
    "cache": 0
}

请求爱奇艺URL:

http://h5.beijixs.cn:8000/parse/api?url=https://www.iqiyi.com/v_19ryeyk9ys.html&bid=500

返回数据

{
    "title": "我是余欢水第10集",
    "quality": "1280x608",
    "code": 1,
    "bid": 500,
    "play_url": [
        "http://h5.beijixs.cn:8000/parse/get?target=73a16d884c48acea6cf5d81dfccc11d0"
    ],
    "msg": "解析成功",
    "cache": 1
}

返回数据

Key说明
title媒资标题
quality清晰度
code状态码(0(失败),1(成功))
msg消息
cache缓存命中
play_url播放地址

再次提示,请抱着良好的心态使用。

Last modification:July 7th, 2020 at 05:55 pm
If you think my article is useful to you, please feel free to appreciate