diff --git a/JN/EXT/JS/ikanbot2.js b/JN/EXT/JS/ikanbot2.js index 56d6afc9..02273d01 100644 --- a/JN/EXT/JS/ikanbot2.js +++ b/JN/EXT/JS/ikanbot2.js @@ -5,7 +5,8 @@ try { pdfh = jsp.pdfh; VOD.vod_id = pdfh(html1, "#current_id&&value"); VOD.vod_name = pdfh(html1, "h2&&Text"); - VOD.vod_pic = pdfh(html1, ".item-root&&img&&src"); + // VOD.vod_pic = pdfh(html1, ".item-root&&img&&src"); + VOD.vod_pic = pdfh(html1, ".item-root&&img&&data-src"); VOD.vod_actor = pdfh(html1, ".celebrity&&Text"); VOD.vod_area = pdfh(html1, ".country&&Text"); VOD.vod_year = pdfh(html1, ".year&&Text"); @@ -58,7 +59,8 @@ var rule = { quickSearch:0, filterable:1, filter_url:'{{fl.tag}}', - 图片来源:'@Referer=https://api.douban.com/@User-Agent=Mozilla/5.0%20(Windows%20NT%2010.0;%20Win64;%20x64)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/113.0.0.0%20Safari/537.36', + // 图片来源:'@Referer=https://api.douban.com/@User-Agent=Mozilla/5.0%20(Windows%20NT%2010.0;%20Win64;%20x64)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/113.0.0.0%20Safari/537.36', + 图片来源:'@Referer=https://www.ikanbot.com/@User-Agent=Mozilla/5.0%20(Windows%20NT%2010.0;%20Win64;%20x64)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/113.0.0.0%20Safari/537.36', filter:{ "movie":[{"key":"tag","name":"标签","value":[{"n":"热门","v":"热门"},{"n":"最新","v":"最新"},{"n":"经典","v":"经典"},{"n":"豆瓣高分","v":"豆瓣高分"},{"n":"冷门佳片","v":"冷门佳片"},{"n":"华语","v":"华语"},{"n":"欧美","v":"欧美"},{"n":"韩国","v":"韩国"},{"n":"日本","v":"日本"},{"n":"动作","v":"动作"},{"n":"喜剧","v":"喜剧"},{"n":"爱情","v":"爱情"},{"n":"科幻","v":"科幻"},{"n":"悬疑","v":"悬疑"},{"n":"恐怖","v":"恐怖"},{"n":"治愈","v":"治愈"},{"n":"豆瓣top250","v":"豆瓣top250"}]}] ,"tv":[{"key":"tag","name":"标签","value":[{"n":"热门","v":"热门"},{"n":"美剧","v":"美剧"},{"n":"英剧","v":"英剧"},{"n":"韩剧","v":"韩剧"},{"n":"日剧","v":"日剧"},{"n":"国产剧","v":"国产剧"},{"n":"港剧","v":"港剧"},{"n":"日本动画","v":"日本动画"},{"n":"综艺","v":"综艺"},{"n":"纪录片","v":"纪录片"}]}] @@ -90,7 +92,8 @@ var rule = { play_parse:true, double:true, 推荐:'.v-list;div.item;*;*;*;*', //这里可以为空,这样点播不会有内容 - 一级:'.v-list&&div.item;p&&Text;img&&src;;a&&href', //一级的内容是推荐或者点播时候的一级匹配 + // 一级:'.v-list&&div.item;p&&Text;img&&src;;a&&href', //一级的内容是推荐或者点播时候的一级匹配 + 一级:'.v-list&&div.item;p&&Text;img&&data-src;;a&&href', //一级的内容是推荐或者点播时候的一级匹配 二级:二级, - 搜索:'#search-result&&.media;h5&&a&&Text;a&&img&&src;.label&&Text;a&&href',//第三个是描述,一般显示更新或者完结 + 搜索:'#search-result&&.media;h5&&a&&Text;a&&img&&data-src;.label&&Text;a&&href',//第三个是描述,一般显示更新或者完结 } \ No newline at end of file diff --git a/JN/EXT/JS/新片场.js b/JN/EXT/JS/新片场.js index 9424d59c..ef3fa3c9 100644 --- a/JN/EXT/JS/新片场.js +++ b/JN/EXT/JS/新片场.js @@ -36,15 +36,21 @@ var rule = { timeout:5000,//网站的全局请求超时,默认是3000毫秒 class_parse: '.flex-wrap.ml-8&&.rounded;.px-3&&Text;a&&href;.*/\\w+-(\\d+)', play_parse:true, - lazy:'', + lazy:`js: + let html=request(input); + let json=JSON.parse(jsp.pdfh(html, "#__NEXT_DATA__&&Html")).props.pageProps.detail.video.content; + input = json.progressive[0].https_url; + `, limit:6, double: true, // 推荐内容是否双层定位 推荐: '*', // 一级: 'body&&.YcskN;img&&alt;img&&src;.list-remarks&&Text;a&&href', // 一级: 'body&&.ikELow;img&&alt;img&&src;.px-3.text-xs&&Text;a&&href', - 一级: 'body&&.gVZugC;img&&alt;img&&src;.px-3.text-xs&&Text;a&&href', + // 一级: 'body&&.gVZugC;img&&alt;img&&src;.px-3.text-xs&&Text;a&&href', + 一级: 'body&&.jPyYqP;img&&alt;img&&src;.px-3.text-xs&&Text;a&&href', 二级: '*', // 搜索: 'body&&.w-full.h-auto;*;*;.text-white&&Text&&Text;*', - 搜索: 'body&&.sc-f4e5405b-0;*;*;*;*', + // 搜索: 'body&&.sc-f4e5405b-0;*;*;*;*', + 搜索: '*', } \ No newline at end of file diff --git a/JN/EXT/JS/看看剧[V2].js b/JN/EXT/JS/看看剧[V2].js index 98d78d77..713a1a9a 100644 --- a/JN/EXT/JS/看看剧[V2].js +++ b/JN/EXT/JS/看看剧[V2].js @@ -44,9 +44,9 @@ try { var rule = { title: '看看剧[V2]', // csp_AppYsV2 - // host: 'https://www.kankanju.cc', - host: 'https://www.kankanju.vip', - hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"a:eq(0)&&href");print(src);HOST=src', + host: 'https://www.kankanju.cc', + // host: 'https://www.kankanju.vip', + // hostJs:'print(HOST);let html=request(HOST,{headers:{"User-Agent":PC_UA}});let src=jsp.pdfh(html,"a:eq(0)&&href");print(src);HOST=src', homeUrl:'/api.php/app/index_video', url: '/api.php/app/video?tid=fyclassfyfilter&limit=18&pg=fypage', filter_url:'&class={{fl.class}}&area={{fl.area}}&lang={{fl.lang}}&year={{fl.year}}',