视频播放地址:http://www.yuncongtrade.com/course/23/task/1763/show
m3u8列表示例:
[Asm] 纯文本查看 复制代码 curl 'http://play.qiqiuyun.net/sdk_api/video/hls_stream/sd.m3u8?resNo=aee1f9837f4b41929385284e8da553ca&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsZXZlbCI6InNkIiwicHJldmlldyI6bnVsbCwicGxheUF1ZGlvIjowLCJoZWFkIjpudWxsLCJza2lwIjpudWxsLCJubyI6ImFlZTFmOTgzN2Y0YjQxOTI5Mzg1Mjg0ZThkYTU1M2NhIiwianRpIjoiMDFlNDQzZWYtNTQ0ZS00MSIsInRpbWVzIjoxLCJleHAiOjE3MTA4NDM2MjIsImVuY3J5cHQiOjIsIm5hdGl2ZSI6MCwidWlkIjoiMTQxMiIsInVuYW1lIjoiYWtlX2NoZW5kIiwicGlkIjoiMEgyOXBpbVVlNGlDeUcyciIsImNoYW5uZWxUeXBlIjoiIiwiY2hhbm5lbCI6IiIsImhsc0NsZWZFbmNyeXB0VmVyc2lvbiI6M30.1ZbK92QKQtJ7PbzRQpOO8rYCUtm6sP5_roBabSW2kGU&ssl=0' \
-H 'Accept: */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Connection: keep-alive' \
-H 'Origin: http://service-cdn.qiqiuyun.net' \
-H 'Referer: http://service-cdn.qiqiuyun.net/' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36' \
--insecure
注意:这个token只有一次有效期,第二次请求就会过期
m3u8文件里面的加密key鉴权请求
[Asm] 纯文本查看 复制代码 curl 'http://play.qiqiuyun.net/sdk_api/video/hls_clef/sd?resNo=aee1f9837f4b41929385284e8da553ca&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsZXZlbCI6InNkIiwicGxheUF1ZGlvIjpudWxsLCJubyI6ImFlZTFmOTgzN2Y0YjQxOTI5Mzg1Mjg0ZThkYTU1M2NhIiwianRpIjoiMGNiZjE4OGEtMWMyOS00OSIsInRpbWVzIjoxLCJleHAiOjE3MTA4MjkyMjIsImVuY3J5cHQiOjIsIm5hdGl2ZSI6MCwidWlkIjoiMTQxMiIsInVuYW1lIjoiYWtlX2NoZW5kIiwicGlkIjoiMEgyOXBpbVVlNGlDeUcyciIsImNoYW5uZWxUeXBlIjoiIiwiY2hhbm5lbCI6IiIsImhsc0NsZWZFbmNyeXB0VmVyc2lvbiI6M30.k9ySztWMeLr7UGF5aPT_VCDhF_FUOj1BGaasPx5zrlc&ssl=0' \
-H 'Accept: */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Connection: keep-alive' \
-H 'Origin: http://service-cdn.qiqiuyun.net' \
-H 'Referer: http://service-cdn.qiqiuyun.net/' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36' \
--insecure
获得的加密key是这样的
7dfa015b6825f46289d2
但我感觉这个key是加密过的(可能是某个算法解密过再放到播放器解密播放?)放到m3u8下载器里面合并视频切片会失败,一般加密key是32位,这个明显不是32位
这种视频要如何才能下载呢 |