<?php
$filelink='
https://strtpe.link/e/'.$_GET['v'].'';
if (strpos($filelink,"strtpe.link") !== false) {
$head=array('Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,
/;q=0.8',
'Accept-Language: ro-RO,ro;q=0.8,en-US;q=0.6,en-GB;q=0.4,en;q=0.2',
'Accept-Encoding: deflate',
'Connection: keep-alive',
'Upgrade-Insecure-Requests: 1');
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $filelink);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
curl_setopt($ch, CURLOPT_ENCODING, "");
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15);
curl_setopt($ch, CURLOPT_TIMEOUT, 25);
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
$h = curl_exec($ch);
$info = curl_getinfo($ch);
curl_close($ch);
$h=str_replace("\\","",$h);
if (preg_match('/(\/\/[\.\d\w\-\.\/\\\:\?\&\#\%\_\,]*(\.(srt|vtt)))/', $h, $s))
$srt="https:".$s[1];
if (preg_match_all("/\(\'\w+\'\)\.innerHTML\s*\=\s*(.*?)\;/",$h,$m)) {
$e1=$m[1][count($m[1])-1];
$e1=str_replace("'",'"',$e1);
$d=explode("+",$e1);
$out="";
for ($k=0;$k<count($d);$k++) {
$s=trim($d[$k]);
preg_match("/\(?\"([^\"]+)\"\)?(\.substring\((\d+)\))?(\.substring\((\d+)\))?/",$s,$p);
if (isset($p[3]) && isset($p[5]))
$out .=substr(substr($p[1],$p[3]),$p[5]);
elseif (isset($p[3]))
$out .=substr($p[1],$p[3]);
else
$out .=$p[1];
}
$link=$out;
$link .= "&stream=1";
if ($link[0]=="/") $link="https:".$link;
}
}
header('Location: '.$link);
?>
asi si carga