恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 352|回复: 1

[iptv信源 资源分享或寻求] 运城js代理

[复制链接]
发表于 2020-11-30 11:56 | 显示全部楼层 |阅读模式
本帖最后由 jiusanfree 于 2020-11-30 11:59 编辑

按照@guoma大佬改的
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <title></title>
  5. </head>
  6. <body>
  7. <script>
  8. function pathname(e){
  9.         for (var n, i, o = (i = n ? new Date(n) : new Date,
  10.         new Date(i.getFullYear(),i.getMonth(),i.getDate()).getTime()), a = 0, r = 0, d = -1, l = 0; a < e.length; a++) {
  11.             var p = e.charCodeAt(a);
  12.             r += p,
  13.             -1 != d && (l += d - p),
  14.             d = p
  15.         }
  16.         var s = (r += l).toString(36), c = o.toString(36), u = 0;
  17.         for (a = 0; a < c.length; a++)
  18.             u += c.charCodeAt(a);
  19.         c = c.substr(5) + c.substr(0, 5);
  20.         var h, v, f = Math.abs(u - r), g = (c = s.split("").reverse().join("") + c).substr(0, 4), w = c.substr(4), m = new Array, b = new Date(o).getDay() % 2;
  21.         for (a = 0; a < e.length; a++) {
  22.             a % 2 == b ? m.push(c.charAt(a % c.length)) : (h = e.charAt(a - 1)) ? -1 == (v = g.indexOf(h)) ? m.push(h) : m.push(w.charAt(v)) : m.push(g.charAt(a))
  23.         }
  24.         return ((f.toString(36).split("").reverse().join("")) + m.join("")).substr(0, e.length);
  25. };
  26. var vid = location.href.split('html?id=')[1];
  27. var ch = [];
  28. ch['xwzh'] = {liveid:'ss4Lj11',r:500};//运城新闻综合
  29. ch['ggpd'] = {liveid:'t667aTY',r:500};//运城公共频道
  30. ch['wrtv'] = {liveid:'NQrxftk',r:500};//万荣电视
  31. ch['hjgb'] = {liveid:'DNZs418',r:500};//河津广播直播
  32. ch['fxtv'] = {liveid:'Pk6fhsS',r:500};//绛县电视
  33. ch['hjtv'] = {liveid:'UMUYNbZ',r:500};//河津电视
  34. ch['yqtv'] = {liveid:'a34LR16',r:500};//垣曲电视
  35. ch['xftv'] = {liveid:'dbo4n2O',r:500};//新绛电视
  36. ch['wygb'] = {liveid:'p3e1Pzg',r:500};//文艺广播
  37. ch['kjjy'] = {liveid:'p5eq48m',r:500};//运城科技教育频道
  38. ch['xxtv'] = {liveid:'qdl89ZV',r:500};//夏县电视
  39. ch['xwzhgb'] = {liveid:'4TTDb6q',r:500};//新闻综合频率
  40. ch['lytv'] = {liveid:'ul3DNA0',r:500};//临猗电视
  41. var e = ch[vid].liveid;
  42. var pathname = pathname(e);
  43. m3u8 = 'http://live.0359tv.com/'+ch[vid].liveid+'/'+ch[vid].r+'/'+pathname+'.m3u8';
  44. location.href =  + m3u8;
  45. </script>
  46. </body>
  47. </html>
复制代码


谁写下php代理?
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-11-30 14:27 | 显示全部楼层
帮顶,同求PHP代理!
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2021-1-20 21:15

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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