吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 1728|回复: 10
收起左侧

[求助] web逆向:关于CCTV视频清晰度问题讨论

[复制链接]
dmvip 发表于 2024-7-1 15:33
本帖最后由 dmvip 于 2024-7-1 15:36 编辑

关于cctv 视频清晰度下载问题讨论
目标:aHR0cHM6Ly90di5jY3R2LmNvbS8yMDI0LzA2LzI0L1ZJREV6Rnc1ZGZ1OEQ2NFh0a3Z0Yml6bTI0MDYyNC5zaHRtbA

urlJson:https://vdn.apps.cntv.cn/api/getHttpVideoInfo.do?pid=2d30ad68d8ae4b2a9ff47dc0b51d5889

通过上方字段(hls_url)
https://newcntv.qcloudcdn.com/asp/hls/main/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/main.m3u8?maxbr=2048
替换成下面这个
https://newcntv.qcloudcdn.com/asp/hls/2000/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/2000.m3u8?maxbr=2048

获取到的这个清晰度太低了,看论坛的网友说5.30后这种访问就获取不到最高的清晰度,请问下大佬们 高的清晰度如何获取???

image.png
json:
[Java] 纯文本查看 复制代码
{
    "ack": "yes",
    "asp_error_code": "0",
    "cdn_info": {
        "cdn_code": "VOD-MP4-CDN-CNC",
        "cdn_name": "3rd网宿",
        "cdn_vip": "vod.cntv.lxdns.com"
    },
    "client_sid": "v3UL7ExwEGZut01R/Z1im52w7FAa9dua2IL123BxZ08=",
    "column": "9视频高清",
    "default_stream": "chapters3",
    "editer_name": "zhangchi",
    "embed": "",
    "f_pgmtime": "2024-06-23 23:57:09",
    "hls_cdn_info": {
        "cdn_code": "VOD-HLS-CDN-QQNEW",
        "cdn_name": "3rd腾讯云-新",
        "cdn_vip": "newcntv.qcloudcdn.com"
    },
    "hls_url": "https://newcntv.qcloudcdn.com/asp/hls/main/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/main.m3u8?maxbr=2048",
    "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
    "is_fn_hot": "true",
    "is_fn_multi_stream": false,
    "is_invalid_copyright": "0",
    "is_ipad_support": "true",
    "is_p2p_use": true,
    "is_preview": "0",
    "is_protected": "0",
    "lc": {
        "city_code": "SZ",
        "country_code": "CN",
        "ip": "113.118.4.82",
        "isp_code": "1",
        "provice_code": "GD"
    },
    "manifest": {
        "audio_mp3": "https://dhls.cntv.myalicdn.com/asp/audio/2/d/3/0/2d30ad68d8ae4b2a9ff47dc0b51d5889/mp3/main.m3u8",
        "hls_audio_url": "https://dhls.cntv.myalicdn.com/asp/hlsaudio/hls/main/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/main.m3u8",
        "hls_enc2_url": "https://dhls2.cntv.qcloudcdn.com/asp/enc2/hls/main/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/main.m3u8?maxbr=2048&contentid=16121029231855",
        "hls_enc_url": "https://dhls.cntv.myalicdn.com/asp/enc/hls/main/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/main.m3u8?maxbr=2048&contentid=18120319242338",
        "hls_h5e_url": "https://dh5.cntv.lxdns.com/asp/h5e/hls/main/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/main.m3u8?maxbr=2048&contentid=15120519184043"
    },
    "play_channel": "CCTV-9纪录高清",
    "produce": "",
    "produce_id": "wxsb01",
    "public": "1",
    "segments": [
        {
            "end": 180400,
            "guid": "6a73a707fe2b4d75bb04400c4e977f00",
            "start": 67800,
            "title": "《雷生万物》第1集:中华白海豚居住在雷州半岛近海海域"
        },
        {
            "end": 373200,
            "guid": "1cadccfdfb0248d59ce9ec68b202a43f",
            "start": 292000,
            "title": "《雷生万物》第1集:中华白海豚是建造机关的大师 在角逐中轻松胜出捕获鱼群"
        },
        {
            "end": 540400,
            "guid": "61e2099bc10a4bd5ad6d211d6b7c49f3",
            "start": 471800,
            "title": "《雷生万物》第1集:被误捕的海龟会被打上“信标”"
        },
        {
            "end": 719400,
            "guid": "c30ca7b1e0134250bde00506507c2f98",
            "start": 563800,
            "title": "《雷生万物》第1集:白海豚母亲将会一直驮着小海豚 直至它的身体完全分解"
        }
    ],
    "status": "001",
    "tag": "雷生万物,中华白海豚,虫鱼,雷州半岛,绿海龟,波河南礁",
    "title": "《雷生万物》 第1集 遨游于海神之域",
    "version": "0.2",
    "video": {
        "chapters": [
            {
                "duration": "300.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "300.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "278.52",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            }
        ],
        "chapters2": [
            {
                "duration": "180.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "180.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "180.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "180.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "158.52",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            }
        ],
        "chapters3": [
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "38.52",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            }
        ],
        "chapters4": [
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "120.00",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            },
            {
                "duration": "38.52",
                "image": "https://p1.img.cctvpic.com/fmspic/2024/06/23/2d30ad68d8ae4b2a9ff47dc0b51d5889-1.jpg",
                "url": ""
            }
        ],
        "totalLength": "878.52",
        "url": "",
        "validChapterNum": 4
    }
}

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
CXK5201314 + 1 + 1 热心回复!

查看全部评分

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

WXJYXLWMH 发表于 2024-7-1 16:06
asp// 即可

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
Arcticlyc + 1 + 1 我很赞同!

查看全部评分

loginnow 发表于 2024-7-1 16:42
本帖最后由 loginnow 于 2024-7-1 16:43 编辑
WXJYXLWMH 发表于 2024-7-1 16:06
asp// 即可

https://hls.cntv.kcdnvip.com/asp//hls/main/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/main.m3u8?maxbr=2048       不行吧???


换成2000后可以了
ww539283 发表于 2024-7-1 17:22
.com  asp  hls中任意一个后边的单/改成//就行了,部分链接修改.com后边的单/还是不行,就改asp或者hls后边的
月清晖 发表于 2024-7-1 17:33
ww539283 发表于 2024-7-1 17:22
.com  asp  hls中任意一个后边的单/改成//就行了,部分链接修改.com后边的单/还是不行,就改asp或者hls后边 ...

神了,确实可以
star0angel 发表于 2024-7-1 17:59
"hls_audio_url": "https://dhls.cntv.myalicdn.com/asp/hlsaudio/hls/main/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/main.m3u8",  这里面不是有各种清晰度的可以选择?
三闪五月 发表于 2024-7-1 18:22
本帖最后由 三闪五月 于 2024-7-1 18:27 编辑

选择正确的地址即可获得1280p视频。https://dhls2.cntv.qcloudcdn.com/asp/hls/2000/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/2000.m3u8  或者https://dhls.cntv.lxdns.com/asp/hls/2000/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/2000.m3u8
hanchao2021 发表于 2024-7-1 18:35
感谢提供地址
paoxueyuan 发表于 2024-7-2 10:30
这种简单,换下地址就可以了
三闪五月 发表于 2024-7-20 08:12
https://dhls2.cntv.qcloudcdn.com/asp/hls/2000/0303000a/3/default/2d30ad68d8ae4b2a9ff47dc0b51d5889/2000.m3u8,访问 dhls2.cntv.qcloudcdn.com 的请求遭到拒绝怎么办?
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-11-24 12:31

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表