迅雷越来越坑了,下载速度卡的不是一点点,难受啊!于是自己写了个迅雷下载地址与标准地址转换器。
$str = trim($_REQUEST['url']);
if (substr($str , 0 , 10) == 'thunder://') {
$url = substr($str, 10);
$url = base64_decode($url);
$url = substr($url, 0, -2);
$url = substr($url, 2);
echo rawurldecode(urldecode($url));
} else {
echo '非标准迅雷下载地址!';
}