2️⃣腾讯体育

特别说明:

  1. 不建议使用微信登录,订阅配置失效比较快。能用 QQ 尽量使用 QQ 登录。

  2. 本程序不能破解平台限制,部分赛事直播需要会员,如果播放出现 404,请检查你的会员资格。

    腾讯体育会员体系:https://film.video.qq.com/sports-vip-center-web/

浏览器新开一个无痕模式窗口,打开 https://sports.qq.com/kbsweb/ 然后登录你的账号,按 F12 或者使用鼠标右键 - 检查(或者 审查元素)打开开发者工具,切换到 Console,输入下面的代码然后回车,即可获得订阅地址。(获得后关闭当前打开的无痕窗口)

function generateSubscriptionUrl() {
    const getCookie = (name) => {
        const value = '; ' + document.cookie;
        const parts = value.split('; ' + name + '=');
        if (parts.length === 2) {
            return parts.pop().split(';').shift();
        }
    };

    const main_login = getCookie('main_login');

    if (main_login) {
        let url;

        if (main_login === 'qq') {
            const vqq_appid = getCookie('vqq_appid');
            const vqq_openid = getCookie('vqq_openid');
            const vqq_access_token = getCookie('vqq_access_token');

            if (vqq_appid && vqq_openid && vqq_access_token) {
                url = `https://livednow.com/tencent/list?main_login=${main_login}&vqq_appid=${vqq_appid}&vqq_openid=${vqq_openid}&vqq_access_token=${vqq_access_token}`;
                console.log('你的订阅配置为:', url);
                return url;
            } else {
                console.log('One or more QQ cookies are missing');
            }

        } else if (main_login === 'wx') {
            const appid = getCookie('appid');
            const openid = getCookie('openid');
            const access_token = getCookie('access_token');
            const vuserid = getCookie('vuserid');
            const refresh_token = getCookie('refresh_token');

            if (appid && openid && access_token && vuserid && refresh_token) {
                url = `https://livednow.com/tencent/list?main_login=${main_login}&appid=${appid}&openid=${openid}&access_token=${access_token}&vuserid=${vuserid}&refresh_token=${refresh_token}`;
                console.log('你的订阅配置为:', url);
                return url;
            } else {
                console.log('One or more WeChat cookies are missing');
            }
        }

    } else {
        console.log('main_login cookie is missing');
    }
}
generateSubscriptionUrl();

Last updated