diff --git a/js/ikanbot2.js b/js/ikanbot2.js index bc1f1cb..80168c8 100644 --- a/js/ikanbot2.js +++ b/js/ikanbot2.js @@ -19,7 +19,12 @@ VOD.vod_name = pdfh(html1, "h2&&Text"); VOD.vod_content = ""; log(VOD); input = "https://www.ikanbot.com/api/getResN?videoId=" + input.split("/").pop() + "&mtype=2"; - let html = request(input); + let html = request(input, { + headers: { + 'User-Agent':'PC_UA', + 'Referer': input, + } + }); print(html); html = JSON.parse(html); let episodes = html.data.list; diff --git a/js/ikanbot3.js b/js/ikanbot3.js index a99ef0e..4de5992 100644 --- a/js/ikanbot3.js +++ b/js/ikanbot3.js @@ -18,7 +18,12 @@ try { VOD.vod_content = ""; log(VOD); input = "https://www.ikanbot.com/api/getResN?videoId=" + input.split("/").pop() + "&mtype=2"; - let html = request(input); + let html = request(input, { + headers: { + 'User-Agent':'PC_UA', + 'Referer': input, + } + }); print(html); html = JSON.parse(html); let episodes = html.data.list; diff --git a/js/version.txt b/js/version.txt index a2fa8e5..48b822d 100644 --- a/js/version.txt +++ b/js/version.txt @@ -1 +1 @@ -3.9.47beta28 \ No newline at end of file +3.9.47beta29 \ No newline at end of file diff --git a/js/蘑菇.js b/js/蘑菇.js index c9c22ac..0437a88 100644 --- a/js/蘑菇.js +++ b/js/蘑菇.js @@ -1,16 +1,16 @@ /* -永久地址发布 https://www.gvideo.me/label/web.html (失效) -域名1:https://www.moguys.xyz -域名2:https://www.gvideo.me (维护中) -域名3:https://www.movie4k.pro (失效) +永久地址发布 https://www.moguys.xyz +域名1:https://www.muguys.com +域名2:https://www.movie4k.vip */ muban.mxone5.二级.title = 'h1&&Text;.video-info-aux&&Text'; muban.mxone5.二级.desc = '.video-info-items:eq(4)&&Text;;;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text'; var rule = { title:'蘑菇', 模板:'mxone5', - host:'https://www.moguys.xyz', - // host:'https://www.moguys.xyz/label/web.html', + host:'https://www.muguys.com', + // host:'https://www.movie4k.vip', + // host:'https://www.moguys.xyz', // hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"p:eq(0)&&a:eq(0)&&href");print(src);HOST=src', url:'/vodshow/fyfilter.html', // homeUrl:'/vodshow/13--score---------.html', @@ -40,10 +40,14 @@ var rule = { 'User-Agent':'PC_UA' }, // class_parse: '.library-list&&a;a&&Text;a&&href;/(\\d+)', - class_parse: 'div.subw500&&a;a&&title;a&&href;/(\\d+)', + // class_parse: 'div.subw500&&a;a&&title;a&&href;/(\\d+)', + class_parse: 'ul.grid-items&&li;a&&title;a&&href;/(\\d+).html', lazy:`js: var html = JSON.parse(request(input).match(/r player_.*?=(.*?){d.push({title:pdfh(it,".name&&Text"),desc:"🎤"+pdfh(it,".singer&&Text")+"|"+pdfh(it,".time&&Text"),pic_url:pd(it,"img&&src"),url:pd(it,"a&&href"),})});setResult(d);', 二级:'*', 搜索:'.video_list&&li;a&&title;;.singer&&Text;a&&href;.t_03:eq(1)&&Text', -} +} \ No newline at end of file