唔系呀 发表于 2025-1-29 02:20:28

看看能不能用

sfee 发表于 2025-1-29 06:46:30

人生没有彩排,每天都是直播。

lhy31512 发表于 2025-2-3 12:59:17

抓蛙 发表于 2025-2-3 14:53:28

{:4_89:看看今天还能不能用

独步天下 发表于 2025-2-3 16:17:57

看看能不能用

yuhang 发表于 2025-2-4 11:48:10

这个又是什么

yxl2 发表于 2025-2-7 04:04:18

现在还能看吗?

pingbo888 发表于 2025-2-9 11:33:52


<?php
error_reporting(0);
$id = $_GET['id']??'bjwy';
$n = [
    'bjws' => '573ib1kp5nk92irinpumbo9krlb',//北京卫视
    'bjwy' => '54db6gi5vfj8r8q1e6r89imd64s',//BRTV文艺
    'bjjs' => '53bn9rlalq08lmb8nf8iadoph0b',//BRTV纪实科教
    'bjys' => '50mqo8t4n4e8gtarqr3orj9l93v',//BRTV影视
    'bjcj' => '50e335k9dq488lb7jo44olp71f5',//BRTV财经
    'bjty' => '54hv0f3pq079d4oiil2k12dkvsc',//BRTV体育休闲
    'bjsh' => '50j015rjrei9vmp3h8upblr41jf',//BRTV生活
    'bjxw' => '53gpt1ephlp86eor6ahtkg5b2hf',//BRTV新闻
    'bjkk' => '55skfjq618b9kcq9tfjr5qllb7r',//卡酷少儿
    ];

$t = time();
$sign = substr(md5($n[$id]."151".$t.'TtJSg@2g*$K4PjUH'),0,8);
$url = "https://pc.api.btime.com/video/play?id=$n[$id]&sign=$sign&timestamp=$t&type_id=151";
$d = file_get_contents($url);
$stream_url = json_decode($d,1)['data']['video_stream']['stream_url'];
$playurl = base64_decode(base64_decode(strrev($stream_url)));
if($playurl == null){
   echo "因版权方要求,暂无直播";
   } else {
   header('location:'.$playurl);
   //print_r($playurl);
   }
?>

winrjfx 发表于 2025-2-9 14:33:43

什么样子的

goodend 发表于 2025-2-11 16:24:11

谢谢,测试下{:2_26:}

flyfox 发表于 2025-2-19 23:29:00

感谢楼主分享。

Sunny 发表于 2025-2-20 00:31:03

看看怎么样
页: 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18
查看完整版本: 上海看看.php