江苏荔枝网换加密了???
江苏荔枝网换加密了???<?php
$id = "jsws";
$ts = dechex(time()+180);
$url = "https://litchi-play-encrypted-site.jstv.com/live/{$id}_live.m3u8?txSecret=".md5("wjdXmmib4XHM47CAQhWS{$id}_live{$ts}")."&txTime={$ts}";
header('location:'.$url);
//print_r($url);
?>
yes,wjdXmmib4XHM47CAQhWS不对了 @guoma 大佬看下呢 期待的眼神 ai 帮我写了一点,
const EXPIRE_SECONDS = 3;
// 生成动态参数
$timestamp = time() + EXPIRE_SECONDS;
$txTime = strtolower(dechex($timestamp));
$txSecret = md5($txTime);
$streamUrl = BASE_URL . "?txSecret={$txSecret}&txTime={$txTime}";
算法可能对,但是完整的php 我实在是搞不定,大佬帮忙看看吧
可能吧,看的人多了就会加密 荔枝网的直播源没啥意义吧?我刚试了一下每隔五分钟链接就失效了要重新获取 修复了吗?
页:
[1]