万物生-搜索列表.txt 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. var KEY=getVar("KEY");
  2. var baseURL=e2Rex(getVar("CODE"),".json(url)");
  3. if(baseURL.indexOf("v1.vod/vodPhbAll")!=-1){
  4. var baseURL=baseURL.split("/vodPhbAll")[0];
  5. }else if(baseURL.indexOf("api.php/app/")!=-1){
  6. var baseURL=baseURL.match(/http.*\//)[0];
  7. }else if(baseURL.indexOf("api.php/iptv/vod")!=-1){
  8. var baseURL=baseURL.split("?ac=list")[0];
  9. }
  10. var TODAY=new Date();
  11. var 年=TODAY.getFullYear();
  12. var 月=TODAY.getMonth()+1<10?"0"+(TODAY.getMonth() + 1):TODAY.getMonth()+1;
  13. var 日=TODAY.getDate()<10?"0"+TODAY.getDate():TODAY.getDate();
  14. if(baseURL.indexOf("nfmovies.com")!=-1){
  15. var UA="Mozilla/5.0";
  16. var COOKIE="last_browse_app="+年+"-"+月+"-"+日;
  17. }else{
  18. var UA="Mozilla/5.0 Android";
  19. var COOKIE="";
  20. }
  21. function 搜索列表(){
  22. var res={};var items=[];var LIST=[];
  23. if(baseURL.indexOf("zhenbuka2.com")!=-1){
  24. if(列表.length>10){
  25. var LIMIT=10;
  26. }else{
  27. var LIMIT=列表.length;
  28. }
  29. }else{
  30. var LIMIT=列表.length;
  31. }
  32. for(var j=0;j<LIMIT;j++){
  33. if(baseURL.indexOf("api.php/v1.vod")!=-1||baseURL.indexOf("api.php/app")!=-1){
  34. var CODE=JSON.stringify(列表[j]);
  35. }else{
  36. var CODE=列表[j];
  37. }
  38. var 地址=e2Rex(CODE,地址规则).indexOf("http")!=-1?e2Rex(CODE,地址规则):baseURL+e2Rex(CODE,地址规则);
  39. if(baseURL.indexOf("zhenbuka3.com")!=-1){
  40. var resp=getHttp(JSON.stringify({url:地址}));
  41. var 标题=e2Rex(resp,".get(h1).t()");
  42. var 图片=e2Rex(resp,".get(a.stui-vodlist__thumb img).a(data-original)");
  43. var 简介=e2Rex(resp,".get(div.stui-content__detail).t()");
  44. }else{
  45. var 标题=e2Rex(CODE,标题规则);
  46. var 预图片=e2Rex(CODE,图片规则);
  47. if(预图片.indexOf("/mac:")!=-1){
  48. var 图片="http:"+预图片.split("mac:")[1];
  49. }else if(预图片.indexOf("=")!=-1){
  50. var 图片=预图片.match(/.*(http.*)/)[1];
  51. }else if(预图片.indexOf("http")!=-1){
  52. var 图片=预图片;
  53. }else if(预图片==""){
  54. var 图片="https://egwang186.coding.net/p/egwang186/d/iptv/git/raw/master/js2.0/kongbai.png";
  55. }else if(预图片.indexOf("//")!=-1){
  56. var 图片="http:"+预图片;
  57. }else{
  58. var 图片=baseURL+预图片;
  59. }
  60. var 简介=e2Rex(CODE,简介规则);
  61. }
  62. LIST.push({title:标题,url:地址,img:图片,detail:简介});
  63. }
  64. var play_={};
  65. play_.list=LIST;
  66. items.push(play_);
  67. res.data=items;
  68. return JSON.stringify(res);
  69. }
  70. if(baseURL.indexOf("ikan6.vip")!=-1||baseURL.indexOf("zxzj.me")!=-1||baseURL.indexOf("447k.com")!=-1||baseURL.indexOf("unss.net")!=-1||baseURL.indexOf("nfmovies.com")!=-1){
  71. if(baseURL.indexOf("447k.com")!=-1){
  72. var URL=baseURL+"/search/-------------.html?wd="+KEY+"&submit=";
  73. }else if(baseURL.indexOf("nfmovies.com")!=-1){
  74. var URL=baseURL+"/search.php?searchword="+KEY;
  75. }else if(baseURL.indexOf("ikan6.vip")!=-1){
  76. var URL=baseURL+"/vodsearch/-------------/?wd="+KEY+"&submit=";
  77. }else{
  78. var URL=baseURL+"/vodsearch/-------------.html?wd="+KEY+"&submit=";
  79. }
  80. if(baseURL.indexOf("nfmovies.com")!=-1){
  81. var 源码=JZ(JSON.stringify({url:URL,head:{"User-Agent":UA,"Cookie":COOKIE}}));
  82. if(源码.code.indexOf("ui-vodlist__media")==-1){
  83. var setcookie=源码.head['set-cookie'];
  84. var 源码=JZ(JSON.stringify({url:URL,head:{"User-Agent":UA,"Cookie":COOKIE+";"+setcookie}})).code;
  85. }
  86. }else{
  87. var 源码=getHttp(JSON.stringify({url:URL}));
  88. }
  89. if(baseURL.indexOf("zxzj.me")!=-1){
  90. var 列表=e2Arr(源码,".get(ul[class~=ui-vodlist] li)");
  91. }else{
  92. var 列表=e2Arr(源码,".get(ul[class~=ui-vodlist__media] li)");
  93. }
  94. var 标题规则=".get(.title a).t()";
  95. var 地址规则=".get(.title a).a(href)";
  96. var 图片规则=".get(a).a(data-original)";
  97. var 简介规则=".get(span).st().t().c().get(div.detail).t()";搜索列表();
  98. }else if(baseURL.indexOf("zhenbuka3.com")!=-1){
  99. var URL=baseURL+"/vodsearch/-------------.html?wd="+KEY+"&submit=";
  100. var RSS=baseURL+"/rss?wd="+KEY;
  101. var 源码=getHttp(JSON.stringify({url:RSS}));
  102. var 列表=e2Arr(源码,".xml(url)");
  103. var 地址规则=".xml(loc).t().z(\\S+)";搜索列表();
  104. }else if(baseURL.indexOf("cokemv.co")!=-1){
  105. var URL=baseURL+"/vodsearch/-------------.html?wd="+KEY+"&submit=";
  106. var RSS=baseURL+"/rss?wd="+KEY;
  107. var 源码=getHttp(JSON.stringify({url:RSS}));
  108. var 列表=e2Arr(源码,".xml(item)");
  109. var 标题规则=".xml(title).t()";
  110. var 地址规则=".xml(link).t().z(\\S+).th(https://##)";
  111. var 图片规则=".get(a).a(data-original)";
  112. var 简介规则=".xml(pubDate).t().c().xml(author).t().xml(description).t()";搜索列表();
  113. }else if(baseURL.indexOf("bukaivip.com")!=-1||baseURL.indexOf("nkvod.com")!=-1||baseURL.indexOf("jpysvip.net")!=-1){
  114. if(baseURL.indexOf("bukaivip.com")!=-1){
  115. var RSS=baseURL+"/rss?wd="+KEY;
  116. }else if(baseURL.indexOf("jpysvip.net")!=-1){
  117. var RSS=baseURL+"/index.php/rss/index.xml?wd="+KEY;
  118. }else{
  119. var RSS=baseURL+"/rss.xml?wd="+KEY;
  120. }
  121. var 源码=getHttp(JSON.stringify({url:RSS}));
  122. var 列表=e2Arr(源码,".xml(item)");
  123. var 标题规则=".xml(title).t()";
  124. var 地址规则=".xml(link).t().z(\\S+)";
  125. var 图片规则=".get(a).a(data-original)";
  126. var 简介规则=".xml(pubDate).t().c().xml(author).t().xml(description).t()";搜索列表();
  127. }else if(baseURL.indexOf("flvweb.com")!=-1){
  128. var URL=baseURL+"/index.php/vod/search/page/1/wd/"+KEY+".html";
  129. var 总源码=JZ(JSON.stringify({url:URL}));
  130. var 源码=总源码.code;
  131. var 列表=e2Arr(源码,".get(ul#searchList li)");
  132. var 标题规则=".get(.title a).t()";
  133. var 地址规则=".get(.title a).a(href)";
  134. var 图片规则=".get(a).a(data-original)";
  135. var 简介规则=".get(span.pic-text).t().c().get(div.detail).t()";搜索列表();
  136. }else if(baseURL.indexOf("ak1080.me")!=-1){
  137. var URL=baseURL+"/vodsearch/"+KEY+"----------1---.html";
  138. var 总源码=JZ(JSON.stringify({url:URL}));
  139. var 源码=总源码.code;
  140. var 列表=e2Arr(源码,".get(dl.mo-deta-info.mo-cols-rows)");
  141. var 标题规则=".get(h1 a).t()";
  142. var 地址规则=".get(h1 a).a(href)";
  143. var 图片规则=".get(a).a(data-original)";
  144. var 简介规则=".get(span).t().c().get(li).st().t()";搜索列表();
  145. }else if(baseURL.indexOf("ys.80tvs.cn")!=-1){
  146. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY;
  147. var 源码=getHttp(JSON.stringify({url:URL}));
  148. var 列表=e2Arr(源码,".get(ul li.list-width)");
  149. var 标题规则=".get(a.searchkey).t()";
  150. var 地址规则=".get(a.searchkey).a(href)";
  151. var 图片规则=".get(a).a(data-original)";
  152. var 简介规则=".get(span).st().t().c().get(p).st().t()";搜索列表();
  153. }else if(baseURL.indexOf("zjuba.com")!=-1){
  154. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY;
  155. var 源码=getHttp(JSON.stringify({url:URL}));
  156. var 列表=e2Arr(源码,".get(dl.fed-deta-info)");
  157. var 标题规则=".get(h1 a).t()";
  158. var 地址规则=".get(h1 a).a(href)";
  159. var 图片规则=".get(a).a(data-original)";
  160. var 简介规则=".get(span).st().t().c().get(dd.fed-deta-content).t()";搜索列表();
  161. }else if(baseURL.indexOf("jxry.cc")!=-1||baseURL.indexOf("cjt521.com")!=-1){
  162. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY;
  163. var 总源码=JZ(JSON.stringify({url:URL}));
  164. var 源码=总源码.code;
  165. var 列表=e2Arr(源码,".get(div.leo-detail-wrap)");
  166. var 标题规则=".get(h1).t()";
  167. var 地址规则=".get(div.leo-po-ab a).a(href)";
  168. var 图片规则=".get(img).a(src)";
  169. var 简介规则=".get(div.leo-detail-media).t()";搜索列表();
  170. }else if(baseURL.indexOf("cms.7a11l.cn")!=-1||baseURL.indexOf("moyuyingshi.com")!=-1||baseURL.indexOf("vdxj.net")!=-1||baseURL.indexOf("jiujiuyingshi.xyz")!=-1||baseURL.indexOf("hszbj.net")!=-1||baseURL.indexOf("dcds.ml")!=-1){
  171. if(baseURL.indexOf("cms.7a11l.cn")!=-1||baseURL.indexOf("hszbj.net")!=-1){
  172. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY;
  173. }else if(baseURL.indexOf("moyuyingshi.com")!=-1||baseURL.indexOf("vdxj.net")!=-1){
  174. var URL=baseURL+"/vodsearch/-------------/?wd="+KEY;
  175. }else if(baseURL.indexOf("jiujiuyingshi.xyz")!=-1){
  176. var URL=baseURL+"/search?wd="+KEY;
  177. }else if(baseURL.indexOf("dcds.ml")!=-1){
  178. var URL=baseURL+"/vodsearch/1.html?wd="+KEY;
  179. }
  180. var 源码=getHttp(JSON.stringify({url:URL}));
  181. var 列表=e2Arr(源码,".get(div.module-search-item)");
  182. var 标题规则=".get(h3 a).t()";
  183. var 地址规则=".get(h3 a).a(href)";
  184. var 图片规则=".get(img).a(data-src)";
  185. var 简介规则=".get(div.video-info-header).t().c().get(div.video-info-main).t().c().get(div.video-info-items).t()";搜索列表();
  186. }else if(baseURL.indexOf("saohuotv.com")!=-1){
  187. var URL=baseURL+"/search.php?searchword="+KEY;
  188. var 源码=getHttp(JSON.stringify({url:URL}));
  189. var 列表=源码.match(/<li>[\s]*?<div class="v_img[\s\S]*?<\/li>/g);
  190. var 标题规则=".get(.v_title a).t()";
  191. var 地址规则=".get(.v_title a).a(href)";
  192. var 图片规则=".get(img).a(data-original)";
  193. var 简介规则=".get(div.v_note).t()";搜索列表();
  194. }else if(baseURL.indexOf("tvyb02.com")!=-1||baseURL.indexOf("9ehao.com")!=-1){
  195. if(baseURL.indexOf("9ehao.com")!=-1){
  196. var URL=baseURL+"/soso9e9e.html?wd="+KEY+"&submit=";
  197. }else{
  198. var URL=baseURL+"/vod/search.html?wd="+KEY+"&submit=";
  199. }
  200. var 总源码=JZ(JSON.stringify({url:URL}));
  201. var 源码=总源码.code;
  202. var 列表=e2Arr(源码,".get(ul#searchList li)");
  203. var 标题规则=".get(.title a).t()";
  204. var 地址规则=".get(.title a).a(href)";
  205. var 图片规则=".get(a).a(data-original)";
  206. var 简介规则=".get(span).st().t().c().get(div.detail).t()";搜索列表();
  207. }else if(baseURL.indexOf("dijiaxia.com")!=-1){
  208. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY+"&submit=";
  209. var 源码=getHttp(JSON.stringify({url:URL}));
  210. var 列表=e2Arr(源码,".get(ul[class~=ui-vodlist__media] li)");
  211. var 标题规则=".get(.title a).t()";
  212. var 地址规则=".get(.title a).a(href)";
  213. var 图片规则=".get(a).a(data-original)";
  214. var 简介规则=".get(span.pic-text).t().c().get(div.detail).t()";搜索列表();
  215. }else if(baseURL.indexOf("qianoo.cn")!=-1){
  216. var URL=baseURL+"/?s="+KEY;
  217. var 源码=getHttp(JSON.stringify({url:URL}));
  218. var 列表=e2Arr(源码,".get(div.bt_img li)");
  219. var 标题规则=".get(h3 a).t()";
  220. var 地址规则=".get(h3 a).a(href)";
  221. var 图片规则=".get(img).a(data-original)";
  222. var 简介规则=".get(span).st().t().c().get(p).t()";搜索列表();
  223. }else if(baseURL.indexOf("1090ys2.com")!=-1){
  224. var URL=baseURL+"/search.html?wd="+KEY+"&submit=";
  225. var RSS=baseURL+"/index.php/rss/index.xml?wd="+KEY;
  226. var 源码=getHttp(JSON.stringify({url:RSS}));
  227. var 列表=e2Arr(源码,".xml(item)");
  228. var 标题规则=".xml(title).t()";
  229. var 地址规则=".xml(link).t().z(\\S+)";
  230. var 图片规则=".get(a).a(data-original)";
  231. var 简介规则=".xml(pubDate).t().c().xml(author).t().xml(description).t()";搜索列表();
  232. }else if(baseURL.indexOf("jhyun.jhdyw.vip")!=-1){
  233. var URL=baseURL+"/index.php/vod/search.html?wd="+KEY+"&submit=";
  234. var 源码=getHttp(JSON.stringify({url:URL}));
  235. var 列表=e2Arr(源码,".get(ul[class~=stui-vodlist clearfix] li)");
  236. var 标题规则=".get(.title a).t()";
  237. var 地址规则=".get(.title a).a(href)";
  238. var 图片规则=".c(https://egwang186.coding.net/p/egwang186/d/iptv/git/raw/master/js2.0/jhyslogo.png).get(a).a(data-original)";
  239. var 简介规则=".t()";搜索列表();
  240. }else if(baseURL.indexOf("v1.vod")!=-1){
  241. var URL=baseURL+"?page=1&limit=10&wd="+KEY;
  242. var 源码=getHttp(JSON.stringify({url:URL}));
  243. var 列表=JSON.parse(源码.replace(/<.*?>/g,"").replace(/[\s]*/g,"")).data.list;
  244. var 标题规则=".json(vod_name)";var 地址规则=".c(/detail?vod_id=).json(vod_id)";var 图片规则=".json(vod_pic)";var 简介规则=".json(vod_remarks).c().json(vod_actor).c().json(vod_blurb)";搜索列表();
  245. }else if(baseURL.indexOf("api.php/app")!=-1){
  246. var URL=baseURL+"search?pg=1&text="+KEY;
  247. var 源码=getHttp(JSON.stringify({url:URL}));
  248. if(源码.indexOf("跳转中")!=-1){
  249. var URL=baseURL+e2Rex(源码,".z(/api\\.php/app[^\"]*).ty(api.php/app/)");
  250. var 源码=getHttp(JSON.stringify({url:URL}));
  251. }
  252. var 列表=JSON.parse(源码.replace(/<.*?>/g,"").replace(/[\s]*/g,"")).list;
  253. 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)";搜索列表();
  254. }else if(baseURL.indexOf("api.php/iptv/vod")!=-1||baseURL.indexOf("api.php/lh/vod")!=-1){
  255. var URL=baseURL+"?ac=list&page=1&wd="+KEY;
  256. var 源码=getHttp(JSON.stringify({url:URL}));
  257. var 列表=e2Arr(源码,".json(data)");
  258. var 标题规则=".json(title)";var 地址规则=".json(nextlink)";var 图片规则=".json(pic)";var 简介规则=".json(state).c().json(type)";搜索列表();
  259. }