本帖最后由 MRBANK 于 2024-10-29 13:50 编辑
随便打开一期视频,按键盘上的F12打开网络选项,找getHttpVideo开头的那个网络请求,响应里有一个hls_url开头的,之前一直都是用的这个,不过现在只有最低清晰度了,把链接的前半部分替换成我发的那个,然后丢进m3u8下载器里就可以下载了,像下面这样替换
- 原url:
- https://hls.cntv.myhwcdn.cn/asp/hls/main/0303000a/3/default/53259dd18098443c81d6aafeee02181b/main.m3u8
- 替换后:
- https://hlssnap.video.cctv.com/asp/hls/450/0303000a/3/default/53259dd18098443c81d6aafeee02181b/450.m3u8 流畅
- https://hlssnap.video.cctv.com/asp/hls/850/0303000a/3/default/53259dd18098443c81d6aafeee02181b/850.m3u8 标清
- https://hlssnap.video.cctv.com/asp/hls/1200/0303000a/3/default/53259dd18098443c81d6aafeee02181b/1200.m3u8 高清
- https://hlssnap.video.cctv.com/asp/hls/2000/0303000a/3/default/53259dd18098443c81d6aafeee02181b/2000.m3u8 超清
- https://hlssnap.video.cctv.com/asp/hls/4000/0303000a/3/default/53259dd18098443c81d6aafeee02181b/4000.m3u8 蓝光
复制代码
也可以F12打开控制台,复制下面的代码粘贴后回车,也会弹出m3u8地址
[Java] 纯文本查看 复制代码 $.ajaxSettings.async = false; var s = ""; let a = $.get(vodh5player.playerList[0].ads.contentSrc); for (var m = 0; m < a.responseText.match(/asp.*?m3u8/g).length; m++) { s = s + "https://hlssnap.video.cctv.com/asp" + a.responseText.match(/asp.*?m3u8/g)[m].slice(7) + "\n\n" }; var blob = new Blob([s], { type: "text/plain" }); var url = URL.createObjectURL(blob); window.open(url);
教程转自吾爱破解论坛
感谢@ww539283 分享
|