log(err);\n\t\t}\n\t\treturn realUrl;\n\t}\n\tfunction getYoukuRealUrl(url) {\n\t\tvar li = document.getElementsByClassName('hot-row-bottom')[0].children[0];\n\t\tvar data = li.getAttribute('data-param');\n\t\tvar s = data.split('svid=');\n\t\tif (s.length > 1) {\n\t\t\tvar svid = s[1].split('&')[0];\n\t\t\treturn 'https://v.youku.com/v_show/id_' + svid + '.html';\n\t\t}\n\t\treturn url;\n\t}\n\tfunction getRealUrl(url) {\n\t\tvar dataurl2 = url;\n\t\tvar txurlc = dataurl2.split(\":\");\n\t\tvar txurl = txurlc[1].slice(0, 12);\n\t\tvar ykurl = txurlc[1].slice(0, 13);\n\t\tvar ykdata = txurlc[1].slice(13);\n\t\tvar funurl = txurlc[1].slice(0, 11);\n\t\tif (ykurl == '//m.youku.com') {\n\t\t\treturn getYoukuRealUrl(url);\n\t\t}\n\t\tif (ykurl == '//m.youku.com') {\n\t\t\tvar txurlc = dataurl2.split(\":\");\n\t\t\tvar ykurl = txurlc[1].slice(0, 13);\n\t\t\tvar ykdata = txurlc[1].slice(13);\n\t\t\tdataurl2 = 'http://www.youku.com' + ykdata;\n\t\t} else if (ykurl == '//m.iqiyi.com') {\n\t\t\tvar txurlc = dataurl2.split(\":\");\n\t\t\tvar ykurl = txurlc[1].slice(0, 13);\n\t\t\tvar ykdata = txurlc[1].slice(13);\n\t\t\tdataurl2 = 'https://www.iqiyi.com' + ykdata;\n\t\t} else if (txurl == '//m.v.qq.com') {\n\t\t\tvar vid = getParam(dataurl2, \"vid\");\n\t\t\tvar cid = getParam(dataurl2, \"cid\");\n\t\t\tvar txdata2 = dataurl2.split(\"?\");\n\t\t\tvar str = \"play.html\";\n\t\t\tif (txdata2[0].slice(txdata2[0].length - str.length) == str) {\n\t\t\t\tif (cid.length > 1) {\n\t\t\t\t\tdataurl2 = \"https://v.qq.com/x/cover/\" + cid + \".html\";\n\t\t\t\t\treturn dataurl2;\n\t\t\t\t} else if (vid.length == 11) {\n\t\t\t\t\treturn \"https://v.qq.com/x/page/\" + vid + \".html\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tcid = txdata2[0].slice( - 20, -5);\n\t\t\tif (vid.length == 11) {\n\t\t\t\tdataurl2 = 'https://v.qq.com/x/cover/' + cid + '/' + vid + '.html';\n\t\t\t} else {\n\t\t\t\tdataurl2 = 'https://v.qq.com/x/cover/' + cid + '.html';\n\t\t\t}\n\t\t} else if (ykurl == '//m.le.com/vp') {\n\t\t\tvar leurlc = dataurl2.split(\"_\");\n\t\t\tvar leurl = leurlc[1];\n\t\t\tdataurl2 = 'http://www.le.com/ptv/vplay/' + leurl;\n\t\t}\n\t\treturn dataurl2;\n\t}\n\tfunction getParam(dataurl2, name) {\n\t\treturn dataurl2.match(new RegExp('[?&]' + name + '=([^?&]+)', 'i')) ? decodeURIComponent(RegExp.$1) : '';\n\t}\n\tfunction loadVip(url) {\n\t\tvar myBtn = document.getElementById(\"myBtn2019\");\n\t\tvar myul = document.getElementById(\"myul2019\");\n\t\tif (myul.style.display == \"none\") {\n\t\t\tmyul.style.display = \"block\";\n\t\t\tmyBtn.innerHTML = \"➕\";\n\t\t\tmyBtn.style.transform = \"rotateZ(45deg)\";\n\t\t} else {\n\t\t\tmyul.style.display = \"none\";\n\t\t\tmyBtn.innerHTML = \"➿\";\n\t\t\tmyBtn.style.transform = \"rotateZ(0deg)\";\n\t\t}\n\t}\n})();\n"},{"id":1912833,"version":13,"status":false,"host":"vip.1905.com,m.pptv.com,m.mgtv.com,m.le.com,m.iqiyi.com,m.v.qq.com,m.youku.com,m.film.sohu.com,m.tv.sohu.com","name":"自定义接口","code":"/*说明:嗅探时优先播放i0接口,请将i0的值修改为相应接口链接,如i0='http://jx.618g.com/?url=';*/\nfunction metaGetMedia(){\nvar i0=null;\nvar i1='https://api.sigujx.com/?url=';\nvar i2='http://106.15.56.32:8080/Akwan/Ones?mz=999&vos=no&url=';\nvar array=[];\nvar url=location.href;\nvar info=[{h:'sohu.com',c:['channeled=','columnid='],i:[i1,i2]},{h:'youku.com',c:['/video/'],i:[i1,i2]},{h:'iqiyi.com',c:['/v_'],i:[i1,i2]},{h:'v.qq.com',c:['/cover/','ptag='],i:[i1,i2]},{h:'mgtv.com',c:['/b/'],i:[i1,i2]},{h:'le.com',c:['/vplay_'],i:[i1,i2]},{h:'pptv.com',c:['/show/'],i:[i1,i2]},{h:'1905.com',c:['/play/'],i:[i1,i2]}];\nfor(var i=0;i<info.length;i++){\nif(url.indexOf(info[i].h)!=-1){\nvar c=info[i].c;\nvar i=info[i].i;\nvar s=false;\nfor(var j=0;j<c.length;j++){\nif(url.indexOf(c[j])!=-1){s=true;break;}\n}\nif(!s){\nvar elements=document.getElementsByTagName('video');\nif(elements.length!=0) s=true;\n}\nif(s){\nfor(var k=0;k<i.length;k++){\narray.push(i[k]+url);\n}\nif(i0!=null) array.
Back to home |
File page
Subscribe |
Register |
Login
| N