找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5773|回复: 75

[iptv信源 资源分享或寻求] 安徽池州电视台cztv.php

  [复制链接]
发表于 2022-7-30 22:12 | 显示全部楼层 |阅读模式

安徽池州电视台cztv.php:
  1. <?php
  2. $id = isset($_GET['id'])?$_GET['id']:'czxwzh';
  3. $n = [
  4.     'czxwzh' => 'PD00823dbb5439c4d74bbaec7e7454a568d',
  5.     'czgg' => 'PD0fb62a7714ce14ad7a851259f3d62daae',
  6.     ];
  7. $ch = curl_init();

  8. curl_setopt($ch, CURLOPT_URL, "http://czapi.chiznews.com/upm/external/externalService?service=getMenuContentList&params=%7B%22menuId%22%3A%22chz010%22%2C%22idx%22%3A0%2C%22size%22%3A16%7D");
  9. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  10. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  11. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
  12. curl_setopt($ch, CURLOPT_POST, 1);
  13. $d= curl_exec($ch);
  14. curl_close($ch);
  15. $json = json_decode($d);
  16. for($i=0;$i<count($json->data->rows);$i++){
  17.     if($n[$id] == $json->data->rows[$i]->id){
  18.         //$flv = preg_split('/,/',$json->data->rows[$i]->playUrl)[0];
  19.         $m3u8 = preg_split('/,/',$json->data->rows[$i]->playUrl)[1];
  20.     }
  21. }
  22. header('Location:'.$m3u8);
  23. //echo $m3u8;
  24. ?>
复制代码


说明:安徽池州电视台官网很不稳定,时不时挂掉!获取的线路不能播放时,并非代码错误.
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-7-30 22:15 | 显示全部楼层
感谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-30 22:19 | 显示全部楼层
哇塞一眼看到自己账号,咋搞的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-30 22:30 | 显示全部楼层
本帖最后由 EScZkc_1d8 于 2022-7-30 22:51 编辑

看看是啥。
原来池州的官网换地址了……怪不得以前的失效了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-30 22:31 来自手机 | 显示全部楼层
哦好谢谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-30 22:41 | 显示全部楼层
感谢分享!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-30 22:47 | 显示全部楼层
感谢分享出来!!!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-30 23:31 | 显示全部楼层
安徽池州电视台
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-31 00:03 | 显示全部楼层
池州电视台
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-31 01:34 | 显示全部楼层
9898989898989898
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-31 01:51 | 显示全部楼层
谢谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-31 02:00 | 显示全部楼层
谢谢分享谢谢分享谢谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-31 06:37 | 显示全部楼层
感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-31 08:16 | 显示全部楼层


安徽池州电视台cztv.php
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-7-31 08:21 来自手机 | 显示全部楼层
看看是啥
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 12:34

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表