|
本帖最后由 jiusanfree 于 2020-11-30 11:59 编辑
按照@guoma大佬改的- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title></title>
- </head>
- <body>
- <script>
- function pathname(e){
- for (var n, i, o = (i = n ? new Date(n) : new Date,
- new Date(i.getFullYear(),i.getMonth(),i.getDate()).getTime()), a = 0, r = 0, d = -1, l = 0; a < e.length; a++) {
- var p = e.charCodeAt(a);
- r += p,
- -1 != d && (l += d - p),
- d = p
- }
- var s = (r += l).toString(36), c = o.toString(36), u = 0;
- for (a = 0; a < c.length; a++)
- u += c.charCodeAt(a);
- c = c.substr(5) + c.substr(0, 5);
- 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;
- for (a = 0; a < e.length; a++) {
- 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))
- }
- return ((f.toString(36).split("").reverse().join("")) + m.join("")).substr(0, e.length);
- };
- var vid = location.href.split('html?id=')[1];
- var ch = [];
- ch['xwzh'] = {liveid:'ss4Lj11',r:500};//运城新闻综合
- ch['ggpd'] = {liveid:'t667aTY',r:500};//运城公共频道
- ch['wrtv'] = {liveid:'NQrxftk',r:500};//万荣电视
- ch['hjgb'] = {liveid:'DNZs418',r:500};//河津广播直播
- ch['fxtv'] = {liveid:'Pk6fhsS',r:500};//绛县电视
- ch['hjtv'] = {liveid:'UMUYNbZ',r:500};//河津电视
- ch['yqtv'] = {liveid:'a34LR16',r:500};//垣曲电视
- ch['xftv'] = {liveid:'dbo4n2O',r:500};//新绛电视
- ch['wygb'] = {liveid:'p3e1Pzg',r:500};//文艺广播
- ch['kjjy'] = {liveid:'p5eq48m',r:500};//运城科技教育频道
- ch['xxtv'] = {liveid:'qdl89ZV',r:500};//夏县电视
- ch['xwzhgb'] = {liveid:'4TTDb6q',r:500};//新闻综合频率
- ch['lytv'] = {liveid:'ul3DNA0',r:500};//临猗电视
- var e = ch[vid].liveid;
- var pathname = pathname(e);
- m3u8 = 'http://live.0359tv.com/'+ch[vid].liveid+'/'+ch[vid].r+'/'+pathname+'.m3u8';
- location.href = + m3u8;
- </script>
- </body>
- </html>
复制代码
谁写下php代理?
|
|