can someone make a script for this kind of stream https://bittubers.com/playerembed/12067/BRJfxvDlyaXTF3GrxB1i
can someone make a script for this kind of stream https://bittubers.com/playerembed/12067/BRJfxvDlyaXTF3GrxB1i
<?php
$id = @$_GET["id"];
//BRJfxvDlyaXTF3GrxB1i
$stream = bittubers($id);
$stream = json_decode($stream, true);
$stream = $stream["url"];
header("location: ".$stream);
function bittubers($id){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://bittubers.com/api/livestream/obtaintokenurl');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"channel":"live","feed":"'.$id.'"}');
curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
$headers = array();
$headers[] = 'Pragma: no-cache';
$headers[] = 'Origin: https://bittubers.com';
$headers[] = 'Accept-Encoding: gzip, deflate, br';
$headers[] = 'Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7,ar;q=0.6';
$headers[] = 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36';
$headers[] = 'Content-Type: application/json';
$headers[] = 'Accept: */*';
$headers[] = 'Cache-Control: no-cache';
$headers[] = 'Authority: bittubers.com';
$headers[] = 'X-Requested-With: XMLHttpRequest';
$headers[] = 'Referer: https://bittubers.com/playerembed/12067/BRJfxvDlyaXTF3GrxB1i';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result = curl_exec($ch);
if (curl_errno($ch)) {
echo 'Error:' . curl_error($ch);
}
curl_close($ch);
return $result;
}
Channels | MatchTime Unblock CDN | Offshore Server | Contact |
100 cnx / 90€ | 5Gbps / 180€ | 48CPU-256GRAM 10Gbps 569€ | Skype live:giefsl |
500 cnx / 350€ | 10Gbps / 350€ | 48CPU-128GRAM 5Gbps / 349€ | TG @changcdn |
1000 cnx / 500€ | 20Gbps / 700€ | 40CPU-128GRAM 20Gbps / €980 | http://coronaserver.com |