function zhuanhuan() {
$urlodd=explode('//',$_GET["url"],2);//Split the link into 2 segments, // The first paragraph is in front, and the second paragraph is in the back
$head=strtolower($urlodd[0]);//PHP is case-sensitive, so convert it to lowercase first, otherwise HtTp: or ThUNDER: will appear. Weird writing is difficult to deal with
$behind=$urlodd[1];
if($head=="thunder:"){
$url=substr(base64_decode($behind), 2, - 2);//base64 decryption, remove the AA in front and ZZ in the back
}elseif($head=="flashget:"){
$url1=explode('&',$behind,2);
$url=substr(base64_decode($url1[0]), 10, -10);//base64 decryption, remove the [FLASHGET] before and after
}elseif($head=="qqdl:"){
$url=base64_decode($behind);//base64 decryption
}elseif($head=="http:"||$head=="ftp:"||$head=="mms:" ||$head=="rtsp:"||$head=="https:"){
$url=$_GET["url"];//Regular addresses only support http, https, ftp, mms, There seem to be very few other rtsp transmission protocols. For example, XX network disk is actually based on base64, but some cannot be downloaded even after decryption
}else{
echo "This page does not support this protocol for the time being";
}
return $url;
}
if($_GET["url"]!=NULL){
$url=zhuanhuan($_GET["url"]);
$url_thunder="thunder://".base64_encode("AA".$url."ZZ");//base64 encryption, the same as 2 below
$url_flashget="Flashget://".base64_encode(" [FLASHGET]".$url."[FLASHGET]")."&aiyh";
$url_qqdl="qqdl://".base64_encode($url);
}
?>
Actual address:
Thunlei link:
Express chain:
Cyclone chain: