找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 31807|回复: 357

[iptv信源 资源分享或寻求] 凤凰秀720p,php代理。动态获取应该具有最大时效性

 火... [复制链接]
发表于 2021-3-10 04:07 | 显示全部楼层 |阅读模式
本帖最后由 bg6stn 于 2021-3-10 04:16 编辑

没有php基础,第一次写代理,加密算法都是借鉴的。本论坛没有凤凰秀的php代理,只有js代理,不会用。
百度凤凰秀php代理需要用钱买。本代码全部动态获取网址数据,这样可以保证代理的最大时效性。

代理食用方法:复制后保存为fh.php #可以自定义,网址同步就行
http://ip/fh.php?id=zw #凤凰中文
id=zx #凤凰资讯
id=hk #凤凰深圳旁边

  1. <?php
  2. $id = $_GET['id'];
  3. $url_data = "http://m.fengshows.com/api/v3/live?live_type=tv&page=1&page_size=15";
  4. $con = file_get_contents($url_data);
  5. preg_match_all('/"live_url_fhd":"(.*?)"/', $con, $data);
  6. preg_match('/http(.*?)flv/', $data[0][0], $zx);
  7. preg_match('/http(.*?)flv/', $data[0][1], $zw);
  8. preg_match('/http(.*?)flv/', $data[0][2], $hk);
  9. $ids = array(
  10.             "zx"=> substr($zx[0],-12,8),
  11.             "zw"=>substr($zw[0],-12,8),
  12.             "hk"=>substr($hk[0],-12,8),
  13.         );
  14. //$host = substr($zx[0],0,29);
  15. preg_match('/http(.*?)\d{4}\//', $data[0][0], $host);
  16. $hexString = dechex(time()+1800);
  17. $substring = $ids[$id];
  18. $str2 = "obb9Lxyv5C/live/".$substring.$hexString;
  19. $url = $host[0].'live/'.$ids[$id].'.flv?txSecret='.md5($str2).'&txTime='.$hexString;
  20. header('Location: '.$url);
  21. ?>
复制代码


点评

“本论坛没有凤凰秀的php代理”,认真的吗? https://www.right.com.cn/forum/thread-4044649-1-1.html  发表于 2021-3-13 23:17
obb9Lxyv5C 这一段随时变,所以这个php意义不大  发表于 2021-3-10 09:32
没有自己的IP,不会用PHP,楼主放一个你自己长期用的源吧  发表于 2021-3-10 08:48
谢谢大神  发表于 2021-3-10 08:44
这个有UA限制吗?  发表于 2021-3-10 08:23

评分

参与人数 2恩山币 +2 收起 理由
lwlx*** + 1 大佬,失效了,能更新一下吗?
fli*** + 1 风清云淡、飘逸悠然……极爽!

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2021-3-10 04:12 来自手机 | 显示全部楼层
http://ip/fh.php?id=zw#中文
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 05:00 来自手机 | 显示全部楼层
路过看(⊙o⊙)(⊙o⊙)(⊙o⊙)
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 05:06 | 显示全部楼层
谢谢分享  准备试试
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 05:21 | 显示全部楼层
这个可以有~~~~~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 05:37 | 显示全部楼层
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 06:45 | 显示全部楼层
谢谢分享。。。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 06:58 | 显示全部楼层
看看怎么样
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 07:37 | 显示全部楼层
没有php基础,第一次写代理,加密算法都是借鉴的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 07:38 | 显示全部楼层
谢谢,谢谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 07:41 | 显示全部楼层

谢谢分享。。。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 07:50 来自手机 | 显示全部楼层
低调低调低调低调
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 07:52 来自手机 | 显示全部楼层
知我者谓我心忧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 07:55 | 显示全部楼层
啦啦啦啦啦啦啦啦女女女女女女女女女
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-3-10 08:19 | 显示全部楼层
感谢分享!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-26 12:44

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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