hwj2022 发表于 2024-4-3 16:00:52

TV币购买VIP会员,免回复看贴、免TV币下载等权限

zkuoo 发表于 2024-4-3 16:58:23

谢谢分享

huijin 发表于 2024-4-26 16:46:20

感谢楼主分享,辛苦啦

tttkkk 发表于 2024-4-26 18:02:13

看看是神峨眉

收集者 发表于 2024-5-14 11:52:21

谢谢分享

xiaoer08 发表于 2024-5-19 03:55:02

感谢楼主分享,辛苦啦

dong789 发表于 2024-5-27 09:13:27

看看再说,谢谢分享

cnpc1979 发表于 2024-5-28 10:14:51

<?php
///https://www.1905.com/cctv6/live/?index3
error_reporting(0);
header('Content-Type: application/x-javascript; charset=utf-8');
$id = isset($_GET['id'])?$_GET['id']:'cctv6';
$n = [
    'cctv6' => 'LIVEI56PNI726KA7A',//CCTV6电影频道
    '1905a' => 'LIVE8J4LTCXPI7QJ5',//1905国外电影
    '1905b' => 'LIVENCOI8M4RGOOJ9',//1905国内电影
];
    $salt = "733491c04838307328c3ca158213040d06c3924f"; // 盐
    $url = "https://profile.m1905.com/mvod/liveinfo.php";
    $StreamName = $n[$id];
    $ts = time();
    $playid = substr($ts,-4).'12312345678';
    $params = [
      'cid'=> 999999,
      'expiretime'=> 2000000600,
      'nonce'=> 2000000000,
      'page'=> 'https://www.1905.com',
      'playerid'=> $playid,
      'streamname'=> $StreamName,
      'uuid'=> 1
    ];
    $sign = sha1(http_build_query($params).'.'.$salt);
    $params['appid'] = 'Lbv73h6w';
    $headers = [
      'Authorization: '.$sign,
      'Content-Type: application/json',
    ];
    $data=curl($url,$params,$headers);
    $json = json_decode($data,true);
                //print_r($data);die;

    $playURL = $json['data']['quality']['hd']['host'].$json['data']['path']['hd']['path'].$json['data']['sign']['hd']['sign'];
    header('location:'.$playURL);
function curl($url,$params,$headers){
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
    curl_setopt($ch, CURLOPT_POST,true);
    curl_setopt($ch, CURLOPT_HTTPHEADER,$headers);
    curl_setopt($ch, CURLOPT_POSTFIELDS,json_encode($params));
    $data = curl_exec($ch);
    curl_close($ch);
      return $data;
}
?>

dong789 发表于 2024-5-28 18:41:03

可惜啊,积分不够

dong789 发表于 2024-5-28 20:16:44

支持下,感谢分享

dong789 发表于 2024-5-28 20:50:49

积分不够啊

hxydw 发表于 2024-5-29 08:15:07

谢谢分享!
页: 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21
查看完整版本: 爱看咪咕源码