🎬 JX Player

输入视频页面链接,自动解析并播放

支持站点

  • 腾讯视频 v.qq.com · 优酷 youku.com
  • 爱奇艺 iqiyi.com · 芒果TV mgtv.com · Bilibili bilibili.com
  • 接口文档

    接口地址:https://jx.nps.thegun.cn/api/v1/parse

    请求参数:url,填写需要解析的视频页面完整地址。

    GET 调用

    GET https://jx.nps.thegun.cn/api/v1/parse?url=https%3A%2F%2Fv.qq.com%2Fx%2Fcover%2Fxxx.html

    POST 调用

    fetch('https://jx.nps.thegun.cn/api/v1/parse', {
      method: 'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify({ url: 'https://v.qq.com/x/cover/xxx.html' })
    })
    .then(function (response) { return response.json(); })
    .then(console.log);

    cURL 调用

    curl -X POST 'https://jx.nps.thegun.cn/api/v1/parse'   -H 'Content-Type: application/json'   -d '{"url":"https://v.qq.com/x/cover/xxx.html"}'

    响应格式

    {
      "code": 20000,
      "data": {},
      "msg": "success"
    }
    20000 请求成功非 20000 请求失败,错误信息见 msg