总代码.txt 79 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363
  1. if(getVar("url").search(/\.php\/.+?\.vod/)!=-1){
  2. var URL=getVar("url").split("/vodPhbAll")[0];
  3. }else if(getVar("url").search(/api\.php\/.*?\/vod/)!=-1||getVar("url").indexOf("api.php/app/")!=-1||getVar("url").indexOf("xgapp.php/v")!=-1){
  4. var URL=getVar("url").match(/http.*\//)[0];
  5. }else{
  6. var URL=getVar("url").match(/https?:\/\/[^\/]*/)[0];
  7. }
  8. function TB(){
  9. var Arr=Array.from(arguments);
  10. var Newd = Arr.map(i => 总标题[i]);
  11. return Newd;
  12. }
  13. function TT(){
  14. var Arr=Array.from(arguments);
  15. var Newd = Arr.map(i => 总地址[i]);
  16. return Newd;
  17. }
  18. var 总标题=["0","电影","电视剧","综艺","动漫","5","动作片","喜剧片","爱情片","科幻片","10","恐怖片","剧情片","战争片","国产剧","15","港台剧","日韩剧","欧美剧","大陆剧","20","香港剧","台湾剧","日本剧","韩国剧","25","美国剧","泰国剧","国语配音韩剧","最近热播剧","30","热播美剧","抖音电影","福利短视频","豆瓣TOP","35","最新电影","欧美电影","韩国电影","脱口秀","40","真人秀","选秀","美食","旅游","45","访谈","纪实","搞笑","纪录片","50","台泰剧","海外剧","bilibili"];
  19. var 总地址=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","1&class=&area=","2&class=&area=","3&class=&area=","40","4&class=&area=","1&class=动作&area=","1&class=喜剧&area=","1&class=爱情&area=","45","1&class=科幻&area=","1&class=恐怖&area=","1&class=剧情&area=","1&class=战争&area=","50","2&class=&area=内地","2&class=&area=香港","2&class=&area=台湾","2&class=&area=日本","55","2&class=&area=韩国","2&class=&area=美国","movie&start=&area=&type=","tvplay&start=&area=&type=","60","tvshow&start=&area=&type=","comic&start=&area=&type=","movie&start=&area=&type=动作","movie&start=&area=&type=喜剧","65","movie&start=&area=&type=爱情","movie&start=&area=&type=科幻","movie&start=&area=&type=恐怖","movie&start=&area=&type=剧情","70","movie&start=&area=&type=战争","tvplay&start=&area=内地&type=","tvplay&start=&area=香港&type=","tvplay&start=&area=台湾&type=","75","tvplay&start=&area=日本&type=","tvplay&start=&area=韩国&type=","tvplay&start=&area=美国&type=","dianying","80","lianxuju","zongyi","dongman","dongzuopian","85","xijupian","aiqingpian","kehuanpian","kongbupian","90","juqingpian","zhanzhengpian","guoyupeiyinhanju","zuijinrebodianshiju","95","rebomeiju","guochanju","gangtaiju","rihanju","100","oumeiju","SCCCCS","qCCCCS","xCCCCS","105","ICCCCS","SCCCCS/class/动作","SCCCCS/class/喜剧","SCCCCS/class/爱情","110","SCCCCS/class/科幻","SCCCCS/class/恐怖","SCCCCS/class/剧情","SCCCCS/class/战争","115","qCCCCS/area/内地","qCCCCS/area/香港","qCCCCS/area/台湾","qCCCCS/area/日本","120","qCCCCS/area/韩国","qCCCCS/area/美国","1/class/动作","1/class/喜剧","125","1/class/爱情","1/class/科幻","1/class/恐怖","1/class/剧情","130","1/class/战争","2/area/中国大陆","2/area/中国香港","2/area/中国台湾","135","2/area/日本","2/area/韩国","2/area/美国","dianying/class/动作","140","dianying/class/喜剧","dianying/class/爱情","dianying/class/科幻","dianying/class/恐怖","145","dianying/class/剧情","dianying/class/战争","lianxuju/area/大陆","lianxuju/area/香港","150","lianxuju/area/台湾","lianxuju/area/日本","lianxuju/area/韩国","lianxuju/area/美国","155","48"];
  20. var 标题1=TB(1,2,3,4,6,7,8,9,11,12,13,14,16,17,18);
  21. var 地址1=TT(1,2,3,4,6,7,8,9,10,11,12,13,14,15,16);
  22. var 标题2=TB(1,2,3,4,6,7,8,9,11,12,13,19,21,22,23,24,26);
  23. var 地址2=TT(37,38,39,41,42,43,44,46,47,48,49,51,52,53,54,56,57);
  24. var 标题3=标题2;
  25. var 地址3=TT(58,59,61,62,63,64,66,67,68,69,71,72,73,74,76,77,78);
  26. var 标题4=TB(1,2,3,4,6,7,8,9,11,12,13,14,16,17,18,28,29,31);
  27. var 标题41=TB(1,2,3,4,6,7,8,9,11,12,13,14,16,17,18);
  28. var 地址4=TT(79,81,82,83,84,86,87,88,89,91,92,97,98,99,101,93,94,96);
  29. var 地址41=TT(79,81,82,83,84,86,87,88,89,91,92,97,98,99,101);
  30. var 标题5=标题2;
  31. var 地址5=TT(102,103,104,106,107,108,109,111,112,113,114,116,117,118,119,121,122);
  32. function 头部导航(){
  33. var res={};var items=[];
  34. for(var j=0;j<标题.length;j++){
  35. 分类地址=URL+前+地址[j]+后;
  36. items.push({title:标题[j],url:分类地址});
  37. }
  38. res.data=items;
  39. return JSON.stringify(res);
  40. }
  41. if(URL.indexOf("cokemv.me")!=-1){
  42. var 标题=TB(1,2,3,4,32,19,21,24,18);
  43. var 地址=TT(1,2,3,4,5,13,14,15,16);var 前="/vodtype/";var 后="-#PN#.html";头部导航();
  44. }else if(URL.indexOf("hanmiys.com")!=-1){
  45. var 标题=标题2;
  46. var 地址=["1---","2---","3---","4---","1---动作","1---喜剧","1---爱情","1---科幻","1---恐怖","1---剧情","1---战争","2-内地--","2-香港--","2-台湾--","2-日本--","2-韩国--","2-美国--"];var 前="/vodshow/";var 后="-----#PN#---.html";头部导航();
  47. }else if(URL.indexOf("cvcv.tv")!=-1){
  48. var 标题=标题2;
  49. var 地址=["1---","6---","8---","9---","1---动作","1---喜剧","1---爱情","1---科幻","1---恐怖","1---剧情","1---战争","6-大陆--","6-香港--","6-台湾--","6-日本--","6-韩国--","6-美国--"];var 前="/vodshow/";var 后="-----#PN#---.html";头部导航();
  50. }else if(URL.indexOf("jpysvip.net")!=-1||URL.indexOf("ak1080.me")!=-1||URL.indexOf("unss.net")!=-1||URL.indexOf("dcds.ml")!=-1){
  51. var 标题=标题1;var 地址=地址1;var 前="/vodtype/";var 后="-#PN#.html";头部导航();
  52. }else if(URL.indexOf("bukaivip.com")!=-1||URL.indexOf("ys.80tvs.cn")!=-1||URL.indexOf("dijiaxia.com")!=-1||URL.indexOf("msdv.cn")!=-1||URL.indexOf("1090p.tk")!=-1){
  53. var 标题=标题1;var 地址=地址1;var 前="/index.php/vod/show/id/";var 后="/page/#PN#.html";头部导航();
  54. }else if(URL.indexOf("hszbj.net")!=-1){
  55. var 标题=TB(1,2,3,4,6,7,8,9,11,12,13,19,21,22,23,24,26);var 地址=TT(1,2,3,4,123,124,126,127,128,129,131,132,133,134,136,137,138);var 前="/index.php/vod/show/id/";var 后="/page/#PN#.html";头部导航();
  56. }else if(URL.indexOf("cms.7a11l.cn")!=-1){
  57. var 标题=标题5;var 地址=地址5;var 前="/index.php/vod/show/id/";var 后="/page/#PN#.html";头部导航();
  58. }else if(URL.indexOf("longtengzy.cn")!=-1||URL.indexOf("flvweb.com")!=-1||URL.indexOf("30dian.cn")!=-1){
  59. var 标题=标题1;var 地址=地址1;var 前="/index.php/vod/type/id/";var 后="/page/#PN#.html";头部导航();
  60. }else if(URL.indexOf("susou.tv")!=-1){
  61. var 标题=TB(1,2,3,4,49,6,7,8,9,11,12,13,19,21,22,23,24,26);var 地址=["1","2","3","4","21","1/class/动作","1/class/喜剧","1/class/爱情","1/class/科幻","1/class/恐怖","1/class/剧情","1/class/战争","2/area/中国大陆","2/area/中国香港","2/area/中国台湾","2/area/日本","2/area/韩国","2/area/美国"];var 前="/vodshow-";var 后="/page/#PN#/";头部导航();
  62. }else if(URL.indexOf("4kcz.com")!=-1){
  63. var 标题=标题1;var 地址=地址1;var 前="/vodshow/";var 后="/page/#PN#/";头部导航();
  64. }else if(URL.indexOf("348z.com")!=-1){
  65. var 标题=标题1;var 地址=地址1;var 前="/vodshow/id/";var 后="/page/#PN#.html";头部导航();
  66. }else if(URL.indexOf("moyuyingshi.com")!=-1){
  67. var 标题=标题41;var 地址=地址41;var 前="/vodtype/";var 后="-#PN#/";头部导航();
  68. }else if(URL.indexOf("lkvod.com")!=-1){
  69. var 标题=标题1;var 地址=地址1;var 前="/type/";var 后="-#PN#/";头部导航();
  70. }else if(URL.indexOf("1080mi.com")!=-1){
  71. var 标题=标题1;var 地址=地址1;var 前="/v_type/";var 后="-#PN#.html";头部导航();
  72. }else if(URL.indexOf("kkju.cc")!=-1){
  73. var 标题=["电影","樱花动漫","综艺秀","国产剧","港台剧","韩剧","日剧","美剧"];var 地址=["1","4","3","13","14","15","28","16"];var 前="/type/";var 后="-#PN#/";头部导航();
  74. }else if(URL.indexOf("gimytv.com")!=-1){
  75. var 标题=TB(1,2,3,4,6,7,8,9,11,12,13,19,21,22,23,24,26,52,49);var 地址=TT(1,2,3,4,6,7,8,9,10,11,12,13,14,22,15,23,16,24,20);var 前="/type/";var 后="-#PN#.html";头部导航();
  76. }else if(URL.indexOf("jiujiukanju.com")!=-1){
  77. var 标题=TB(1,2,3,4);var 地址=TT(1,2,3,4);var 前="/type/";var 后="/#PN#.html";头部导航();
  78. }else if(URL.indexOf("jubaibai.cc")!=-1){
  79. var 标题=标题1;var 地址=["dianying","dianshiju","zongyi","dongman","dongzuopian","xijupian","aiqingpian","kehuanpian","kongbupian","juqingpian","zhanzhengpian","guochanju","gangtaiju","rihanju","oumeiju"];var 前="/vodshow/id/";var 后="/page/#PN#.html";头部导航();
  80. }else if(URL.indexOf("bidiys.cc")!=-1){
  81. var 标题=["电影","电视剧","综艺","动漫","南瓜电影","4K专区","动作片","喜剧片","爱情片","科幻片","恐怖片","剧情片","战争片","国产剧","港台剧","日韩剧","欧美剧"];var 地址=["dianying","dianshiju","zongyi","dongman","nanguady","huiyuanzhuanqu","dongzuopian","xijupian","aiqingpian","kehuanpian","kongbupian","juqingpian","zhanzhengpian","guochanju","gangtaiju","rihanju","oumeiju"];var 前="/vodshow-";var 后="--------#PN#---.html";头部导航();
  82. }else if(URL.indexOf("vdxj.net")!=-1||URL.indexOf("tgys.tv")!=-1){
  83. var 标题=标题1;var 地址=地址1;var 前="/vodshow/";var 后="--------#PN#---.html";头部导航();
  84. }else if(URL.indexOf("555dy1.com")!=-1){
  85. var 标题=标题1;var 地址=["1","2","3","4","84","80","81","82","85","87","86","13","15","44","45"];var 前="/vodshow/";var 后="--------#PN#---.html";头部导航();
  86. }else if(URL.indexOf("jxry.cc")!=-1){
  87. var 标题=TB(1,2,3,4,6,7,8,9,11,12,13,14,16,17,18,33);var 地址=TT(1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,23);var 前="/index.php/vod/show/id/";var 后="/page/#PN#.html";头部导航();
  88. }else if(URL.indexOf("cjt521.com")!=-1){
  89. var 标题=TB(1,2,3,4,6,7,8,9,11,12,13,19,21,22,23,24,26,53);var 地址=TT(1,2,3,4,123,124,126,127,128,129,131,132,133,134,136,137,138,156);var 前="/index.php/vod/show/id/";var 后="/page/#PN#.html";头部导航();
  90. }else if(URL.indexOf("zhenbuka3.com")!=-1){
  91. var 标题=标题1;var 地址=地址1;var 前="/vodtype/";var 后="-#PN#/";头部导航();
  92. }else if(URL.indexOf("yingkuya.com")!=-1||URL.indexOf("ekvod.com")!=-1){
  93. var 标题=标题1;var 地址=地址1;var 前="/vodshow/";var 后="--------#PN#---/";头部导航();
  94. }else if(URL.indexOf("meijuchong.com")!=-1){
  95. var 标题=TB(18,17,52,1);var 地址=TT(1,2,3,4);var 前="/vodtype/";var 后="-#PN#/";头部导航();
  96. }else if(URL.indexOf("waijumi.com")!=-1){
  97. var 标题=["电影","欧美剧","日韩剧","动漫"];var 地址=["mov","omtv","rhtv","2"];var 前="/t/";var 后="-#PN#.html";头部导航();
  98. }else if(URL.indexOf("saohuotv.com")!=-1){
  99. var 标题=TB(1,2,4,6,7,8,9,11,12,13,19,21,22,23,24,26,39,41,42,43,44,46,47,48);
  100. var 地址=TT(1,2,4,9,6,7,10,8,15,11,20,21,26,24,22,23,28,29,30,31,32,34,35,36);
  101. var 前="/list/";var 后="-#PN#.html";头部导航();
  102. }else if(URL.indexOf("zxzjtv.com")!=-1){
  103. var 标题=TB(1,26,23,24,27,4);
  104. var 地址=TT(1,2,4,3,5,6);var 前="/list/";var 后="-#PN#.html";头部导航();
  105. }else if(URL.indexOf("auete.com")!=-1){
  106. var 标题=标题2;
  107. var 地址=["Movie","Tv","Zy","Dm","Movie/dzp","Movie/xjp","Movie/aqp","Movie/khp","Movie/kbp","Movie/jqp","Movie/zzp","Tv/neidi","Tv/tvbgj","Tv/taiju","Tv/riju","Tv/hanju","Tv/oumei"];var 前="/";var 后="/index.html";头部导航();
  108. }else if(URL.indexOf("tvyb02.com")!=-1){
  109. var 标题=标题1;var 地址=地址1;var 前="/vod/type/id/";var 后="/page/#PN#.html";头部导航();
  110. }else if(URL.indexOf("9ehao.com")!=-1){
  111. var 标题=标题4;var 地址=地址4;var 前="/vodshow/";var 后="/page/#PN#.html";头部导航();
  112. }else if(URL.indexOf("dikotv.com")!=-1){
  113. var 标题=标题2;var 地址=TT(79,81,82,83,139,141,142,143,144,146,147,148,149,151,152,153,154);var 前="/vodshow/";var 后="/page/#PN#.html";头部导航();
  114. }else if(URL.indexOf("czspp.com")!=-1){
  115. var 标题=TB(1,2,4,34,36,37,38,19,26,24,23);var 地址=["movie_bt/movie_bt_series/dyy","movie_bt/movie_bt_series/dianshiju","dm","dbtop250","zuixindianying","movie_bt/movie_bt_series/meiguodianying","movie_bt/movie_bt_series/hanguodianying","gcj","movie_bt/movie_bt_series/mj","movie_bt/movie_bt_series/hj","movie_bt/movie_bt_series/rj"];var 前="/";var 后="#PN#";头部导航();
  116. }else if(URL.indexOf("1090ys2.com")!=-1){
  117. var 标题=TB(1,2,19,21,24,26,23,3,6,7,8,9,11,12);var 地址=["1","2","2/area/中国大陆","2/area/中国香港","3","4","5","22","1/class/动作","1/class/喜剧","1/class/爱情","1/class/科幻","1/class/恐怖","1/class/剧情"];var 前="/whole/";var 后="/page/#PN#.html";头部导航();
  118. }else if(URL.indexOf("nfmovies.com")!=-1){
  119. var 标题=TB(1,2,3,4,6,7,8,9,11,12,13,49,14,16,17,18);var 地址=TT(1,2,3,4,5,10,6,7,8,12,9,11,13,14,16,15);var 前="/list/";var 后="-#PN#.html";头部导航();
  120. }else if(URL.indexOf("jhyun.jhdyw.vip")!=-1||URL.indexOf("zjuba.com")!=-1){
  121. var 标题=标题1;var 地址=地址1;var 前="/index.php/vod/type/id/";var 后="/page/#PN#.html";头部导航();
  122. }else if(URL.indexOf("kutv.cc")!=-1){
  123. var 标题=["电影","电视剧","综艺","动漫","动作片","喜剧片","爱情片","科幻片","恐怖片","剧情片","战争片","国产剧","港台剧","日韩剧","欧美剧","4K专区","直播"];var 地址=["film","tvplay","variety","Comics","action","xiju","love","sciencefiction","terror","plot","Warfare","Domestic","gangtaiju","xihanju","oumeiju","4Kzhuanqu","live"];var 前="/xuan/";var 后="--------#PN#---.html";头部导航();
  124. }else if(URL.indexOf("api.php/app")!=-1||URL.indexOf("xgapp.php/v")!=-1){
  125. if(URL.indexOf("007ts.cc")!=-1){
  126. var 标题=标题2;var 地址=["1&class=&area=","2&class=&area=","3&class=&area=","4&class=&area=","1&class=动作&area=","1&class=喜剧&area=","1&class=爱情&area=","1&class=科幻&area=","1&class=恐怖&area=","1&class=剧情&area=","1&class=战争&area=","2&class=&area=大陆","2&class=&area=香港","2&class=&area=台湾","2&class=&area=日本","2&class=&area=韩国","2&class=&area=美国"];var 前="video?tid=";var 后="&lang=&year=&pg=#PN#";头部导航();
  127. }else{
  128. var 标题=标题2;var 地址=地址2;var 前="video?tid=";var 后="&lang=&year=&pg=#PN#";头部导航();
  129. }
  130. }else if(URL.search(/\.php\/.+?\.vod/)!=-1){
  131. if(URL.indexOf("iopenyun.com")!=-1){
  132. var 标题=标题2;var 地址=地址2;var 前="/list?type=";var 后="&lang=&year=&page=#PN#";
  133. }else{
  134. if(URL.indexOf("app.bl210.com")!=-1){
  135. var 标题=标题2;var 地址=["1&class=&area=","2&class=&area=","3&class=&area=","4&class=&area=","1&class=动作&area=","1&class=喜剧&area=","1&class=爱情&area=","1&class=科幻&area=","1&class=恐怖&area=","1&class=剧情&area=","1&class=战争&area=","2&class=&area=大陆","2&class=&area=香港","2&class=&area=台湾","2&class=&area=日本","2&class=&area=韩国","2&class=&area=美国"];var 前="?type=";var 后="&lang=&year=&pg=#PN#";
  136. }else{
  137. var 标题=标题2;var 地址=地址2;var 前="?type=";var 后="&lang=&year=&page=#PN#";
  138. }
  139. }
  140. if(URL.indexOf("dxzj88.com")!=-1||URL.indexOf("ytys1122.com")!=-1){
  141. 标题.push("纪录片","电视直播");地址.push("31&class=&area=","33&class=&area=");
  142. }else if(URL.indexOf("221.236.18.12")!=-1){
  143. 标题.push("福利");地址.push("29&class=&area=");
  144. }else if(URL.indexOf("znyy666.top")!=-1){
  145. 标题.push("福利");地址.push("36&class=&area=");
  146. }else if(URL.indexOf("huangguays.com")!=-1){
  147. 标题.push("追番");地址.push("30&class=&area=");
  148. }else if(URL.indexOf("wokewu.cn")!=-1){
  149. 标题.push("腾讯热门");地址.push("20&class=&area=");
  150. }else if(URL.indexOf("miaoletv.com")!=-1){
  151. 标题.push("电视直播","新番");地址.push("39&class=&area=","47&class=&area=");
  152. }
  153. 头部导航();
  154. }else if(URL.search(/api\.php\/.*?\/vod/)!=-1){
  155. var 标题=标题3;var 地址=地址3;var 前="?ac=list&class=";var 后="&page=#PN#";头部导航();
  156. }
  157. ######单项列表
  158. if(getVar("url").search(/\.php\/.+?\.vod/)!=-1){
  159. if(getVar("url").indexOf("iopenyun.com")!=-1){
  160. var URL=getVar("url").split("/list")[0];
  161. }else{
  162. var URL=getVar("url").split("?")[0];
  163. }
  164. }else if(getVar("url").search(/api\.php\/.*?\/vod/)!=-1||getVar("url").indexOf("api.php/app/")!=-1||getVar("url").indexOf("xgapp.php/v")!=-1){
  165. var URL=getVar("url").match(/http.*\//)[0];
  166. }else{
  167. var URL=getVar("url").match(/https?:\/\/[^\/]*/)[0];
  168. }
  169. if(URL.indexOf("auete.com")!=-1){
  170. var NEXTPAGE=URL+e2Rex(getVar("源码"),".get(ul.pagination).ty(active).get(li a).a(href)");
  171. }else if(URL.indexOf("czspp.com")!=-1){
  172. var NEXTPAGE=e2Rex(getVar("源码"),".get(div.pagenavi_txt).ty(current).get(a).a(href)");
  173. }else{
  174. if(Number(getVar("PN"))==-1){
  175. var NEXTPAGE=Number(getVar("PN"))+3;
  176. }else{
  177. var NEXTPAGE=Number(getVar("PN"))+1;
  178. }
  179. }
  180. function 单项列表(){
  181. var res={};var items=[];var LIST=[];
  182. for(var j=0;j<列表.length;j++){
  183. var CODE=列表[j];
  184. var 标题=e2Rex(CODE,标题规则);
  185. var 地址=e2Rex(CODE,地址规则).indexOf("http")!=-1?e2Rex(CODE,地址规则):URL+e2Rex(CODE,地址规则);
  186. if(地址.indexOf("vodplay")!=-1){
  187. var 地址=地址.replace(/vodplay/,"voddetail").replace(/-1-1.html/,'.html');
  188. }else if(地址.search(/\.php\/.+?\.vod/)!=-1){
  189. var 日期=e2Rex(getVar("TIME_"),".time(MMdd)");
  190. var 地址=地址+"&key="+日期;
  191. }
  192. var 预图片=e2Rex(CODE,图片规则);
  193. if(预图片.indexOf("/mac:")!=-1){
  194. var 图片="http:"+预图片.split("mac:")[1];
  195. }else if(预图片.indexOf("=")!=-1){
  196. var 图片=预图片.match(/.*(http.*)/)[1];
  197. }else if(预图片.indexOf("http")!=-1){
  198. var 图片=预图片;
  199. }else if(预图片==""){
  200. var 图片="https://egwang186.coding.net/p/egwang186/d/iptv/git/raw/master/js2.0/kongbai.png";
  201. }else if(预图片.indexOf("//")!=-1){
  202. var 图片="http:"+预图片;
  203. }else{
  204. var 图片=URL+预图片;
  205. if(URL.indexOf("1090ys2.com")!=-1){
  206. var 图片=图片+'@{"user-agent":"Mozilla/5.0","referer":"http://1090ys2.com/"}';
  207. }
  208. }
  209. var 简介=e2Rex(CODE,简介规则);
  210. LIST.push({title:标题,url:地址,img:图片,detail:简介});
  211. }
  212. var play_={};
  213. play_.list=LIST;
  214. items.push(play_);
  215. res.data=items;
  216. if(URL.indexOf("auete.com")!=-1||URL.indexOf("czspp.com")!=-1){
  217. res.nextpage=NEXTPAGE;
  218. }else{
  219. res.nextpage=getVar("前")+NEXTPAGE+getVar("后");
  220. }
  221. return JSON.stringify(res);
  222. }
  223. if(URL.indexOf("duboku.fun")!=-1||URL.indexOf("ikan6.vip")!=-1||URL.indexOf("cokemv.me")!=-1||URL.indexOf("447k.com")!=-1||URL.indexOf("tvyb02.com")!=-1||URL.indexOf("jpysvip.net")!=-1||URL.indexOf("zhenbuka3.com")!=-1||URL.indexOf("bukaivip.com")!=-1||URL.indexOf("flvweb.com")!=-1||URL.indexOf("9ehao.com")!=-1||URL.indexOf("dijiaxia.com")!=-1||URL.indexOf("unss.net")!=-1||URL.indexOf("nfmovies.com")!=-1||URL.indexOf("hanmiys.com")!=-1||URL.indexOf("cvcv.tv")!=-1||URL.indexOf("gimytv.com")!=-1||URL.indexOf("30dian.cn")!=-1||URL.indexOf("meijuchong.com")!=-1||URL.indexOf("555dy1.com")!=-1||URL.indexOf("ak1080.me")!=-1){
  224. var 列表=e2Arr(getVar("源码"),".get(li[class~=col-md-\\d col-sm-4 col-xs-3])");
  225. var 标题规则=".get(.title a).t()";var 地址规则=".get(.title a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t().c().get(p).t()";单项列表();
  226. }else if(URL.indexOf("cms.7a11l.cn")!=-1||URL.indexOf("vdxj.net")!=-1||URL.indexOf("jiujiukanju.com")!=-1||URL.indexOf("lkvod.com")!=-1||URL.indexOf("hszbj.net")!=-1||URL.indexOf("dcds.ml")!=-1||URL.indexOf("longtengzy.cn")!=-1||URL.indexOf("msdv.cn")!=-1||URL.indexOf("kutv.cc")!=-1||URL.indexOf("ekvod.com")!=-1||URL.indexOf("bidiys.cc")!=-1){
  227. var 列表=e2Arr(getVar("源码"),".get(div.module-item)");
  228. var 标题规则=".get(div.video-name a).t()";var 地址规则=".get(div.video-name a).a(href)";var 图片规则=".get(img).a(data-src)";var 简介规则=".get(div.module-item-text).t().c().get(span).st().t()";
  229. 单项列表();
  230. }else if(URL.indexOf("1080mi.com")!=-1){
  231. var 列表=e2Arr(getVar("源码"),".get(div.module-items a.module-item)");
  232. var 标题规则=".get(a).a(title)";var 地址规则=".get(a).a(href)";var 图片规则=".get(img).a(data-original)";var 简介规则=".t()";
  233. 单项列表();
  234. }else if(URL.indexOf("waijumi.com")!=-1){
  235. var 列表=e2Arr(getVar("源码"),".get(li.hl-list-item)");
  236. var 标题规则=".get(a).a(title)";var 地址规则=".get(a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t().c()";单项列表();
  237. }else if(URL.indexOf("1090p.tk")!=-1){
  238. var 列表=e2Arr(getVar("源码"),".get(div.pack-ykpack)");
  239. var 标题规则=".get(a).a(title)";var 地址规则=".get(a).a(href)";var 图片规则=".get(div.eclazy).a(data-original)";var 简介规则=".get(span).st().t()";单项列表();
  240. }else if(URL.indexOf("jhyun.jhdyw.vip")!=-1){
  241. var 列表=e2Arr(getVar("源码"),".get(li[class=clearfix])");
  242. var 标题规则=".get(.title a).t()";var 地址规则=".get(.title a).a(href)";var 图片规则=".c(https://egwang186.coding.net/p/egwang186/d/iptv/git/raw/master/js2.0/jhyslogo.png).get(a).a(data-original)";var 简介规则=".get(span).st().t()";单项列表();
  243. }else if(URL.indexOf("saohuotv.com")!=-1){
  244. var 列表=getVar("源码").match(/<li>[\s]*?<div class="v_img"[\s\S]*?<\/li>/g);
  245. var 标题规则=".get(.v_title a).t()";var 地址规则=".get(.v_title a).a(href)";var 图片规则=".get(img).a(data-original)";var 简介规则=".get(div.v_note).t()";单项列表();
  246. }else if(URL.indexOf("ys.80tvs.cn")!=-1||URL.indexOf("cjt521.com")!=-1||URL.indexOf("susou.tv")!=-1||URL.indexOf("4kcz.com")!=-1||URL.indexOf("348z.com")!=-1||URL.indexOf("moyuyingshi.com")!=-1){
  247. var 列表=e2Arr(getVar("源码"),".get(li.list-width)");
  248. var 标题规则=".get(.title a).t()";var 地址规则=".get(.title a).a(href)";var 图片规则=".get(div.lazy).a(data-original)";var 简介规则=".get(span).st().t().c().get(div.bt).t()";单项列表();
  249. }else if(URL.indexOf("jxry.cc")!=-1){
  250. var 列表=e2Arr(getVar("源码"),".get(li.leo-video-item)");
  251. var 标题规则=".get(a.leo-show).a(title)";var 地址规则=".get(a.leo-show).a(href)";var 图片规则=".get(img).a(src)";var 简介规则=".get(div.leo-video-tips).t().c().get(div.leo-video-remark).t()";单项列表();
  252. }else if(URL.indexOf("zjuba.com")!=-1){
  253. var 列表=e2Arr(getVar("源码"),".get(li.fed-list-item)");
  254. var 标题规则=".get(a.fed-list-title).t()";var 地址规则=".get(a.fed-list-title).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t()";单项列表();
  255. }else if(URL.indexOf("dikotv.com")!=-1||URL.indexOf("tgys.tv")!=-1){
  256. var 列表=e2Arr(getVar("源码"),".get(li.vodlist_item)");
  257. var 标题规则=".get(.vodlist_title a).t()";var 地址规则=".get(.vodlist_title a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t()";单项列表();
  258. }else if(URL.indexOf("czspp.com")!=-1){
  259. var 列表=e2Arr(getVar("源码"),".get(div.bt_img li)");
  260. var 标题规则=".get(h3 a).t()";var 地址规则=".get(h3 a).a(href)";var 图片规则=".get(img).a(data-original)";var 简介规则=".get(span).st().t().c().get(p).t()";单项列表();
  261. }else if(URL.indexOf("jubaibai.cc")!=-1){
  262. var 列表=e2Arr(getVar("源码"),".get(ul.stui-vodlist li)");
  263. var 标题规则=".get(h4 a).t()";var 地址规则=".get(h4 a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t().c().get(p).t()";单项列表();
  264. }else if(URL.indexOf("zxzjtv.com")!=-1||URL.indexOf("kkju.cc")!=-1){
  265. var 列表=e2Arr(getVar("源码"),".get(ul.stui-vodlist li)");
  266. var 标题规则=".get(a).a(title).or().get(a).a(alt)";var 地址规则=".get(a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t()";单项列表();
  267. }else if(URL.indexOf("auete.com")!=-1){
  268. var 列表=e2Arr(getVar("源码"),".get(ul.threadlist li)");
  269. var 标题规则=".get(.title a).t()";var 地址规则=".get(.title a).a(href)";var 图片规则=".get(img).a(src)";var 简介规则=".get(button).st().t().c().get(p).t()";单项列表();
  270. }else if(URL.indexOf("1090ys2.com")!=-1){
  271. var 列表=e2Arr(getVar("源码"),".get(li[class~=col-md-\\d col-sm-\\d col-xs-3])");
  272. var 标题规则=".get(.title a).a(title)";var 地址规则=".get(.title a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t().c().get(p).t()";单项列表();
  273. }else if(URL.search(/\.php\/.+?\.vod/)!=-1){
  274. var 列表=e2Arr(getVar("源码"),".json(data).json(list)");
  275. var 标题规则=".json(vod_name)";
  276. if(URL.indexOf("iopenyun.com")!=-1){
  277. var 地址规则=".c(/detailID?vod_id=).json(vod_id)";
  278. }else{
  279. var 地址规则=".c(/detail?vod_id=).json(vod_id)";
  280. }
  281. var 图片规则=".json(vod_pic)";var 简介规则=".json(vod_remarks).c().json(vod_actor).c().json(vod_blurb)";单项列表();
  282. }else if(URL.indexOf("api.php/app")!=-1){
  283. var 列表=e2Arr(getVar("源码"),".json(list)");
  284. var 标题规则=".json(vod_name)";var 地址规则=".c(video_detail?id=).json(vod_id)";var 图片规则=".json(vod_pic)";var 简介规则=".json(vod_remarks).c().json(vod_time_add)";单项列表();
  285. }else if(URL.indexOf("xgapp.php/v")!=-1){
  286. var 列表=e2Arr(getVar("源码"),".json(data)");
  287. var 标题规则=".json(vod_name)";var 地址规则=".c(video_detail?id=).json(vod_id)";var 图片规则=".json(vod_pic)";var 简介规则=".json(vod_remarks).c().json(vod_time_add)";单项列表();
  288. }else if(URL.search(/\.php\/.*?\/vod/)!=-1){
  289. var 列表=e2Arr(getVar("源码"),".json(data)");
  290. var 标题规则=".json(title)";var 地址规则=".json(nextlink)";var 图片规则=".json(pic)";var 简介规则=".json(state).c().json(type)";单项列表();
  291. }
  292. ######免嗅探
  293. var uu=getVar("url");
  294. if(uu.indexOf("tv.hfys8.vip/")!=-1){
  295. uu="https://jx.hfkj.ltd/hfwlo.php?url="+uu.split("?url=")[1];
  296. }
  297. if(uu.indexOf("nfmovies.com")!=-1){
  298. var UA="Mozilla/5.0";
  299. var COOKIE=getVar("COOKIE");
  300. }else{
  301. var UA="Mozilla/5.0 Android";
  302. var COOKIE="";
  303. }
  304. var resp=JZ(JSON.stringify({url:uu,redirect:false,head:{"User-Agent":UA}}));
  305. if(uu.indexOf("1080kan.cc/jiexi/")!=-1){
  306. "web="+uu.split("wd=")[1]+'@{"Referer":"http://www.1080kan.cc/"}';
  307. }else if(uu.indexOf("cokemv.me")!=-1||uu.indexOf("hanmiys.com")!=-1){
  308. var resp=JZ(JSON.stringify({url:uu,head:{"User-Agent":UA,"Cookie":COOKIE}}));
  309. var DATA=e2Rex(resp.code,".get(div.embed-responsive.clearfix script).t()");
  310. eval(DATA);
  311. JSON.stringify({url:player_aaaa.url,head:{"user-agent":"Mozilla/5.0"}});
  312. }else if(uu.indexOf("zxzjtv.com")!=-1){
  313. var DATA=e2Rex(resp.code,".ty(player_data=).json(url)");
  314. if(DATA.indexOf(".m3u8")!=-1||DATA.indexOf(".mp4")!=-1){
  315. JSON.stringify({url:DATA});
  316. }else if(DATA.indexOf("zxh.la/zxzj.php?vid=")!=-1){
  317. var code=JZ(JSON.stringify({url:DATA,redirect:false}));
  318. JSON.stringify({url:code.head.location});
  319. }else if(DATA.indexOf("http")!=-1){
  320. var code=JZ(JSON.stringify({url:DATA,head:{'referer':uu}})).code.match(/var url.*?'(.*?)'/)[1];
  321. code=code.split('').reverse().join('');
  322. let temp="";
  323. for (let i = 0x0; i < code.length; i = i + 0x2) {
  324. temp += String.fromCharCode(parseInt(code[i] + code[i + 0x1], 0x10))
  325. }
  326. var playurl=temp.substring(0x0, (temp.length - 0x6) / 0x2) + temp.substring((temp.length - 0x6) / 0x2 + 0x6);
  327. JSON.stringify({url:playurl,head:{"User-Agent":"Mozilla/5.0"}});
  328. }else{
  329. "web="+uu;
  330. }
  331. }else if(uu.indexOf("czspp.com")!=-1){
  332. if(resp.code.indexOf("<iframe")!=-1){
  333. var uuu=e2Rex(resp.code,".get(iframe).a(src)");
  334. if(uuu.indexOf("url=")!=-1){
  335. "web="+uu;
  336. }else{
  337. var playurl=e2Rex(JZ(JSON.stringify({url:uuu})).code,".z2(sources:[\\s\\S]*?'\\(.*?\\)')");
  338. if(playurl.indexOf(".mp4")!=-1){
  339. JSON.stringify({name:"mp4",url:playurl});
  340. }else{
  341. JSON.stringify([{name:"播放不了请切换mp4",url:playurl+"?_type=.m3u8"},{name:"mp4",url:playurl+"?_type=.mp4"}]);
  342. }
  343. }
  344. }else{
  345. "web="+uu;
  346. }
  347. }else if(uu.indexOf("4kcz.com")!=-1){
  348. var script=e2Rex(resp.code,".get(div#bofang_box script).t()");
  349. eval(script);
  350. if(player_aaaa.url.indexOf(".m3u8")>10||player_aaaa.url.indexOf(".mp4")>10){
  351. JSON.stringify({url:player_aaaa.url,head:{"Referer":"https://jxplayer.4kcz.com/","user-agent":"Mozilla/5.0"}});
  352. }else{
  353. "web="+uu;
  354. }
  355. }else if(uu.indexOf("1090p.tk")!=-1){
  356. var script=e2Rex(resp.code,".get(div#bofang_box script).t()");
  357. eval(script);
  358. var id=e2Rex(player_aaaa.url,".dn64().dn(utf8)");
  359. if(id.indexOf(".m3u8")>10||id.indexOf(".mp4")>10){
  360. JSON.stringify({url:id,head:{"Referer":uu}});
  361. }else{
  362. "web="+uu;
  363. }
  364. }else if(uu.indexOf("ekvod.com")!=-1){
  365. var script=e2Rex(resp.code,".get(div.player-wrapper script).t()");
  366. eval(script);
  367. if(player_aaaa.from=='lekanzyw'){
  368. var id=e2Rex(player_aaaa.url,".dn64().dn(utf8)");
  369. var resp=JZ(JSON.stringify({url:'https://play.ekvod.com/play/?url='+id}));
  370. function v_decrypt(data,token_key,token_iv) {
  371. return CryptoJS.AES.decrypt(data, token_key, {iv: token_iv}).toString(CryptoJS.enc.Utf8);
  372. }
  373. function getVideoInfo(url){
  374. return v_decrypt(url,_token_key,_token_iv);
  375. }
  376. var bt_token=resp.code.match(/var le_token.+?"(.+?)"/)[1];
  377. var _token_key = CryptoJS.enc.Utf8.parse("OJBKYANGOJBKYANG");
  378. //定义IV偏移
  379. var _token_iv = CryptoJS.enc.Utf8.parse(bt_token);
  380. //定义IV偏移
  381. var key_token = CryptoJS.enc.Utf8.parse("G8ad2WUbKPaO55mx");
  382. var 加密链接=resp.code.match(/getVideoInfo.+?"(.+?)"/)[1];
  383. var realurl=getVideoInfo(加密链接);
  384. var resp2=JZ(JSON.stringify({url:realurl,redirect:false}));
  385. var finalurl=resp2.head.location;
  386. JSON.stringify({url:finalurl,head:{"User-Agent":"Lavf/58.12.100","Connection":"close"}});
  387. }else{
  388. "web="+uu;
  389. }
  390. }else if(uu.indexOf("tgys.tv")!=-1){
  391. var script=e2Rex(resp.code,".get(div.player_video.embed-responsive script).t()");
  392. eval(script);
  393. if(player_aaaa.url.indexOf(".m3u8")>20||player_aaaa.url.indexOf(".mp4")>20){
  394. if(player_aaaa.from=='duoduozy'){
  395. /*var uuu="https://player.duoduozy.com/ddplay/?url="+player_aaaa.url;
  396. var resp=getHttp(JSON.stringify({url:uuu,head:{"referer":"https://www.duoduozy.com/"}}));
  397. var uuuu=resp.match(/var urls.+?"(.+?)"/)[1];
  398. JSON.stringify({url:uuuu});*/
  399. "web=https://jhpc.manduhu.com/duoduo/?url="+playurl;
  400. }else{
  401. JSON.stringify({url:player_aaaa.url,head:{"referer":"https://tgys.tv/static/player/dplayer.html","user-agent":"Mozilla/5.0"}});
  402. }
  403. }else{
  404. "web="+uu;
  405. }
  406. }else if(uu.indexOf("baidu.com")==-1&&uu.indexOf("auete.com")!=-1){
  407. var script=e2Rex(resp.code,".get(div#video script).t().or().get(div#player script).t()");
  408. function base64decode(str){
  409. return e2Rex(str,".dn64()")
  410. }
  411. eval(script);
  412. if(pn=="i8i"){
  413. JSON.stringify({url:now,head:{"referer":"https://auete.com/js/player/i8i.html","user-agent":"Mozilla/5.0"}});
  414. }else if(pn=="m3u8hd"){
  415. if(now.indexOf("9yun")!=-1){
  416. var b="https://auete.com/api/9yun.php?url="+now.split("9yun")[0];
  417. var a=JZ(JSON.stringify({url:b,redirect:false,head:{"User-Agent":"Mozilla/5.0"}}));
  418. while(a.head.location||a.head.Location){
  419. var finalurl=a.head.location||a.head.Location;
  420. if(finalurl.indexOf(".mp4")>40){
  421. var a={"head":{"cookie":"ccccc"}};
  422. }else{
  423. var a=JZ(JSON.stringify({url:finalurl,redirect:false,head:{"User-Agent":"Mozilla/5.0 Android"}}));
  424. }
  425. }
  426. JSON.stringify({url:finalurl});
  427. }else{
  428. "web="+uu;
  429. }
  430. }else{
  431. if(now.indexOf("http")!=-1){
  432. JSON.stringify({url:now,head:{"referer":"https://auete.com/js/player/i8i.html","user-agent":"Mozilla/5.0"}});
  433. }else{
  434. "web="+uu;
  435. }
  436. }
  437. }else if(uu.indexOf("nfmovies.com")!=-1){
  438. var script=e2Rex(resp.code,".get(div.embed-responsive.clearfix script).t()");
  439. eval(script);JSON.stringify({url:now,head:{"User-Agent":UA,"Referer":"https://www.nfmovies.com/js/player/m3u8.html"}});
  440. }else if(uu.indexOf("baidu.com")!=-1){
  441. var playurl=uu.split("wd=")[1];
  442. if(playurl.indexOf("duoduozy.com")!=-1||playurl.indexOf("m3u8.cache.suoyo.cc")!=-1){
  443. /*var uuu="https://bo.movie06.com/ddplay/play.php?url="+playurl;
  444. var resp=getHttp(JSON.stringify({url:uuu,head:{"referer":"https://www.duoduozy.com/"}}));
  445. var uuuu=resp.match(/var urls.+?"(.+?)"/)[1];
  446. JSON.stringify({url:uuuu});*/
  447. "web=https://jhpc.manduhu.com/duoduo/?url="+playurl+'@{"Referer":"https://555dy3.com"}';
  448. }else if(playurl.indexOf("1080p.one/mogai_api.php/v1.api/Index?list=")!=-1){
  449. uu="https://zy.youhuima.vip/?url="+playurl.split("url=")[1];
  450. "web="+uu;
  451. }else if(playurl.indexOf("api.iopenyun.com:88")!=-1){
  452. if(playurl.indexOf("html")!=-1){
  453. var uu="https://api.m3u8.tv:5678/home/api?type=ys&uid=233711&key=dgilouvFKNRSWX2467&url="+playurl.split("=")[1];
  454. var resp=JZ(JSON.stringify({url:uu}));
  455. JSON.stringify({url:JSON.parse(resp.code).url});
  456. }else{
  457. "web="+playurl+'@{"Referer":"https://user.iopenyun.com:520/user/video","User-Agent":"Mozilla/5.0 Windows10"}';
  458. }
  459. }else if(playurl.indexOf("cat.wkfile.com")!=-1){
  460. JSON.stringify({url:playurl,head:{"User-Agent":"Lavf/58.12.100","Referer":"wkfile.com"}});
  461. }else if(playurl.indexOf("=")==-1&&playurl.indexOf(".m3u8")>15||playurl.indexOf(".mp4")>15||playurl.indexOf("/obj/tos")!=-1){
  462. if(playurl.indexOf("hsl.ysgc.xyz")!=-1){
  463. var cccc=JZ(JSON.stringify({url:"https://play.dushe520.com/m3u8.php?url="+playurl}));
  464. JSON.stringify({url:JSON.parse(cccc.code).url,head:{"Referer":"https://ysgc.cc"}});
  465. }else{
  466. JSON.stringify({url:playurl.match(/.*(http.*)/)[1]});
  467. }
  468. }else if(playurl.indexOf("=")!=-1){
  469. var resp=JZ(JSON.stringify({url:playurl,redirect:false,head:{"User-Agent":UA}}));
  470. if(resp.head.location||resp.head.Location){
  471. var a=resp;
  472. while(a.head.location||a.head.Location){
  473. var finalurl=a.head.location||a.head.Location;
  474. if(finalurl.indexOf(".mp4")>30){
  475. var a={"head":{"cookie":"ccccc"}};
  476. }else{
  477. var a=JZ(JSON.stringify({url:finalurl,redirect:false,head:{"User-Agent":"Mozilla/5.0 Android"}}));
  478. }
  479. }
  480. var realurl=finalurl;
  481. if(realurl.indexOf("=http")!=-1||realurl.indexOf("url=")!=-1){
  482. if(a.code.indexOf("<html")!=-1){
  483. "web="+realurl;
  484. }else{
  485. var ppurl=JSON.parse(a.code).url;
  486. if(realurl.indexOf("mgtv.com")!=-1){
  487. JSON.stringify({url:ppurl,head:{"User-Agent":"Mozilla/5.0","Referer":""}});
  488. }else if(realurl.indexOf("bilibili.com")!=-1){
  489. JSON.stringify({url:ppurl});
  490. }else{
  491. JSON.stringify({url:ppurl});
  492. }
  493. }
  494. }else{
  495. if(playurl.indexOf("www.mgtv.com")!=-1){
  496. JSON.stringify({url:realurl,head:{"User-Agent":"Mozilla/5.0","Referer":""}});
  497. }else{
  498. JSON.stringify({url:realurl});
  499. }
  500. }
  501. }else{
  502. if(resp.code.indexOf("<html")!=-1){
  503. if(resp.code.search(/player=new/)!=-1||resp.code.search(/<div id="video"/)!=-1||resp.code.search(/<div id="[^"]*?player"/)!=-1||resp.code.search(/\/\/视频链接/)!=-1||resp.code.search(/<iframe[\s\S]*?src="[^"]+?"/)!=-1||resp.code.search(/<video[\s\S]*?src="[^"]+?"/)!=-1){
  504. "web="+playurl;
  505. }else{
  506. if(playurl.split("url=")[1].indexOf("http")!=-1){
  507. "web=http://1.117.152.239:39000/?url="+playurl.split("url=")[1];
  508. }else if(playurl.split("url=")[1].indexOf("renrenmi")!=-1){
  509. var 接口="http://www.1080kan.cc/jiexi/rrmi.php?url=";
  510. "web="+接口+playurl.split("url=")[1]+'@{"Referer":"http://www.1080kan.cc/"}';
  511. }else{
  512. var id=playurl.split("url=")[1];
  513. "web=https://jx.banyung.xyz:7799/player/?url="+id;
  514. }
  515. }
  516. }else{
  517. if(e2Rex(resp.code,".json(url)").length>1){
  518. var realurl=JSON.parse(resp.code).url;
  519. if(playurl.indexOf("mgtv.com")!=-1){
  520. JSON.stringify({url:realurl,head:{"User-Agent":"Mozilla/5.0","Referer":""}});
  521. }else if(playurl.indexOf("bilibili.com")!=-1){
  522. JSON.stringify({url:realurl});
  523. }else{
  524. JSON.stringify({url:realurl});
  525. }
  526. }else if(playurl.split("url=")[1].indexOf("http")!=-1){
  527. "web=http://1.117.152.239:39000/?url="+playurl.split("url=")[1];
  528. }else if(playurl.split("url=")[1].indexOf("renrenmi")!=-1){
  529. var 接口="http://www.1080kan.cc/jiexi/rrmi.php?url=";
  530. "web="+接口+playurl.split("url=")[1]+'@{"Referer":"http://www.1080kan.cc/"}';
  531. }else{
  532. var id=playurl.split("url=")[1];
  533. "web=https://jx.banyung.xyz:7799/player/?url="+id;
  534. }
  535. }
  536. }
  537. }else{
  538. JSON.stringify({url:playurl});
  539. }
  540. }else{
  541. "web="+uu;
  542. }
  543. ######选集列表
  544. if(getVar("url").search(/\.php\/.+?\.vod/)!=-1){
  545. var URL=getVar("url").split("/detail")[0];
  546. }else if(getVar("url").search(/api\.php\/.*?\/vod/)!=-1||getVar("url").indexOf("api.php/app/")!=-1||getVar("url").indexOf("xgapp.php/v")!=-1){
  547. var URL=getVar("url").match(/http.*\//)[0];
  548. }else{
  549. var URL=getVar("url").match(/https?:\/\/[^\/]*/)[0];
  550. }
  551. function 选集列表(){
  552. var res={};var items=[];var detail=[];
  553. for(var i=0;i<分类.length;i++){
  554. var 分类CODE=分类[i];
  555. var 列表=e2Arr(分类CODE,列表规则);
  556. if(线路){
  557. var 标题=e2Rex(线路[i],标题规则);
  558. }else{
  559. var 标题=e2Rex(分类CODE,标题规则);
  560. }
  561. if(URL.search(/\.php\/.+?\.vod/)!=-1){
  562. var PARSE=e2Rex(分类CODE,".json(player_info).json(parse)").split(",");
  563. var PARSE2=e2Rex(分类CODE,".json(player_info).json(parse2)").split(",");
  564. var 总接口=PARSE.concat(PARSE2).filter(item => item.search(/\/.+\?.+=/)!=-1);
  565. var 过滤规则=[
  566. /jx\.+huimaojia\.+com\/player/,/py\.+789pan\.+cn\/player\/tm\.php\?url=/,/ztys\.+waruanzy\.+com\/player\/\?url=/,/yingshi\.+waruanzy\.+com\/789pan\/\?url=/,/vip\.+parwix\.+com:4433\/player\/\?url=/,/api\.+cxitco\.+cn/,/\/vip\.+renrenmi.cc/,/yanbing\.+parwix\.+com:4433\/player/,/json\.+cantin\.+cc\/apijson\.php/,/ffdm\.+miaoletv\.+com\/\?url=/,/vip\.+sylwl\.+cn\/api\/\?key=/,/jx\.+dikotv\.+com\/\?url=/,/zly\.+xjqxz\.+top\/player\/\?url=/,/5znn\.+xyz\/m3u8\.+php/,/uid=1735&my=/,/api\.+xkvideo\.+design\/m3u8\.+php\?url=/,/play\.+szbodankyy\.+com\/xxoocnmb/,/vip\.+fj6080\.+xyz\/player\/\?url=/,/a\.+dxzj88\.+com\/jiexi/,/host\.+q-q\.+wang\/api/,/qpsvipr\.+naifeimi\.+com/,/zgjxdtg\.+cn\/player\//
  567. ];
  568. var 可用接口=总接口.filter(function (text) {return !过滤规则.some(function (regex) {return regex.test(text);});});
  569. if(JSON.stringify(可用接口).indexOf("=")!=-1){
  570. if(可用接口[0].indexOf("http")!=-1){
  571. var 接口=可用接口[0].match(/.*(url|v|vid|php\?id)=/)[0].replace("..",".").replace("vip.aotian.love","vip.gaotian.love");
  572. }else if(可用接口[0].indexOf("//")!=-1){
  573. var 接口="http:"+可用接口[0].match(/\/\/.*(url|v|vid|php\?id)=/)[0].replace("..",".");
  574. }else{
  575. var 接口=URL.match(/https?:\/\/[^\/]*/)[0]+可用接口[0].match(/\/.*(url|v|vid|php\?id)=/)[0].replace("..",".");
  576. }
  577. }else{
  578. var 接口="http://egwang186.gitee.io/?url=";
  579. }
  580. }else if(URL.indexOf("api.php/app/")!=-1||URL.indexOf("xgapp.php/v")!=-1){
  581. var 接口=e2Rex(分类CODE,".json(parse_api)");
  582. if(接口.indexOf("jpg.hou.lu/jm/za/index.php")!=-1){
  583. var 接口="http://vip.mengx.vip/home/api?type=ys&uid=3249696&key=aefqrtuwxyEFHKNOQY&url=";
  584. }
  585. }else{
  586. var 接口=URL;
  587. }
  588. if(接口.indexOf("svip.jhyun.jx.cn")!=-1||接口.indexOf("svip.jhdyw.vip")!=-1){
  589. if(标题.indexOf("人人迷")!=-1){
  590. 接口="http://www.1080kan.cc/jiexi/rrmi.php?url=";
  591. }else if(标题.indexOf("人人")!=-1){
  592. 接口="http://www.1080kan.cc/jiexi/rr.php?url=";
  593. }else if(标题.indexOf("番茄")!=-1){
  594. 接口="http://www.1080kan.cc/jiexi/fq.php?url=";
  595. }else{
  596. 接口="https://api.m3u8.tv:5678/home/api?type=ys&uid=233711&key=dgilouvFKNRSWX2467&url=";
  597. }
  598. }else if(接口.indexOf("jhsj.manduhu.com")!=-1){
  599. 接口="https://api.m3u8.tv:5678/home/api?type=ys&uid=233711&key=dgilouvFKNRSWX2467&url=";
  600. }
  601. var LIST=[];
  602. for(var j=0;j<列表.length;j++){
  603. var 选集=e2Rex(列表[j],选集规则);
  604. var 选集地址=e2Rex(列表[j],选集地址规则);
  605. if(URL.indexOf("xgapp.php/v")!=-1||URL.indexOf("api.php/app/")!=-1||URL.search(/\.php\/.+?\.vod/)!=-1){
  606. if(选集地址.indexOf(".m3u8")>15||选集地址.indexOf(".mp4")>15||选集地址.indexOf("/obj/tos")!=-1){
  607. if(选集地址.indexOf(".ruifenglb.com")!=-1){
  608. var 选集地址="https://www.baidu.com/s?wd=http://ts.yjhan.com:8090/api/?key=DSQFgXdmj9xkDyiXdr&url="+选集地址;
  609. }else{
  610. var 选集地址="https://www.baidu.com/s?wd="+选集地址;
  611. }
  612. }else{
  613. var 选集地址="https://www.baidu.com/s?wd="+接口+选集地址;
  614. }
  615. }else if(URL.search(/api\.php\/.*?\/vod/)!=-1){
  616. if(URL.indexOf("ppzhu.vip")!=-1||URL.indexOf("api.8d8q.com")!=-1){
  617. var 选集地址="https://www.baidu.com/s?wd="+选集地址+"&app=10003&account=272775028&password=qq272775028";
  618. }else{
  619. if(选集地址.indexOf("=")!=-1||选集地址.indexOf(".m3u8")>15||选集地址.indexOf(".mp4")>15||选集地址.indexOf("/obj/tos")!=-1){
  620. var 选集地址="https://www.baidu.com/s?wd="+选集地址;
  621. }else if(选集地址.indexOf("html")||选集地址.indexOf("www.bilibili.com")){
  622. var 选集地址="https://www.baidu.com/s?wd=https://api.m3u8.tv:5678/home/api?type=ys&uid=233711&key=bgjnopvDHPUY035689&url="+选集地址;
  623. }else{
  624. var 选集地址=选集地址;
  625. }
  626. }
  627. }else if(选集地址.indexOf("http")!=-1){
  628. var 选集地址=选集地址;
  629. }else{
  630. if(URL.indexOf("gimytv.com")!=-1){
  631. var 选集地址=接口+选集地址+'@{"user-agent":"Mozilla/5.0 Windows10","Referer":"'+接口+'"}';
  632. }else{
  633. var 选集地址=接口+选集地址;
  634. }
  635. }
  636. LIST.push({title:选集,url:选集地址});
  637. }
  638. var play_={};
  639. play_.title=标题;
  640. play_.list=LIST;
  641. items.push(play_);
  642. }
  643. detail.push({desc:简介});
  644. res.data=items;
  645. res.desc=detail;
  646. return JSON.stringify(res);
  647. }
  648. if(URL.indexOf("duboku.fun")!=-1||URL.indexOf("ikan6.vip")!=-1||URL.indexOf("447k.com")!=-1||URL.indexOf("jpysvip.net")!=-1||URL.indexOf("cokemv.me")!=-1||URL.indexOf("9ehao.com")!=-1||URL.indexOf("dijiaxia.com")!=-1||URL.indexOf("unss.net")!=-1||URL.indexOf("nfmovies.com")!=-1||URL.indexOf("hanmiys.com")!=-1||URL.indexOf("cvcv.tv")!=-1||URL.indexOf("30dian.cn")!=-1||URL.indexOf("meijuchong.com")!=-1||URL.indexOf("555dy1.com")!=-1||URL.indexOf("ak1080.me")!=-1||URL.indexOf("jubaibai.cc")!=-1){
  649. var 分类=e2Arr(getVar("源码"),".get(ul[class~=.*?ui-content__.*?list])");
  650. var 线路=e2Arr(getVar("源码"),".get(ul.nav.nav-tabs li)");
  651. var 简介=e2Rex(getVar("源码"),".get(div[class~=.*?ui-content__detail]).t().c().get(div.col-pd.text-collapse.content).t()");
  652. var 列表规则=".get(li)";
  653. var 标题规则=".get(a).t()";
  654. var 选集规则=".get(a).t()";
  655. var 选集地址规则=".get(a).a(href)";选集列表();
  656. }else if(URL.indexOf("bukaivip.com")!=-1||URL.indexOf("zhenbuka3.com")!=-1){
  657. var 分类=getVar("源码").match(/<ul class="stui-content__playlist[\s\S]*?\/ul>/g);
  658. var 线路=getVar("源码").match(/<span class="more text-muted[\s\S]*?\/h3>/g);
  659. var 简介=e2Rex(getVar("源码"),".get(div.stui-content__detail)");
  660. var 列表规则=".get(li)";
  661. var 标题规则=".get(h3).t()";
  662. var 选集规则=".get(a).t()";
  663. var 选集地址规则=".get(a).a(href)";选集列表();
  664. }else if(URL.indexOf("saohuotv.com")!=-1){
  665. var 分类=e2Rex(getVar("源码"),".get(ul#play_link)").match(/<li[\s\S]*?\/li>/g);
  666. var 线路=e2Rex(getVar("源码"),".get(ul.from_list)").match(/<li[\s\S]*?\/li>/g);
  667. var 简介=e2Rex(getVar("源码"),".get(p.p_txt)");
  668. var 列表规则=".get(a)";
  669. var 标题规则=".get(li).t()";
  670. var 选集规则=".get(a).t()";
  671. var 选集地址规则=".get(a).a(href)";选集列表();
  672. }else if(URL.indexOf("flvweb.com")!=-1||URL.indexOf("gimytv.com")!=-1){
  673. var 分类=getVar("源码").match(/<ul class="myui-content__list[\s\S]*?\/ul>/g);
  674. var 线路=getVar("源码").match(/<a class="more sort-[\s\S]*?\/h3>/g);
  675. var 简介=e2Rex(getVar("源码"),".get(div[class~=.*?ui-content__detail])");
  676. var 列表规则=".get(li)";
  677. var 标题规则=".get(h3).t()";
  678. var 选集规则=".get(a).t()";
  679. var 选集地址规则=".get(a).a(href)";选集列表();
  680. }else if(URL.indexOf("tvyb02.com")!=-1){
  681. var 分类=getVar("源码").match(/<ul class="myui-content__list[\s\S]*?\/ul>/g);
  682. var 线路=getVar("源码").match(/<span class="more text-[\s\S]*?\/span>/g);
  683. var 简介=e2Rex(getVar("源码"),".get(div.myui-content__detail)");
  684. var 列表规则=".get(li)";
  685. var 标题规则=".get(span).t()";
  686. var 选集规则=".get(a).t()";
  687. var 选集地址规则=".get(a).a(href)";选集列表();
  688. }else if(URL.indexOf("zxzjtv.com")!=-1){
  689. var 分类=e2Arr(getVar("源码"),".get(ul.stui-content__playlist)");
  690. var 线路=e2Arr(getVar("源码"),".get(div.stui-vodlist__head)");
  691. var 简介=e2Rex(getVar("源码"),".get(div.stui-content__detail)");
  692. var 列表规则=".get(li)";
  693. var 标题规则=".get(h3).t()";
  694. var 选集规则=".get(a).t()";
  695. var 选集地址规则=".get(a).a(href)";选集列表();
  696. }else if(URL.indexOf("kkju.cc")!=-1){
  697. var 分类=e2Arr(getVar("源码"),".get(ul.stui-content__playlist)");
  698. var 线路=e2Arr(getVar("源码"),".get(ul.dropdown-menu li)");
  699. var 简介=e2Rex(getVar("源码"),".get(div.stui-content__detail)");
  700. var 列表规则=".get(li)";
  701. var 标题规则=".get(a).t()";
  702. var 选集规则=".get(a).t()";
  703. var 选集地址规则=".get(a).a(href)";选集列表();
  704. }else if(URL.indexOf("auete.com")!=-1){
  705. var 分类=e2Arr(getVar("源码"),".get(div#player_list)");
  706. var 简介=e2Rex(getVar("源码"),".get(div.message).t()");
  707. var 列表规则=".get(ul li)";
  708. var 标题规则=".get(h2).t()";
  709. var 选集规则=".get(a).t()";
  710. var 选集地址规则=".get(a).a(href)";选集列表();
  711. }else if(URL.indexOf("waijumi.com")!=-1){
  712. var 分类=e2Arr(getVar("源码"),".get(ul.hl-plays-list)");
  713. var 线路=e2Arr(getVar("源码"),".get(ul.hl-from-list li)");
  714. var 简介=e2Rex(getVar("源码"),".get(div.hl-dc-content)");
  715. var 列表规则=".get(li)";
  716. var 标题规则=".t()";
  717. var 选集规则=".get(a).t()";
  718. var 选集地址规则=".get(a).a(href)";选集列表();
  719. }else if(URL.indexOf("jhyun.jhdyw.vip")!=-1){
  720. var 分类=getVar("源码").match(/<ul class="stui-content__playlist[\s\S]*?\/ul>/g);
  721. var 线路=getVar("源码").match(/<span class="more text-[\s\S]*?\/h3>/g);
  722. var 简介=e2Rex(getVar("源码"),".get(div.stui-content__detail)");
  723. var 列表规则=".get(li)";
  724. var 标题规则=".get(h3).t()";
  725. var 选集规则=".get(a.copy_text).t().tz($)";
  726. var 选集地址规则=".c(https://api.jhdyw.vip/?url=).get(a.copy_text).t().ty($)";选集列表();
  727. }else if(URL.indexOf("ys.80tvs.cn")!=-1||URL.indexOf("cjt521.com")!=-1||URL.indexOf("348z.com")!=-1||URL.indexOf("moyuyingshi.com")!=-1){
  728. var 分类=e2Arr(getVar("源码"),".get(div.play_list_box)");
  729. var 简介=e2Rex(getVar("源码"),".get(div.detail-a.box)");
  730. var 线路=e2Arr(getVar("源码"),".get(div#tag a)");
  731. var 列表规则=".get(li)";
  732. var 标题规则=".t()";
  733. var 选集规则=".get(a).t()";
  734. var 选集地址规则=".get(a).a(href)";选集列表();
  735. }else if(URL.indexOf("jxry.cc")!=-1){
  736. var 分类=e2Arr(getVar("源码"),".get(ul.leo-play-num)");
  737. var 简介=e2Rex(getVar("源码"),".get(div.leo-detail-media).c().get(div#leo-detail-info)");
  738. var 线路=e2Arr(getVar("源码"),".get(ul.leo-source-cho li)");
  739. var 列表规则=".get(li)";
  740. var 标题规则=".get(li).t().th(&.*?;##)";
  741. var 选集规则=".get(a).t()";
  742. var 选集地址规则=".get(a).a(href)";选集列表();
  743. }else if(URL.indexOf("1090p.tk")!=-1){
  744. var 分类=e2Arr(getVar("源码"),".get(ul.content_playlist)");
  745. var 简介=e2Rex(getVar("源码"),".get(div.s-top-info).t()");
  746. var 线路=e2Arr(getVar("源码"),".get(div#tag a)");
  747. var 列表规则=".get(li)";
  748. var 标题规则=".t()";
  749. var 选集规则=".get(a).t()";
  750. var 选集地址规则=".get(a).a(href)";选集列表();
  751. }else if(URL.indexOf("cms.7a11l.cn")!=-1||URL.indexOf("vdxj.net")!=-1||URL.indexOf("jiujiukanju.com")!=-1||URL.indexOf("lkvod.com")!=-1||URL.indexOf("hszbj.net")!=-1||URL.indexOf("dcds.ml")!=-1||URL.indexOf("longtengzy.cn")!=-1||URL.indexOf("msdv.cn")!=-1||URL.indexOf("kutv.cc")!=-1||URL.indexOf("ekvod.com")!=-1||URL.indexOf("bidiys.cc")!=-1){
  752. var 分类=e2Arr(getVar("源码"),".get(div.sort-item)");
  753. if(分类[0].length<1){
  754. var 分类=e2Arr(getVar("源码"),".get(div.module-list.module-player-list)");
  755. }
  756. var 简介=e2Rex(getVar("源码"),".get(div.video-info)");
  757. var 线路=e2Arr(getVar("源码"),".get(.module-tab-item.tab-item)");
  758. var 列表规则=".get(a)";
  759. var 标题规则=".t()";
  760. var 选集规则=".t()";
  761. var 选集地址规则=".a(href)";选集列表();
  762. }else if(URL.indexOf("1080mi.com")!=-1){
  763. var 分类=e2Arr(getVar("源码"),".get(div.module-play-list)");
  764. if(分类[0].length<1){
  765. var 分类=e2Arr(getVar("源码"),".get(div.module-list.module-player-list)");
  766. }
  767. var 简介=e2Rex(getVar("源码"),".get(div.module-info-main)");
  768. var 线路=e2Arr(getVar("源码"),".get(.module-tab-item.tab-item)");
  769. var 列表规则=".get(a)";
  770. var 标题规则=".t()";
  771. var 选集规则=".t()";
  772. var 选集地址规则=".a(href)";选集列表();
  773. }else if(URL.indexOf("czspp.com")!=-1){
  774. if(getVar("源码").search(/class="paly_list_btn"/)!=-1){
  775. var 分类=e2Arr(getVar("源码"),".get(div.mi_paly_box)");
  776. var 简介=e2Rex(getVar("源码"),".get(ul.moviedteail_list).c().get(div.yp_context)");
  777. var 列表规则=".get(div.paly_list_btn a)";
  778. var 标题规则=".get(span).t()";
  779. var 选集规则=".get(a).t()";
  780. var 选集地址规则=".get(a).a(href)";选集列表();
  781. }else{
  782. var 分类=e2Arr(getVar("源码"),".get(div.juji_box)");
  783. var 简介=e2Rex(getVar("源码"),".get(div.paycon.mi_ne_kd)");
  784. var 列表规则=".get(div.juji_list a)";
  785. var 标题规则=".get(h3).t()";
  786. var 选集规则=".get(a).t()";
  787. var 选集地址规则=".get(a).a(href)";选集列表();
  788. }
  789. }else if(URL.indexOf("1090ys2.com")!=-1){
  790. var 分类=e2Arr(getVar("源码"),".get(div.stui-pannel-box.b.playlist)");
  791. var 简介=e2Rex(getVar("源码"),".get(div.stui-content__detail)");
  792. var 列表规则=".get(ul li)";
  793. var 标题规则=".get(h3).t()";
  794. var 选集规则=".get(a).t()";
  795. var 选集地址规则=".get(a).a(href)";选集列表();
  796. }else if(URL.indexOf("zjuba.com")!=-1){
  797. var 分类=e2Arr(getVar("源码"),".get(div.fed-play-item)");
  798. var 简介=e2Rex(getVar("源码"),".get(dd.fed-deta-content)");
  799. var 线路=e2Arr(getVar("源码"),".get(li.fed-drop-btns)");
  800. var 列表规则=".get(a.fed-btns-info)";
  801. var 标题规则=".get(a).t()";
  802. var 选集规则=".t()";
  803. var 选集地址规则=".a(href)";选集列表();
  804. }else if(URL.indexOf("susou.tv")!=-1||URL.indexOf("4kcz.com")!=-1){
  805. var 分类=e2Arr(getVar("源码"),".get(ul.content_playlist)");
  806. var 简介=e2Rex(getVar("源码"),".get(div.dt-info-box).t()");
  807. var 线路=e2Arr(getVar("源码"),".get(div#tag a)");
  808. var 列表规则=".get(li)";
  809. var 标题规则=".get(a).t()";
  810. var 选集规则=".get(a).t()";
  811. var 选集地址规则=".get(a).a(href)";选集列表();
  812. }else if(URL.indexOf("dikotv.com")!=-1||URL.indexOf("tgys.tv")!=-1){
  813. var 分类=e2Arr(getVar("源码"),".get(ul.content_playlist)");
  814. var 简介=e2Rex(getVar("源码"),".get(div.content_detail).t()");
  815. var 线路=e2Arr(getVar("源码"),".get(li.tab-play)");
  816. var 列表规则=".get(li)";
  817. var 标题规则=".a(title)";
  818. var 选集规则=".get(a).t()";
  819. var 选集地址规则=".get(a).a(href)";选集列表();
  820. }else if(URL.indexOf("api.php/app/")!=-1){
  821. var 分类=e2Arr(getVar("源码"),".json(data).json(vod_url_with_player)");
  822. var 简介=e2Rex(getVar("源码"),".json(data).json(vod_content)");
  823. var 列表规则=".json(url).ct(#).z(.*?\\$.*?#)";
  824. var 标题规则=".json(name)";
  825. var 选集规则=".z2(\\\(.+?\\\)\\$)";
  826. var 选集地址规则=".z2(\\$\\\(.+?\\\)[#|\"])";选集列表();
  827. }else if(URL.indexOf("xgapp.php/v")!=-1){
  828. var 分类=e2Arr(getVar("源码"),".json(data).json(vod_info).json(vod_url_with_player)");
  829. var 简介=e2Rex(getVar("源码"),".json(data).json(vod_info).json(vod_content)");
  830. var 列表规则=".json(url).ct(#).z(.*?\\$.*?#)";
  831. var 标题规则=".json(name)";
  832. var 选集规则=".z2(\\\(.+?\\\)\\$)";
  833. var 选集地址规则=".z2(\\$\\\(.+?\\\)[#|\"])";选集列表();
  834. }else if(URL.search(/\.php\/.+?\.vod/)!=-1){
  835. var 分类=e2Arr(getVar("源码"),".json(data).json(vod_play_list)");
  836. var 简介=e2Rex(getVar("源码"),".json(data).json(vod_content)");
  837. var 列表规则=".json(url).ct(#).z(.*?\\$.*?#)";
  838. var 标题规则=".json(player_info).json(show)";
  839. var 选集规则=".z2(\\\(.+?\\\)\\$)";
  840. var 选集地址规则=".z2(\\$\\\(.+?\\\)[#|\"])";选集列表();
  841. }else if(URL.search(/api\.php\/.*?\/vod/)!=-1){
  842. var 分类=e2Arr(getVar("源码"),".json(videolist).z(\".*?\\])");
  843. var 简介=e2Arr(getVar("源码"),".json(intro)");
  844. var 列表规则=".z(\\{.*?\\})";
  845. var 标题规则=".z2(\"\\(.*?\\)\")";
  846. var 选集规则=".json(title)";
  847. var 选集地址规则=".json(url)";选集列表();
  848. }
  849. ######首页推荐
  850. if(getVar("url").search(/\.php\/.+?\.vod/)!=-1){
  851. var URL=getVar("url").split("/vodPhbAll")[0];
  852. }else if(getVar("url").search(/api\.php\/.*?\/vod/)!=-1||getVar("url").indexOf("api.php/app/")!=-1||getVar("url").indexOf("xgapp.php/v")!=-1){
  853. var URL=getVar("url").match(/http.*\//)[0];
  854. }else{
  855. var URL=getVar("url").match(/https?:\/\/[^\/]*/)[0];
  856. }
  857. function 普通列表(){
  858. var res={};var items=[];var LIST=[];
  859. for(var j=0;j<列表.length;j++){
  860. var CODE=列表[j];
  861. var 标题=e2Rex(CODE,标题规则);
  862. var 地址=e2Rex(CODE,地址规则).indexOf("http")!=-1?e2Rex(CODE,地址规则):URL+e2Rex(CODE,地址规则);
  863. if(地址.indexOf("vodplay")!=-1){
  864. var 地址=地址.replace(/vodplay/,"voddetail").replace(/-1-1.html/,'.html');
  865. }else if(地址.search(/\.php\/.+?\.vod/)!=-1){
  866. var 日期=e2Rex(getVar("TIME_"),".time(MMdd)");
  867. var 地址=地址+"&key="+日期;
  868. }
  869. var 预图片=e2Rex(CODE,图片规则);
  870. if(预图片.indexOf("/mac:")!=-1){
  871. var 图片="http:"+预图片.split("mac:")[1];
  872. }else if(预图片.indexOf("=http")!=-1){
  873. var 图片=预图片.match(/.*(http.*)/)[1];
  874. }else if(预图片.indexOf("http")!=-1){
  875. var 图片=预图片;
  876. }else if(预图片==""){
  877. var 图片="https://egwang186.coding.net/p/egwang186/d/iptv/git/raw/master/js2.0/kongbai.png";
  878. }else if(预图片.indexOf("//")!=-1){
  879. var 图片="http:"+预图片;
  880. }else{
  881. var 图片=URL+预图片;
  882. if(URL.indexOf("1090ys2.com")!=-1){
  883. var 图片=图片+'@{"user-agent":"Mozilla/5.0","referer":"http://1090ys2.com/"}';
  884. }
  885. }
  886. var 简介=e2Rex(CODE,简介规则);
  887. LIST.push({title:标题,url:地址,img:图片,detail:简介});
  888. }
  889. var play_={};
  890. play_.list=LIST;
  891. items.push(play_);
  892. res.data=items;
  893. return JSON.stringify(res);
  894. }
  895. if(URL.indexOf("duboku.fun")!=-1||URL.indexOf("ikan6.vip")!=-1||URL.indexOf("cokemv.me")!=-1||URL.indexOf("447k.com")!=-1||URL.indexOf("tvyb02.com")!=-1||URL.indexOf("jpysvip.net")!=-1||URL.indexOf("zhenbuka3.com")!=-1||URL.indexOf("bukaivip.com")!=-1||URL.indexOf("flvweb.com")!=-1||URL.indexOf("9ehao.com")!=-1||URL.indexOf("dijiaxia.com")!=-1||URL.indexOf("unss.net")!=-1||URL.indexOf("nfmovies.com")!=-1||URL.indexOf("hanmiys.com")!=-1||URL.indexOf("cvcv.tv")!=-1||URL.indexOf("gimytv.com")!=-1||URL.indexOf("30dian.cn")!=-1||URL.indexOf("meijuchong.com")!=-1||URL.indexOf("555dy1.com")!=-1||URL.indexOf("ak1080.me")!=-1){
  896. var 列表=e2Arr(getVar("源码"),".get(li[class~=col-md-\\d col-sm-4 col-xs-3])");
  897. var 标题规则=".get(.title a).t()";var 地址规则=".get(.title a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t().c().get(p).t()";
  898. 普通列表();
  899. }else if(URL.indexOf("cms.7a11l.cn")!=-1||URL.indexOf("vdxj.net")!=-1||URL.indexOf("jiujiukanju.com")!=-1||URL.indexOf("lkvod.com")!=-1||URL.indexOf("hszbj.net")!=-1||URL.indexOf("dcds.ml")!=-1||URL.indexOf("longtengzy.cn")!=-1||URL.indexOf("msdv.cn")!=-1||URL.indexOf("kutv.cc")!=-1||URL.indexOf("ekvod.com")!=-1||URL.indexOf("bidiys.cc")!=-1){
  900. var 列表=e2Arr(getVar("源码"),".get(div.module-item)");
  901. var 标题规则=".get(div.video-name a).t()";var 地址规则=".get(div.video-name a).a(href)";var 图片规则=".get(img).a(data-src)";var 简介规则=".get(div.module-item-text).t().c().get(span).st().t()";
  902. 普通列表();
  903. }else if(URL.indexOf("1080mi.com")!=-1){
  904. var 列表=e2Arr(getVar("源码"),".get(div.module-items a.module-item)");
  905. var 标题规则=".get(a).a(title)";var 地址规则=".get(a).a(href)";var 图片规则=".get(img).a(data-original)";var 简介规则=".t()";
  906. 普通列表();
  907. }else if(URL.indexOf("waijumi.com")!=-1){
  908. var 列表=e2Arr(getVar("源码"),".get(li.hl-list-item)");
  909. var 标题规则=".get(a).a(title)";var 地址规则=".get(a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t().c()";普通列表();
  910. }else if(URL.indexOf("1090p.tk")!=-1){
  911. var 列表=e2Arr(getVar("源码"),".get(div.pack-ykpack)");
  912. var 标题规则=".get(a).a(title)";var 地址规则=".get(a).a(href)";var 图片规则=".get(div.eclazy).a(data-original)";var 简介规则=".get(span).st().t()";普通列表();
  913. }else if(URL.indexOf("jhyun.jhdyw.vip")!=-1){
  914. var 列表=e2Arr(getVar("源码"),".get(li[class=clearfix])");
  915. var 标题规则=".get(.title a).t()";var 地址规则=".get(.title a).a(href)";var 图片规则=".c(https://egwang186.coding.net/p/egwang186/d/iptv/git/raw/master/js2.0/jhyslogo.png).get(a).a(data-original)";var 简介规则=".get(span).st().t()";普通列表();
  916. }else if(URL.indexOf("saohuotv.com")!=-1){
  917. var 列表=getVar("源码").match(/<li>[\s]*?<div class="v_img"[\s\S]*?<\/li>/g);
  918. var 标题规则=".get(.v_title a).t()";var 地址规则=".get(.v_title a).a(href)";var 图片规则=".get(img).a(data-original)";var 简介规则=".get(div.v_note).t()";普通列表();
  919. }else if(URL.indexOf("ys.80tvs.cn")!=-1||URL.indexOf("cjt521.com")!=-1||URL.indexOf("susou.tv")!=-1||URL.indexOf("4kcz.com")!=-1||URL.indexOf("348z.com")!=-1||URL.indexOf("moyuyingshi.com")!=-1){
  920. var 列表=e2Arr(getVar("源码"),".get(li.list-width)");
  921. var 标题规则=".get(.title a).t()";var 地址规则=".get(.title a).a(href)";var 图片规则=".get(div.lazy).a(data-original)";var 简介规则=".get(span).st().t().c().get(div.bt).t()";普通列表();
  922. }else if(URL.indexOf("jxry.cc")!=-1){
  923. var 列表=e2Arr(getVar("源码"),".get(li.leo-video-item)");
  924. var 标题规则=".get(a.leo-show).a(title)";var 地址规则=".get(a.leo-show).a(href)";var 图片规则=".get(img).a(src)";var 简介规则=".get(div.leo-video-tips).t().c().get(div.leo-video-remark).t()";普通列表();
  925. }else if(URL.indexOf("zjuba.com")!=-1){
  926. var 列表=e2Arr(getVar("源码"),".get(li.fed-list-item)");
  927. var 标题规则=".get(a.fed-list-title).t()";var 地址规则=".get(a.fed-list-title).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t()";普通列表();
  928. }else if(URL.indexOf("dikotv.com")!=-1||URL.indexOf("tgys.tv")!=-1){
  929. var 列表=e2Arr(getVar("源码"),".get(li.vodlist_item)");
  930. var 标题规则=".get(.vodlist_title a).t()";var 地址规则=".get(.vodlist_title a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t()";普通列表();
  931. }else if(URL.indexOf("czspp.com")!=-1){
  932. var 列表=e2Arr(getVar("源码"),".get(div.bt_img li)");
  933. var 标题规则=".get(h3 a).t()";var 地址规则=".get(h3 a).a(href)";var 图片规则=".get(img).a(data-original)";var 简介规则=".get(span).st().t().c().get(p).t()";普通列表();
  934. }else if(URL.indexOf("jubaibai.cc")!=-1){
  935. var 列表=e2Arr(getVar("源码"),".get(ul.stui-vodlist li)");
  936. var 标题规则=".get(h4 a).t()";var 地址规则=".get(h4 a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t().c().get(p).t()";普通列表();
  937. }else if(URL.indexOf("zxzjtv.com")!=-1||URL.indexOf("kkju.cc")!=-1){
  938. var 列表=e2Arr(getVar("源码"),".get(ul.stui-vodlist li)");
  939. var 标题规则=".get(a).a(title)";var 地址规则=".get(a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t()";普通列表();
  940. }else if(URL.indexOf("auete.com")!=-1){
  941. var 列表=e2Arr(getVar("源码"),".get(ul.threadlist li)");
  942. var 标题规则=".get(.title a).t()";var 地址规则=".get(.title a).a(href)";var 图片规则=".get(img).a(src)";var 简介规则=".get(button).st().t().c().get(p).t()";普通列表();
  943. }else if(URL.indexOf("1090ys2.com")!=-1){
  944. var 列表=e2Arr(getVar("源码"),".get(li[class~=col-md-\\d col-sm-\\d col-xs-3])");
  945. var 标题规则=".get(.title a).a(title)";var 地址规则=".get(.title a).a(href)";var 图片规则=".get(a).a(data-original)";var 简介规则=".get(span).st().t().c().get(p).t()";普通列表();
  946. }else if(URL.search(/\.php\/.+?\.vod/)!=-1){
  947. var 列表=getVar("源码").replace(/<.*?>/g,"").replace(/[\s]*/g,"").match(/\{[^\{]*"vod_id".*?"type_1".*?\}/g);
  948. var 标题规则=".json(vod_name)";
  949. if(URL.indexOf("iopenyun.com")!=-1){
  950. var 地址规则=".c(/detailID?vod_id=).json(vod_id)";
  951. }else{
  952. var 地址规则=".c(/detail?vod_id=).json(vod_id)";
  953. }
  954. var 图片规则=".json(vod_pic)";var 简介规则=".json(vod_remarks).c().json(vod_actor).c().json(vod_blurb)";普通列表();
  955. }else if(URL.indexOf("api.php/app")!=-1||URL.indexOf("xgapp.php/v")!=-1){
  956. var 列表=getVar("源码").replace(/<.*?>/g,"").replace(/[\s]*/g,"").match(/\{"vod_id".*?\}/g);
  957. var 标题规则=".json(vod_name)";var 地址规则=".c(video_detail?id=).json(vod_id)";var 图片规则=".json(vod_pic)";var 简介规则=".json(vod_remarks).c().json(vod_time_add)";普通列表();
  958. }else if(URL.search(/api\.php\/.*?\/vod/)!=-1){
  959. var 列表=e2Arr(getVar("源码"),".json(data)");
  960. var 标题规则=".json(title)";var 地址规则=".json(nextlink)";var 图片规则=".json(pic)";var 简介规则=".json(state).c().json(type)";普通列表();
  961. }
  962. ######COOKIE
  963. var u=getVar("url");
  964. var TODAY=new Date();
  965. var 年=TODAY.getFullYear();
  966. var 月=TODAY.getMonth()+1<10?"0"+(TODAY.getMonth() + 1):TODAY.getMonth()+1;
  967. var 日=TODAY.getDate()<10?"0"+TODAY.getDate():TODAY.getDate();
  968. if(u.indexOf("nfmovies.com")!=-1){
  969. eval(getVar("NFCOOKIE"));
  970. }else{
  971. "";
  972. }
  973. ######UA
  974. var u=getVar("url");
  975. if(u.indexOf("nfmovies.com")!=-1||u.indexOf("jiujiukanju.com")!=-1){
  976. "Mozilla/5.0";
  977. }else if(u.indexOf("hou.lu")!=-1||u.indexOf("dxys2233.com")!=-1){
  978. "Dart/2.13(dart:io)";
  979. }else if(u.indexOf("18mv.club")!=-1){
  980. "okhttp/4.1.0";
  981. }else{
  982. "Mozilla/5.0 Android";
  983. }
  984. ######NFCOOKIE
  985. var TODAY=new Date();
  986. var 年=TODAY.getFullYear();
  987. var 月=TODAY.getMonth()+1<10?"0"+(TODAY.getMonth() + 1):TODAY.getMonth()+1;
  988. var 日=TODAY.getDate()<10?"0"+TODAY.getDate():TODAY.getDate();
  989. var resp=JZ(JSON.stringify({url:"https://nfmovies.com/search.php",head:{"User-Agent":"Mozilla/5.0"}}));
  990. var setcookie=resp.head['set-cookie'];
  991. "last_browse_app="+年+"-"+月+"-"+日+";"+setcookie;
  992. ######搜索列表
  993. var KEY=getVar("KEY");
  994. var baseURL=e2Rex(getVar("CODE"),".json(url)");
  995. if(baseURL.search(/\.php\/.+?\.vod/)!=-1){
  996. var baseURL=baseURL.split("/vodPhbAll")[0];
  997. }else if(baseURL.search(/api\.php\/.*?\/vod/)!=-1||baseURL.indexOf("api.php/app/")!=-1||baseURL.indexOf("xgapp.php/v")!=-1){
  998. var baseURL=baseURL.match(/http.*\//)[0];
  999. }else{
  1000. var baseURL=baseURL.match(/https?:\/\/[^\/]*/)[0];
  1001. }
  1002. var TODAY=new Date();
  1003. var 年=TODAY.getFullYear();
  1004. var 月=TODAY.getMonth()+1<10?"0"+(TODAY.getMonth() + 1):TODAY.getMonth()+1;
  1005. var 日=TODAY.getDate()<10?"0"+TODAY.getDate():TODAY.getDate();
  1006. if(baseURL.indexOf("nfmovies.com")!=-1){
  1007. var UA="Mozilla/5.0";
  1008. var COOKIE="last_browse_app="+年+"-"+月+"-"+日;
  1009. }else{
  1010. var UA="Mozilla/5.0 Android";
  1011. var COOKIE="";
  1012. }
  1013. function 搜索列表(){
  1014. var res={};var items=[];var LIST=[];
  1015. if(baseURL.indexOf("zhenbuka3.com")!=-1){
  1016. if(列表.length>10){
  1017. var LIMIT=10;
  1018. }else{
  1019. var LIMIT=列表.length;
  1020. }
  1021. }else{
  1022. var LIMIT=列表.length;
  1023. }
  1024. for(var j=0;j<LIMIT;j++){
  1025. var CODE=列表[j];
  1026. var 地址=e2Rex(CODE,地址规则).indexOf("http")!=-1?e2Rex(CODE,地址规则):baseURL+e2Rex(CODE,地址规则);
  1027. if(baseURL.indexOf("zhenbuka3.com")!=-1){
  1028. var resp=getHttp(JSON.stringify({url:地址}));
  1029. var 标题=e2Rex(resp,".get(h1).t()");
  1030. var 图片=e2Rex(resp,".get(a.stui-vodlist__thumb img).a(data-original)");
  1031. var 简介=e2Rex(resp,".get(div.stui-content__detail).t()");
  1032. }else{
  1033. var 标题=e2Rex(CODE,标题规则);
  1034. var 预图片=e2Rex(CODE,图片规则);
  1035. if(预图片.indexOf("/mac:")!=-1){
  1036. var 图片="http:"+预图片.split("mac:")[1];
  1037. }else if(预图片.indexOf("=")!=-1){
  1038. var 图片=预图片.match(/.*(http.*)/)[1];
  1039. }else if(预图片.indexOf("http")!=-1){
  1040. var 图片=预图片;
  1041. }else if(预图片==""){
  1042. var 图片="https://egwang186.coding.net/p/egwang186/d/iptv/git/raw/master/js2.0/kongbai.png";
  1043. }else if(预图片.indexOf("//")!=-1){
  1044. var 图片="http:"+预图片;
  1045. }else{
  1046. var 图片=baseURL+预图片;
  1047. if(URL.indexOf("1090ys2.com")!=-1){
  1048. var 图片=图片+'@{"referer":"http://1090ys2.com/"}';
  1049. }
  1050. }
  1051. var 简介=e2Rex(CODE,简介规则);
  1052. }
  1053. LIST.push({title:标题,url:地址,img:图片,detail:简介});
  1054. }
  1055. var play_={};
  1056. play_.list=LIST;
  1057. items.push(play_);
  1058. res.data=items;
  1059. return JSON.stringify(res);
  1060. }
  1061. if(baseURL.indexOf("zxzjtv.com")!=-1||baseURL.indexOf("447k.com")!=-1||baseURL.indexOf("nfmovies.com")!=-1||baseURL.indexOf("hanmiys.com")!=-1||baseURL.indexOf("meijuchong.com")!=-1){
  1062. if(baseURL.indexOf("447k.com")!=-1){
  1063. var URL=baseURL+"/search/-------------.html?wd="+KEY+"&submit=";
  1064. }else if(baseURL.indexOf("nfmovies.com")!=-1){
  1065. var URL=baseURL+"/search.php?searchword="+KEY;
  1066. }else{
  1067. var URL=baseURL+"/vodsearch/-------------.html?wd="+KEY+"&submit=";
  1068. }
  1069. if(baseURL.indexOf("nfmovies.com")!=-1){
  1070. var 源码=JZ(JSON.stringify({url:URL,head:{"User-Agent":UA,"Cookie":COOKIE}}));
  1071. if(源码.code.indexOf("ui-vodlist__media")==-1){
  1072. var setcookie=源码.head['set-cookie'];
  1073. var 源码=JZ(JSON.stringify({url:URL,head:{"User-Agent":UA,"Cookie":COOKIE+";"+setcookie}})).code;
  1074. }
  1075. }else{
  1076. var 源码=getHttp(JSON.stringify({url:URL}));
  1077. }
  1078. if(baseURL.indexOf("zxzjtv.com")!=-1){
  1079. var 列表=e2Arr(源码,".get(ul[class~=ui-vodlist] li)");
  1080. }else{
  1081. var 列表=e2Arr(源码,".get(ul[class~=ui-vodlist__media] li)");
  1082. }
  1083. var 标题规则=".get(.title a).t()";
  1084. var 地址规则=".get(.title a).a(href)";
  1085. var 图片规则=".get(a).a(data-original)";
  1086. var 简介规则=".get(span).st().t().c().get(div.detail).t()";搜索列表();
  1087. }else if(baseURL.indexOf("gimytv.com")!=-1){
  1088. var URL=baseURL+"/search/-------------.html?wd="+KEY;
  1089. var 源码=getHttp(JSON.stringify({url:URL}));
  1090. var 列表=e2Arr(源码,".get(div#content div.details-info-min)");
  1091. var 标题规则=".get(a).a(title)";
  1092. var 地址规则=".get(a).a(href)";
  1093. var 图片规则=".get(a).a(data-original)";
  1094. var 简介规则=".get(div.details-info).t()";搜索列表();
  1095. }else if(baseURL.indexOf("zhenbuka3.com")!=-1){
  1096. var RSS=baseURL+"/rss?wd="+KEY;
  1097. var 源码=getHttp(JSON.stringify({url:RSS}));
  1098. var 列表=e2Arr(源码,".xml(url)");
  1099. var 地址规则=".xml(loc).t().z(\\S+)";搜索列表();
  1100. }else if(baseURL.indexOf("cokemv.cokemv")!=-1){
  1101. var RSS=baseURL+"/rss?wd="+KEY;
  1102. var 源码=getHttp(JSON.stringify({url:RSS}));
  1103. var 列表=e2Arr(源码,".xml(item)");
  1104. var 标题规则=".xml(title).t()";
  1105. var 地址规则=".xml(link).t().z(\\S+).th(https://##)";
  1106. var 图片规则=".get(a).a(data-original)";
  1107. var 简介规则=".xml(pubDate).t().c().xml(author).t().xml(description).t()";搜索列表();
  1108. }else if(baseURL.indexOf("bukaivip.com")!=-1||baseURL.indexOf("lkvod.com")!=-1||baseURL.indexOf("flvweb.com")!=-1||baseURL.indexOf("ikan6.vip")!=-1||baseURL.indexOf("unss.net")!=-1||baseURL.indexOf("cvcv.tv")!=-1||baseURL.indexOf("555dy1.com")!=-1||baseURL.indexOf("30dian.cn")!=-1){
  1109. if(baseURL.indexOf("bukaivip.com")!=-1){
  1110. var RSS=baseURL+"/rss?wd="+KEY;
  1111. }else if(baseURL.indexOf("flvweb.com")!=-1||baseURL.indexOf("ikan6.vip")!=-1||baseURL.indexOf("30dian.cn")!=-1||baseURL.indexOf("555dy1.com")!=-1){
  1112. var RSS=baseURL+"/index.php/rss/index.xml?wd="+KEY;
  1113. }else{
  1114. var RSS=baseURL+"/rss.xml?wd="+KEY;
  1115. }
  1116. var 源码=getHttp(JSON.stringify({url:RSS}));
  1117. if(源码.indexOf("跳转中")!=-1){
  1118. href=e2Rex(源码,".get(script).z2(\"\\(.+?\\)\")");
  1119. RSS=baseURL+href;
  1120. var 源码=getHttp(JSON.stringify({url:RSS}));
  1121. }
  1122. var 列表=e2Arr(源码,".xml(item)");
  1123. var 标题规则=".xml(title).t()";
  1124. var 地址规则=".xml(link).t().z(\\S+).th(http://www\.dd520\.cc##https://555dy1.com).th(http://www\.nkvob\.com##https://www.lkvod.com)";
  1125. var 图片规则=".get(a).a(data-original)";
  1126. var 简介规则=".xml(pubDate).t().c().xml(author).t().xml(description).t()";搜索列表();
  1127. }else if(baseURL.indexOf("ak1080.me")!=-1||baseURL.indexOf("dikotv.com")!=-1||baseURL.indexOf("jpysvip.net")!=-1||baseURL.indexOf("cokemv.me")!=-1){
  1128. var URL=baseURL+"/index.php/ajax/suggest?mid=1&wd="+KEY;
  1129. var 总源码=JZ(JSON.stringify({url:URL}));
  1130. var 源码=总源码.code;
  1131. var 列表=e2Arr(源码,".json(list)");
  1132. var 标题规则=".json(name)";
  1133. var 地址规则=".c(/voddetail/).json(id).ct(.html)";
  1134. var 图片规则=".json(pic)";
  1135. var 简介规则=".json(name)";搜索列表();
  1136. }else if(baseURL.indexOf("ys.80tvs.cn")!=-1||baseURL.indexOf("cjt521.com")!=-1||baseURL.indexOf("4kcz.com")!=-1||baseURL.indexOf("348z.com")!=-1){
  1137. if(baseURL.indexOf("4kcz.com")!=-1){
  1138. var URL=baseURL+"/vodsearch/?wd="+KEY;
  1139. }else if(baseURL.indexOf("348z.com")!=-1){
  1140. var URL=baseURL+"/vodsearch.html?wd="+KEY;
  1141. }else{
  1142. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY;
  1143. }
  1144. var 源码=getHttp(JSON.stringify({url:URL}));
  1145. var 列表=e2Arr(源码,".get(ul li.list-width)");
  1146. var 标题规则=".get(a.searchkey).t()";
  1147. var 地址规则=".get(a.searchkey).a(href)";
  1148. var 图片规则=".get(a).a(data-original)";
  1149. var 简介规则=".get(span).st().t().c().get(p).st().t()";搜索列表();
  1150. }else if(baseURL.indexOf("1090p.tk")!=-1){
  1151. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY;
  1152. var 源码=getHttp(JSON.stringify({url:URL}));
  1153. var 列表=e2Arr(源码,".get(div.ec-search li)");
  1154. var 标题规则=".get(a).a(title)";
  1155. var 地址规则=".get(a).a(href)";
  1156. var 图片规则=".get(div.eclazy).a(data-original)";
  1157. var 简介规则=".get(dic.ec-item).t()";搜索列表();
  1158. }else if(baseURL.indexOf("susou.tv")!=-1){
  1159. var URL=baseURL+"/so/?wd="+KEY;
  1160. var 源码=getHttp(JSON.stringify({url:URL}));
  1161. var 列表=e2Arr(源码,".get(ul li.list-width)");
  1162. var 标题规则=".get(a.searchkey).t()";
  1163. var 地址规则=".get(a.searchkey).a(href)";
  1164. var 图片规则=".get(a).a(data-original)";
  1165. var 简介规则=".get(span).st().t().c().get(p).st().t()";搜索列表();
  1166. }else if(baseURL.indexOf("jubaibai.cc")!=-1){
  1167. var URL=baseURL+"/vodsearch/-------------.html?wd="+KEY;
  1168. var 源码=getHttp(JSON.stringify({url:URL}));
  1169. var 列表=e2Arr(源码,".get(div.lists-content li)");
  1170. var 标题规则=".get(h2 a).t()";
  1171. var 地址规则=".get(h2 a).a(href)";
  1172. var 图片规则=".get(a).a(data-original)";
  1173. var 简介规则=".get(span).st().t()";搜索列表();
  1174. }else if(baseURL.indexOf("zjuba.com")!=-1){
  1175. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY;
  1176. var 源码=getHttp(JSON.stringify({url:URL}));
  1177. var 列表=e2Arr(源码,".get(dl.fed-deta-info)");
  1178. var 标题规则=".get(h1 a).t()";
  1179. var 地址规则=".get(h1 a).a(href)";
  1180. var 图片规则=".get(a).a(data-original)";
  1181. var 简介规则=".get(span).st().t().c().get(dd.fed-deta-content).t()";搜索列表();
  1182. }else if(baseURL.indexOf("waijumi.com")!=-1){
  1183. var URL=baseURL+"/vs/-------------.html?wd="+KEY;
  1184. var 源码=getHttp(JSON.stringify({url:URL}));
  1185. var 列表=e2Arr(源码,".get(li.hl-list-item)");
  1186. var 标题规则=".get(a).a(title)";
  1187. var 地址规则=".get(a).a(href)";
  1188. var 图片规则=".get(a).a(data-original)";
  1189. var 简介规则=".get(a).t().c().get(p.hl-item-sub).t()";搜索列表();
  1190. }else if(baseURL.indexOf("jxry.cc")!=-1){
  1191. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY;
  1192. var 总源码=JZ(JSON.stringify({url:URL}));
  1193. var 源码=总源码.code;
  1194. var 列表=e2Arr(源码,".get(div.leo-detail-wrap)");
  1195. var 标题规则=".get(h1).t()";
  1196. var 地址规则=".get(div.leo-po-ab a).a(href)";
  1197. var 图片规则=".get(img).a(src)";
  1198. var 简介规则=".get(div.leo-detail-media).t()";搜索列表();
  1199. }else if(baseURL.indexOf("yingkuya.com")!=-1){
  1200. var URL=baseURL+"/vodsearch/-------------/";
  1201. var 总源码=JZ(JSON.stringify({url:URL,post:{'wd':KEY}}));
  1202. var 源码=总源码.code;
  1203. var 列表=e2Arr(源码,".get(li.p1.m1)");
  1204. var 标题规则=".get(a).a(title)";
  1205. var 地址规则=".get(a).a(href)";
  1206. var 图片规则=".get(img).a(src)";
  1207. var 简介规则=".get(span).st().t().c().get(p).st().t()";搜索列表();
  1208. }else if(baseURL.indexOf("kkju.cc")!=-1){
  1209. var URL=baseURL+"/search/-------------.html?wd="+KEY;
  1210. var 总源码=JZ(JSON.stringify({url:URL}));
  1211. var 源码=总源码.code;
  1212. var 列表=e2Arr(源码,".get(ul.stui-vodlist li)");
  1213. var 标题规则=".get(a).a(title)";
  1214. var 地址规则=".get(a).a(href)";
  1215. var 图片规则=".get(a).a(data-original)";
  1216. var 简介规则=".get(span).st().t()";搜索列表();
  1217. }else if(baseURL.indexOf("moyuyingshi.com")!=-1){
  1218. var URL=baseURL+"/vodsearch/-------------/?wd="+KEY;
  1219. var 总源码=JZ(JSON.stringify({url:URL}));
  1220. var 源码=总源码.code;
  1221. var 列表=e2Arr(源码,".get(div.mo-info-wrap)");
  1222. var 标题规则=".get(a.dc-bold).t()";
  1223. var 地址规则=".get(a.dc-bold).a(href)";
  1224. var 图片规则=".get(img).a(data-src)";
  1225. var 简介规则=".get(span).st().t()";搜索列表();
  1226. }else if(baseURL.indexOf("cms.7a11l.cn")!=-1||baseURL.indexOf("vdxj.net")!=-1||baseURL.indexOf("jiujiukanju.com")!=-1||baseURL.indexOf("hszbj.net")!=-1||baseURL.indexOf("dcds.ml")!=-1||baseURL.indexOf("longtengzy.cn")!=-1||baseURL.indexOf("msdv.cn")!=-1||baseURL.indexOf("1080mi.com")!=-1||baseURL.indexOf("kutv.cc")!=-1||baseURL.indexOf("ekvod.com")!=-1||baseURL.indexOf("bidiys.cc")!=-1){
  1227. if(baseURL.indexOf("cms.7a11l.cn")!=-1||baseURL.indexOf("hszbj.net")!=-1||baseURL.indexOf("longtengzy.cn")!=-1||baseURL.indexOf("msdv.cn")!=-1){
  1228. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY;
  1229. }else if(baseURL.indexOf("vdxj.net")!=-1||baseURL.indexOf("ekvod.com")!=-1||baseURL.indexOf("bidiys.cc")!=-1){
  1230. var URL=baseURL+"/vodsearch/-------------/?wd="+KEY;
  1231. }else if(baseURL.indexOf("jiujiukanju.com")!=-1){
  1232. var URL=baseURL+"/search?wd="+KEY;
  1233. }else if(baseURL.indexOf("dcds.ml")!=-1){
  1234. var URL=baseURL+"/vodsearch/1.html?wd="+KEY;
  1235. }else if(baseURL.indexOf("1080mi.com")!=-1){
  1236. var URL=baseURL+"/v_search/-------------.html?wd="+KEY;
  1237. }else if(baseURL.indexOf("kutv.cc")!=-1){
  1238. var URL=baseURL+"/sou/-------------.html?wd="+KEY;
  1239. }
  1240. var 源码=getHttp(JSON.stringify({url:URL}));
  1241. var 列表=e2Arr(源码,".get(div.module-search-item)");
  1242. var 标题规则=".get(h3 a).t()";
  1243. var 地址规则=".get(h3 a).a(href)";
  1244. var 图片规则=".get(img).a(data-src)";
  1245. var 简介规则=".get(div.video-info-header).t().c().get(div.video-info-main).t().c().get(div.video-info-items).t()";搜索列表();
  1246. }else if(baseURL.indexOf("saohuotv.com")!=-1){
  1247. var URL=baseURL+"/search.php?scheckAC=check&page=&searchtype=&order=&tid=&area=&year=&letter=&yuyan=&state=&money=&ver=&jq=";
  1248. var 源码=getHttp(JSON.stringify({url:URL,post:{"body":"validate=xmjc&searchword="+KEY},head:{"Cookie":"PHPSESSID=a8utqptth3dcjm8c7tirkghemh","User-Agent":"Mozilla/5.0 Android"}}));
  1249. var 列表=源码.match(/<li>[\s]*?<div class="v_img[\s\S]*?<\/li>/g);
  1250. var 标题规则=".get(.v_title a).t()";
  1251. var 地址规则=".get(.v_title a).a(href)";
  1252. var 图片规则=".get(img).a(data-original)";
  1253. var 简介规则=".get(div.v_note).t()";搜索列表();
  1254. }else if(baseURL.indexOf("tvyb02.com")!=-1){
  1255. var URL=baseURL+"/vod/search.html?wd="+KEY+"&submit=";
  1256. var 总源码=JZ(JSON.stringify({url:URL}));
  1257. var 源码=总源码.code;
  1258. var 列表=e2Arr(源码,".get(ul#searchList li)");
  1259. var 标题规则=".get(.title a).t()";
  1260. var 地址规则=".get(.title a).a(href)";
  1261. var 图片规则=".get(a).a(data-original)";
  1262. var 简介规则=".get(span).st().t().c().get(div.detail).t()";搜索列表();
  1263. }else if(baseURL.indexOf("dijiaxia.com")!=-1){
  1264. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY+"&submit=";
  1265. var 源码=getHttp(JSON.stringify({url:URL}));
  1266. var 列表=e2Arr(源码,".get(ul[class~=ui-vodlist__media] li)");
  1267. var 标题规则=".get(.title a).t()";
  1268. var 地址规则=".get(.title a).a(href)";
  1269. var 图片规则=".get(a).a(data-original)";
  1270. var 简介规则=".get(span.pic-text).t().c().get(div.detail).t()";搜索列表();
  1271. }else if(baseURL.indexOf("czspp.com")!=-1){
  1272. var URL=baseURL+"/xssearch?q="+KEY;
  1273. var 源码=getHttp(JSON.stringify({url:URL}));
  1274. var 列表=e2Arr(源码,".get(div.bt_img li)");
  1275. var 标题规则=".get(h3 a).t()";
  1276. var 地址规则=".get(h3 a).a(href)";
  1277. var 图片规则=".get(img).a(data-original)";
  1278. var 简介规则=".get(span).st().t().c().get(p).t()";搜索列表();
  1279. }else if(baseURL.indexOf("auete.com")!=-1){
  1280. var URL=baseURL+"/search.php?searchword="+KEY;
  1281. var 源码=getHttp(JSON.stringify({url:URL}));
  1282. var 列表=e2Arr(源码,".get(ul.threadlist li)");
  1283. var 标题规则=".get(a).t()";
  1284. var 地址规则=".get(a).a(href)";
  1285. var 图片规则=".get(img).a(data-original)";
  1286. var 简介规则=".get(span).st().t()";搜索列表();
  1287. }else if(baseURL.indexOf("1090ys2.com")!=-1){
  1288. var URL=baseURL+"/search.html?wd="+KEY+"&submit=";
  1289. var RSS=baseURL+"/index.php/rss/index.xml?wd="+KEY;
  1290. var 源码=getHttp(JSON.stringify({url:RSS}));
  1291. var 列表=e2Arr(源码,".xml(item)");
  1292. var 标题规则=".xml(title).t()";
  1293. var 地址规则=".xml(link).t().z(\\S+)";
  1294. var 图片规则=".get(a).a(data-original)";
  1295. var 简介规则=".xml(pubDate).t().c().xml(author).t().xml(description).t()";搜索列表();
  1296. }else if(baseURL.indexOf("jhyun.jhdyw.vip")!=-1){
  1297. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY+"&submit=";
  1298. var 源码=getHttp(JSON.stringify({url:URL}));
  1299. var 列表=e2Arr(源码,".get(ul[class~=stui-vodlist clearfix] li)");
  1300. var 标题规则=".get(.title a).t()";
  1301. var 地址规则=".get(.title a).a(href)";
  1302. var 图片规则=".c(https://egwang186.coding.net/p/egwang186/d/iptv/git/raw/master/js2.0/jhyslogo.png).get(a).a(data-original)";
  1303. var 简介规则=".t()";搜索列表();
  1304. }else if(baseURL.search(/\.php\/.+?\.vod/)!=-1){
  1305. if(baseURL.indexOf("iopenyun.com")!=-1){
  1306. var URL=baseURL+"/list?page=1&limit=10&wd="+KEY;
  1307. }else{
  1308. var URL=baseURL+"?page=1&limit=10&wd="+KEY;
  1309. }
  1310. var 源码=getHttp(JSON.stringify({url:URL,head:{"user-agent":"okhttp/4.1.0"}}));
  1311. var 列表=e2Arr(源码,".json(data).json(list)");
  1312. var 标题规则=".json(vod_name)";
  1313. if(URL.indexOf("iopenyun.com")!=-1){
  1314. var 地址规则=".c(/detailID?vod_id=).json(vod_id)";
  1315. }else{
  1316. var 地址规则=".c(/detail?vod_id=).json(vod_id)";
  1317. }
  1318. var 图片规则=".json(vod_pic)";var 简介规则=".json(vod_remarks).c().json(vod_actor).c().json(vod_blurb)";搜索列表();
  1319. }else if(baseURL.indexOf("api.php/app")!=-1){
  1320. var URL=baseURL+"search?pg=1&text="+KEY;
  1321. var 源码=getHttp(JSON.stringify({url:URL,head:{"user-agent":"okhttp/4.1.0"}}));
  1322. if(源码.indexOf("跳转中")!=-1){
  1323. var URL=baseURL+e2Rex(源码,".z(/api\\.php/app[^\"]*).ty(api.php/app/)");
  1324. var 源码=getHttp(JSON.stringify({url:URL}));
  1325. }
  1326. var 列表=e2Arr(源码,".json(list)");
  1327. var 标题规则=".json(vod_name)";var 地址规则=".c(video_detail?id=).json(vod_id)";var 图片规则=".json(vod_pic)";var 简介规则=".json(vod_remarks).c().json(vod_time_add)";搜索列表();
  1328. }else if(baseURL.indexOf("xgapp.php/v")!=-1){
  1329. var URL=baseURL+"search?pg=1&text="+KEY;
  1330. var 源码=getHttp(JSON.stringify({url:URL,head:{"user-agent":"okhttp/4.1.0"}}));
  1331. var 列表=e2Arr(源码,".json(data)");
  1332. var 标题规则=".json(vod_name)";var 地址规则=".c(video_detail?id=).json(vod_id)";var 图片规则=".json(vod_pic)";var 简介规则=".json(vod_remarks).c().json(vod_time_add)";搜索列表();
  1333. }else if(baseURL.search(/api\.php\/.*?\/vod/)!=-1){
  1334. var URL=baseURL+"?ac=list&page=1&wd="+KEY;
  1335. var 源码=getHttp(JSON.stringify({url:URL,head:{"user-agent":"okhttp/4.1.0"}}));
  1336. var 列表=e2Arr(源码,".json(data)");
  1337. var 标题规则=".json(title)";var 地址规则=".json(nextlink)";var 图片规则=".json(pic)";var 简介规则=".json(state).c().json(type)";搜索列表();
  1338. }
  1339. ######SCOOKIE
  1340. var u=e2Rex(getVar("CODE"),".json(url)");
  1341. var TODAY=new Date();
  1342. var 年=TODAY.getFullYear();
  1343. var 月=TODAY.getMonth()+1<10?"0"+(TODAY.getMonth() + 1):TODAY.getMonth()+1;
  1344. var 日=TODAY.getDate()<10?"0"+TODAY.getDate():TODAY.getDate();
  1345. if(u.indexOf("nfmovies.com")!=-1){
  1346. var resp=JZ(JSON.stringify({url:"https://nfmovies.com/search.php",head:{"User-Agent":"Mozilla/5.0"}}));
  1347. var setcookie=resp.head['set-cookie'];
  1348. "last_browse_app="+年+"-"+月+"-"+日+";"+setcookie;
  1349. }else{
  1350. "";
  1351. }
  1352. ######SUA
  1353. var u=e2Rex(getVar("CODE"),".json(url)");
  1354. if(u.indexOf("nfmovies.com")!=-1||u.indexOf("jiujiukanju.com")!=-1){
  1355. "Mozilla/5.0";
  1356. }else if(u.indexOf("hou.lu")!=-1||u.indexOf("dxys2233.com")!=-1){
  1357. "Dart/2.13(dart:io)";
  1358. }else{
  1359. "Mozilla/5.0 Android";
  1360. }